index.ts 310 B

123456789101112131415
  1. import request from '@/config/axios'
  2. export const updateBpmSimpleModel = async (data) => {
  3. return await request.post({
  4. url: '/bpm/model/simple/update',
  5. data: data
  6. })
  7. }
  8. export const getBpmSimpleModel = async (id) => {
  9. return await request.get({
  10. url: '/bpm/model/simple/get?id=' + id
  11. })
  12. }