basic.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. *@des 公用基础
  3. *@author stav stavyan@qq.com
  4. *@blog https://stavtop.club
  5. *@date 2019/11/19 14:56:57
  6. *@param registerByPass
  7. */
  8. // 获取省市区列表
  9. const provinceList = '/tiny-shop/v1/common/provinces/index';
  10. // 收藏礼品
  11. const collectCreate = '/tiny-shop/v1/common/collect/create';
  12. // 删除收藏礼品
  13. const collectDel = '/tiny-shop/v1/common/collect/delete';
  14. // 分享/转发
  15. const transmitCreate = '/tiny-shop/v1/common/transmit/create';
  16. // 广告
  17. const advList = '/tiny-shop/v1/common/adv/index';
  18. const advView = '/tiny-shop/v1/common/adv/view';
  19. // 配置
  20. const configList = '/tiny-shop/v1/common/config/index';
  21. // 充值
  22. const payCreate = '/tiny-shop/v1/common/pay/create';
  23. // 充值配置
  24. const wechatConfig = '/tiny-shop/v1/third-party/wechat-js-sdk';
  25. // 公告
  26. // 公告列表
  27. const notifyAnnounceIndex = '/tiny-shop/v1/common/notify-announce/index';
  28. // 公告详情
  29. const notifyAnnounceView = '/tiny-shop/v1/common/notify-announce/view';
  30. // 版本检测
  31. const versionsIndex = '/app-versions/versions/index';
  32. // 版本检测
  33. const pickupPointIndex = '/tiny-shop/v1/common/pickup-point/index';
  34. // 站点帮助-列表
  35. const helperIndex = '/tiny-shop/v1/common/helper/index';
  36. // 站点帮助-详情
  37. const helperView = '/tiny-shop/v1/common/helper/view';
  38. // 设备绑定(app推送)
  39. const bindingEquipment = '/tiny-shop/v1/member/auth/binding-equipment';
  40. // 查询绑定状态
  41. const authIsBinding = '/tiny-shop/v1/member/auth/is-binding';
  42. // 第三方绑定
  43. const authCreate = '/tiny-shop/v1/member/auth/create';
  44. export {
  45. provinceList,
  46. collectCreate,
  47. collectDel,
  48. transmitCreate,
  49. advList,
  50. advView,
  51. payCreate,
  52. configList,
  53. wechatConfig,
  54. notifyAnnounceIndex,
  55. notifyAnnounceView,
  56. versionsIndex,
  57. pickupPointIndex,
  58. helperIndex,
  59. helperView,
  60. bindingEquipment,
  61. authIsBinding,
  62. authCreate
  63. };