index.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. * 商家信息 介绍人 w
  22. */
  23. export const merchantDet = data => {
  24. return https.get('/merchant/detail', data)
  25. }
  26. /** *
  27. * 申请试用 w
  28. */
  29. export const applyRegister = data => {
  30. return https.get('/apply/register', data)
  31. }
  32. // 获取验证码 w
  33. export const sendSmsW = param => https.get('/inform-user/send-sms', param)
  34. // 地区和腾讯KEY w
  35. export const regionTreeW = param => https.get('/region/tree', param)
  36. /** *
  37. * 登陆客户的帐号信息(到期时间) w
  38. */
  39. export const accountDet = data => {
  40. return https.get('/merchant/login-account', data)
  41. }
  42. /** *
  43. * 开始授权 w
  44. */
  45. export const getAuthUrl = data => {
  46. return https.get('/wx-open/get-auth-url', data)
  47. }