index.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. /** *
  3. * 查看套餐详情 w
  4. */
  5. export const getMealDet = data => {
  6. return https.get('/set-meal/get-detail', data)
  7. }
  8. /** *
  9. * 购买套餐 w
  10. */
  11. export const renewWxPay = data => {
  12. return https.get('/renew/wx-pay', data)
  13. }
  14. /** *
  15. * 当前审核申请状态 w
  16. */
  17. export const applyStatus = data => {
  18. return https.get('/apply/apply-status', data)
  19. }
  20. /** *
  21. * 申请
  22. */
  23. export const applyRegister = data => {
  24. return https.post('/apply/register', data)
  25. }
  26. // 获取验证码 w
  27. export const sendSmsW = param => https.get('/inform-user/send-sms', param)
  28. // 地区和腾讯KEY b w
  29. export const regionTree = param => https.get('/region/tree', param)
  30. /** *
  31. * 登录客户的帐号信息(到期时间) w
  32. */
  33. export const accountDet = data => {
  34. return https.get('/merchant/login-account', data)
  35. }
  36. /** *
  37. * 开始授权 w
  38. */
  39. export const getAuthUrl = data => {
  40. return https.get('/wx-open/get-auth-url', data)
  41. }
  42. /** *
  43. * 开始授权 w
  44. */
  45. export const getIntroduce = data => {
  46. return https.get('/merchant/introduce-shop', data)
  47. }
  48. export const recentShop = data => {
  49. return https.get('/admin/recent-shop', data)
  50. }