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

52 lines
1.2 KiB

2 months ago
  1. // 伴宠师-合伙人工作台内部流程
  2. import request from '@/utils/request'
  3. // 合伙人工作台 - 获取bannerList
  4. export const getLicenseList = () => {
  5. return request({
  6. url: '/applet/examination/licenseList',
  7. method: "get"
  8. }).then(res => {
  9. return res.data
  10. })
  11. }
  12. // 合伙人工作台 - 绑定二维码
  13. export const hhrCode = (appUserId) => {
  14. return request({
  15. url: `/applet/workOut/hhrCode/${appUserId}`,
  16. method: "get"
  17. }).then(res => {
  18. return res.data
  19. })
  20. }
  21. // 合伙人工作台 - 绑定用户基础信息
  22. export const hhrInfo = (appUserId) => {
  23. return request({
  24. url: `/applet/workOut/hhrInfo/${appUserId}`,
  25. method: "get"
  26. }).then(res => {
  27. return res.data
  28. })
  29. }
  30. // 合伙人工作台 - 根据用户标识查询用户下单详细信息
  31. export const hhrMyUserGetById = (appUserId) => {
  32. return request({
  33. url: `/applet/workOut/hhrMyUserGetById/${appUserId}`,
  34. method: "get"
  35. }).then(res => {
  36. return res.data
  37. })
  38. }
  39. // 合伙人工作台 - 我的用户列表 0 未下单 1已下单
  40. export const hhrMyUserGetById = (data) => {
  41. return request({
  42. url: '/applet/workOut/hhrMyUserList',
  43. method: "post",
  44. data
  45. }).then(res => {
  46. return res.data
  47. })
  48. }