耀实惠小程序
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.

496 lines
14 KiB

  1. /**
  2. * 接口列表文件
  3. */
  4. export default {
  5. // login:{url:'hanhai/api/applet/login',auth:false,method:'GET',headers:{'content-type':'application/json'}},
  6. /**
  7. * 登录
  8. */
  9. login:{url:'api/applet/login', auth:false, method:'GET'},
  10. /**
  11. * 微信支付 -- 微信
  12. */
  13. Pay:{url:'api/pay/xcx', auth:true, method:'GET'},
  14. /**
  15. * 微信支付 -- 充值
  16. */
  17. rechargePay:{url:'api/pay/recharge', auth:true, method:'GET'},
  18. /**
  19. * 兑购支付-兑购
  20. */
  21. integralPay:{url:'api/pay/integral', auth:true, method:'GET'},
  22. /**
  23. * 消费金支付-消费金
  24. */
  25. consumptionPay:{url:'api/pay/consumption', auth:true, method:'GET'},
  26. /**
  27. * 消费金支付-VIP支付
  28. */
  29. vipPay:{url:'api/pay/vip', auth:true, method:'GET'},
  30. /**
  31. * 微信小程序支付-VIP升级到其他角色
  32. */
  33. vipRolePay:{url:'api/pay/role/vip', auth:true, method:'GET'},
  34. /**
  35. * 绑定手机号
  36. */
  37. getPhone:{url:'api/applet/bind/phone', auth:false, method:'POST'},
  38. /**
  39. * 隐私协议
  40. */
  41. getAgreement:{url:'api/protocol/user/agreement', auth:false, method:'GET'},
  42. /**
  43. * 轮播图
  44. */
  45. getBanner:{url:'api/banner/index', auth:false, method:'GET'},
  46. /**
  47. * 滚动公告
  48. */
  49. getNotice:{url:'api/notice/index', auth:false, method:'GET'},
  50. /**
  51. * 首页按钮
  52. */
  53. getHomeButton:{url:'api/botton/index', auth:false, method:'GET'},
  54. /**
  55. * 搜索热搜
  56. */
  57. getHotList:{url:'api/index/hot/list', auth:false, method:'GET'},
  58. /**
  59. * 个人中心按钮数据
  60. */
  61. getMyButton:{url:'api/botton/center', auth:false, method:'GET'},
  62. /**
  63. * 个人中心推广二维码
  64. */
  65. getExtension:{url:'api/info/extension', auth:true, method:'GET'},
  66. /**
  67. * 首页 获取我获得的礼包
  68. */
  69. getGift:{url:'api/gift/my', auth:true, method:'GET'},
  70. /**
  71. * 首页 领取我的礼包
  72. */
  73. getGiftSave:{url:'api/gift/save', auth:true, method:'POST'},
  74. /**
  75. * 获取用户信息
  76. */
  77. getUserInfo: {url:'api/info/user', auth:true, method:'GET'},
  78. /**
  79. * 编辑用户信息
  80. */
  81. editUserInfo: {url:'api/info/edit/user',auth:true,method:'POST'},
  82. /**
  83. * 商品列表数据信息
  84. */
  85. getGoodsList: {url:'api/goods/list',auth:false,method:'GET'},
  86. /**
  87. * 商品详情
  88. */
  89. getGoodsdetail: {url:'api/goods/detail',auth:true,method:'GET'},
  90. /**
  91. * 评价
  92. */
  93. getGoodsPing: {url:'api/goods/ping',auth:true,method:'GET'},
  94. /**
  95. * 商品分类数据信息
  96. */
  97. getGoodsClassList: {url:'api/goods/class/list',auth:false,method:'GET'},
  98. /**
  99. * 专区分类
  100. */
  101. getButClassList: {url:'api/goods/class/but',auth:false,method:'GET'},
  102. /**
  103. * 商品详情-关联商品列表带分页
  104. */
  105. getGoodsRelationList: {url:'api/goods/relation/list',auth:false,method:'GET'},
  106. /**
  107. * 我的 个人中心banner
  108. * auth 是否需要token
  109. */
  110. getMyBanner: {url:'api/info/center/banner',auth:false,method:'GET'},
  111. /**
  112. * 我的 个人中心Notice
  113. * auth 是否需要token
  114. */
  115. getMyNotice: {url:'api/info/center/notice',auth:false,method:'GET'},
  116. /**
  117. * 我的 预约订单列表
  118. * auth 是否需要token
  119. */
  120. getOrderYyList: {url:'api/order/order/yy/list',auth:true,method:'GET'},
  121. /**
  122. * 我的 订单列表
  123. * auth 是否需要token
  124. */
  125. getOrderList: {url:'api/order/order/list',auth:true,method:'GET'},
  126. /**
  127. * 我的 订单列表 取消订单 api/order/order/confirm
  128. * auth 是否需要token
  129. */
  130. deleteOrderById: {url:'api/order/order/delete',auth:true,method:'GET'},
  131. /**
  132. * 我的 订单列表 确认收货
  133. * auth 是否需要token
  134. */
  135. confirmOrderById: {url:'api/order/order/confirm',auth:true,method:'GET'},
  136. /**
  137. * 我的 订单列表 售后
  138. * auth 是否需要token
  139. */
  140. afterSalesOrderById: {url:'api/order/order/after/sales',auth:true,method:'POST'},
  141. /**
  142. * 我的 订单列表 售后配置
  143. * auth 是否需要token
  144. */
  145. afterListOrderById: {url:'api/order/after/list',auth:false,method:'GET'},
  146. /**
  147. * 我的 订单列表 订单详情
  148. * auth 是否需要token
  149. */
  150. oneOrderById: {url:'api/order/order/one',auth:true,method:'GET'},
  151. /**
  152. * 我的 订单列表 订单支付
  153. * auth 是否需要token
  154. */
  155. submitOrderById: {url:'api/order/submit/pay',auth:true,method:'POST'},
  156. /**
  157. * 我的 消费金流水接口
  158. * auth 是否需要token
  159. */
  160. getConsumptionGold: {url:'api/running/consumption/list',auth:true,method:'GET'},
  161. /**
  162. * 我的 兑购流水接口
  163. * auth 是否需要token
  164. */
  165. getInteger: {url:'api/running/integer/list',auth:true,method:'GET'},
  166. /**
  167. * 我的 钱包流水明细列表
  168. * auth 是否需要token
  169. */
  170. getPurseWaterList: {url:'api/running/wallet/list',auth:true,method:'GET'},
  171. /**
  172. * 我的 我的粉丝列表
  173. * auth 是否需要token
  174. */
  175. getFansList: {url:'api/info/fans',auth:true,method:'GET'},
  176. /**
  177. * 我的 查看自己所以可用优惠券
  178. * auth 是否需要token
  179. */
  180. getCouponPage: {url:'api/coupon/page',auth:true,method:'GET'},
  181. /**
  182. * 我的 收藏列表
  183. * auth 是否需要token
  184. */
  185. getCollectionPages: {url:'api/collection/page',auth:true,method:'GET'},
  186. /**
  187. * 我的 加入收藏列表
  188. * auth 是否需要token
  189. */
  190. saveCollectionPage: {url:'api/collection/save',auth:true,method:'GET'},
  191. /**
  192. * 我的 拍方抓药列表
  193. * auth 是否需要token
  194. */
  195. patterPage: {url:'api/patter/page',auth:true,method:'GET'},
  196. /**
  197. * 我的 留言建议
  198. * auth 是否需要token
  199. */
  200. setFeedback: {url:'api/info/feedback',auth:true,method:'POST'},
  201. /**
  202. * 我的 代购需求
  203. * auth 是否需要token
  204. */
  205. setPurchasingAgency: {url:'api/info/purchasing/agency',auth:true,method:'POST'},
  206. /**
  207. * 我的 查询渠道商是否存在
  208. * auth 是否需要token
  209. */
  210. getIsChannel: {url:'api/channel/get',auth:true,method:'GET'},
  211. /**
  212. * 我的 渠道商申请
  213. * auth 是否需要token
  214. */
  215. addChannel: {url:'api/channel/add',auth:true,method:'POST'},
  216. /**
  217. * 我的 渠道商申请编辑
  218. * auth 是否需要token
  219. */
  220. editChannel: {url:'api/channel/edit',auth:true,method:'POST'},
  221. /**
  222. * 我的 渠道商申请编辑 api/channel/create/order
  223. * auth 是否需要token
  224. */
  225. createChannel: {url:'api/channel/create/order',auth:true,method:'POST'},
  226. /**
  227. * 我的 查询站长是否存在
  228. * auth 是否需要token
  229. */
  230. getIsStation: {url:'api/station/get',auth:true,method:'GET'},
  231. /**
  232. * 我的 渠道商钱包提现
  233. * auth 是否需要token
  234. */
  235. getMoneyStation: {url:'api/channel/money/get',auth:true,method:'GET'},
  236. /**
  237. * 我的 站长申请列表
  238. * auth 是否需要token
  239. */
  240. getChannelStationmasterList: {url:'api/channel/stationmaster/list',auth:false,method:'GET'},
  241. /**
  242. * 我的 站长申请---驳回
  243. * auth 是否需要token
  244. */
  245. getStationmasterDel: {url:'api/channel/stationmaster/del',auth:true,method:'POST'},
  246. /**
  247. * 我的 站长申请---通过
  248. * auth 是否需要token
  249. */
  250. getStationmasterEdit: {url:'api/channel/stationmaster/edit',auth:true,method:'POST'},
  251. /**
  252. * 我的 渠道商我的团队
  253. * auth 是否需要token
  254. */
  255. getChannelDealerFans: {url:'api/info/channelDealer/fans',auth:true,method:'GET'},
  256. /**
  257. * 我的 站长申请
  258. * auth 是否需要token
  259. */
  260. addStation: {url:'api/station/add',auth:true,method:'POST'},
  261. /**
  262. * 我的 站长申请编辑
  263. * auth 是否需要token
  264. */
  265. editStation: {url:'api/station/edit',auth:true,method:'POST'},
  266. /**
  267. * 我的 查询站长申请支付-微信支付
  268. * auth 是否需要token
  269. */
  270. createStation: {url:'api/station/create/order',auth:true,method:'POST'},
  271. /**
  272. * 我的 站长个人中心基础数据
  273. * auth 是否需要token
  274. */
  275. getStationmaster: {url:'api/info/stationmaster',auth:true,method:'GET'},
  276. /**
  277. * 我的 渠道商个人中心基础数据
  278. * auth 是否需要token
  279. */
  280. getChannelDealer: {url:'api/info/channelDealer',auth:true,method:'GET'},
  281. /**
  282. * 我的 站长钱包提现
  283. * auth 是否需要token
  284. */
  285. getStationMoney: {url:'api/station/money/get',auth:true,method:'GET'},
  286. /**
  287. * 我的 订单列表---站长
  288. * auth 是否需要token
  289. */
  290. getStationOrderList: {url:'api/station/order/list',auth:true,method:'GET'},
  291. /**
  292. * 我的 奖励中心---站长
  293. * auth 是否需要token
  294. */
  295. getStationMoneyList: {url:'api/station/money/list',auth:true,method:'GET'},
  296. /**
  297. * 我的 获取用户地址列表
  298. * auth 是否需要token
  299. */
  300. getAddressList: {url:'api/address/list',auth:true,method:'GET'},
  301. /**
  302. * 我的 地址接口 添加
  303. * auth 是否需要token
  304. */
  305. addAddress: {url:'api/address/add',auth:true,method:'POST'},
  306. /**
  307. * 我的 地址接口 通过id删除
  308. * auth 是否需要token
  309. */
  310. deleteAddress: {url:'api/address/delete',auth:true,method:'DELETE'},
  311. /**
  312. * 我的 地址接口 编辑
  313. * auth 是否需要token
  314. */
  315. editAddress: {url:'api/address/edit',auth:true,method:'POST'},
  316. /**
  317. * 我的 根据用户邀请码查询用户是否存在
  318. * auth 是否需要token
  319. */
  320. invitationCode: {url:'api/running/get/invitation/code',auth:true,method:'GET'},
  321. /**
  322. * 我的 存在用户点击开始赠送
  323. * auth 是否需要token
  324. */
  325. awardPoints: {url:'api/running/give/user/integer',auth:true,method:'GET'},
  326. /**
  327. * 我的 帮助中心基础数据列表
  328. * auth 是否需要token
  329. */
  330. getHelpList: {url:'api/info/help/list',auth:true,method:'GET'},
  331. /**
  332. * 我的 帮助中心基础数据-根据标识查询基础信息
  333. * auth 是否需要token
  334. */
  335. getHelpGetOne: {url:'api/info/help/getOne',auth:true,method:'GET'},
  336. /**
  337. * 我的 会员套餐列表数据
  338. * auth 是否需要token
  339. */
  340. getVipList: {url:'api/vip/list',auth:true,method:'GET'},
  341. /**
  342. * 我的 会员套餐续费列表数据
  343. * auth 是否需要token
  344. */
  345. getVipRoleList: {url:'api/vip/role/list',auth:true,method:'GET'},
  346. /**
  347. * 我的 实名认证 验证身份证信息
  348. * auth 是否需要token
  349. */
  350. getCardAdd: {url:'api/card/add',auth:true,method:'POST'},
  351. /**
  352. * 首页 站长列表数据-查询的就是门店地址信息列表 --> 首页顶端的切换中的列表
  353. * auth 是否需要token
  354. */
  355. getStationmasterList: {url:'api/index/stationmaster/list',auth:false,method:'GET'},
  356. /**
  357. * 首页 充值明细列表
  358. * auth 是否需要token
  359. */
  360. topUpDetail: {url:'api/recharge/log/list',auth:true,method:'GET'},
  361. /**
  362. * 首页 充值点击产生数据接口,当前未接支付
  363. * auth 是否需要token
  364. */
  365. topUpOrder: {url:'api/recharge/log/save',auth:true,method:'GET'},
  366. /**
  367. * 首页 充值包接口列表
  368. * auth 是否需要token
  369. */
  370. rechargeList: {url:'api/recharge/list',auth:true,method:'GET'},
  371. /**
  372. * 首页 答题有奖 文章列表带标题搜索带分页
  373. * auth 是否需要token
  374. */
  375. answerList: {url:'api/answer/article/list',auth:true,method:'GET'},
  376. /**
  377. * 首页 答题有奖 文章标识查询文章详情
  378. * auth 是否需要token
  379. */
  380. answerDetale: {url:'api/answer/getOne',auth:true,method:'GET'},
  381. /**
  382. * 首页 答题有奖 文章标识获取题目列表的方法,不带分页不带搜索
  383. * auth 是否需要token
  384. */
  385. getSubjectList: {url:'api/answer/subject/list',auth:true,method:'GET'},
  386. /**
  387. * 首页 答题有奖 返回答题情况
  388. * auth 是否需要token
  389. */
  390. getanswerGo: {url:'api/answer/answer/go',auth:true,method:'POST'},
  391. /**
  392. * 首页 得到证件类型
  393. * auth 是否需要token
  394. */
  395. addCardLabelList: {url:'api/goods/card/label/list',auth:true,method:'GET'},
  396. /**
  397. * 首页 增加用药人信息
  398. * auth 是否需要token
  399. */
  400. addDrugUser: {url:'api/goods/save/drug/user',auth:true,method:'POST'},
  401. /**
  402. * 首页 用药人信息删除 通过id删除
  403. * auth 是否需要token
  404. */
  405. deleteDrugUser: {url:'api/goods/delete/drug/user',auth:true,method:'POST'},
  406. /**
  407. * 首页 用药人信息查询 通过id查询
  408. * auth 是否需要token
  409. */
  410. getDrugUserById: {url:'api/goods/get/drug/user',auth:true,method:'POST'},
  411. /**
  412. * 首页 用药人信息列表
  413. * auth 是否需要token
  414. */
  415. getDrugUserList: {url:'api/goods/get/drug/user/list',auth:true,method:'POST'},
  416. /**
  417. * 首页 药品过敏信息列表
  418. * auth 是否需要token
  419. */
  420. getAllergyList: {url:'api/goods/rug/allergy/list',auth:true,method:'GET'},
  421. /**
  422. * 加入购物车
  423. * auth 是否需要token
  424. */
  425. addShoppingCart: {url:'api/goods/relation/save',auth:true,method:'POST'},
  426. /**
  427. * 获取购物车列表
  428. * auth 是否需要token
  429. */
  430. getShoppingCartList: {url:'api/goods/shopping/list',auth:true,method:'GET'},
  431. /**
  432. * 购物车列表数量加减
  433. */
  434. setShoppingCartNum: {url:'api/goods/relation/num',auth:true,method:'POST'},
  435. /**
  436. * 减少购物车列表
  437. */
  438. delShoppingCart: {url:'api/goods/deleteBatch',auth:true,method:'POST'},
  439. // 获取结算页商品信息
  440. getConfirmOrderGoodsInfo: {url:'api/goods/shopping/ids',auth:true,method:'GET'},
  441. // 创建订单拉起支付
  442. createOrder: {url:'api/order/create/order',auth:true,method:'POST'},
  443. // 拼团兑购创建订单
  444. teamCreateOrder: {url:'api/order/order/team/create',auth:true,method:'POST'},
  445. // 拼团兑购支付
  446. teamCreateOrderPay: {url:'api/order/order/team/pay',auth:true,method:'POST'},
  447. // 增加防疫登记
  448. setPrevention: {url:'api/goods/saveEpidemic/prevention',auth:true,method:'POST'},
  449. // 增加拍方抓药信息
  450. patter: {url:'api/goods/save/patter',auth:true,method:'POST'},
  451. // 增加拍方抓药信息
  452. imageOne: {url:'api/image/one',auth:false,method:'GET'},
  453. // 首页基础NOTICE数据--根据标识查询
  454. noticeOne: {url:'api/notice/one',auth:true,method:'GET'},
  455. // 线下确诊疾病--添加
  456. offlineAdd: {url:'api/goods/confirmatory/disease',auth:true,method:'POST'},
  457. // 线下确诊疾病
  458. offlinediagnosisList: {url:'api/goods/offline/diagnosis/list',auth:true,method:'GET'},
  459. // 分享信息获取
  460. goodsFenGoods: {url:'api/goods/fen/goods',auth:true,method:'GET'},
  461. getPing: {url:'api/goods/ping',auth:true,method:'GET'},
  462. // 评论接口
  463. setCommit: {url:'api/goods/ping/add',auth:true,method:'GET'},
  464. // 是否申请售后了
  465. afterOrderId: {url:'api/order/after/orderId',auth:true,method:'GET'},
  466. // 站长 业绩总额与明细
  467. infoOrderLog: {url:'api/info/order/log',auth:true,method:'GET'},
  468. // 合伙人 业绩总额与明细
  469. infoOrderLog2: {url:'api/info/order/log2',auth:true,method:'GET'},
  470. }