猫妈狗爸伴宠师小程序前端代码
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.

61 lines
1.3 KiB

2 months ago
2 months ago
  1. // 小程序-配置信息
  2. import request from '@/utils/request'
  3. // 小程序-配置信息列表数据查询
  4. export function getConfigList() {
  5. return request({
  6. 'url': '/applet/config/configList',
  7. 'method': 'get'
  8. }).then(res => {
  9. return res.data
  10. })
  11. }
  12. // 小程序-增值服务列表数据查询
  13. export function increaseServiceList() {
  14. return request({
  15. 'url': '/applet/config/increaseServiceList',
  16. 'method': 'get'
  17. }).then(res => {
  18. return res.data
  19. })
  20. }
  21. // 小程序-平台&服务介绍列表数据查询
  22. export function serviceList() {
  23. return request({
  24. 'url': '/applet/config/serviceList',
  25. 'method': 'get'
  26. }).then(res => {
  27. return res.data
  28. })
  29. }
  30. // 小程序-服务培训列表数据查询
  31. export function trainList() {
  32. return request({
  33. 'url': '/applet/config/trainList',
  34. 'method': 'get'
  35. }).then(res => {
  36. return res.data
  37. })
  38. }
  39. // 伴宠师工作台-查询宠物类型列表
  40. export const getPetTypeList = () => {
  41. return request({
  42. url: '/applet/examination/petTypeList',
  43. method: "get"
  44. }).then(res => {
  45. return res.data
  46. })
  47. }
  48. // 伴宠师工作台-增值服务列表数据查询
  49. export const getIncreaseServiceList = () => {
  50. return request({
  51. url: '/applet/config/increaseServiceList',
  52. method: "get"
  53. }).then(res => {
  54. return res.data
  55. })
  56. }