You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
566 B

1 week ago
  1. import request from '@/utils/request'
  2. // 服务档案详情
  3. export function getServiceInfo(id){
  4. return request({
  5. url: `/h5/ums/petCare/${id}`,
  6. headers:{ "isToken":true},
  7. method: 'get'
  8. })
  9. }
  10. // 新增服务档案信息
  11. export function addServiceInfo(data){
  12. return request({
  13. url: `/h5/ums/petCare`,
  14. headers:{ "isToken":true},
  15. method: 'post',
  16. data:data
  17. })
  18. }
  19. // 修改服务档案信息
  20. export function updateServiceInfo(data){
  21. return request({
  22. url: `/h5/ums/petCare`,
  23. headers:{ "isToken":true},
  24. method: 'put',
  25. data:data
  26. })
  27. }