api.js 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. // api接口配置文件
  2. const baseURL = 'https://sqtg.hdlkeji.com' //社区团购
  3. module.exports = {
  4. /* 版本号 */
  5. Version: '3.0.6',
  6. /* 用户登录 */
  7. weChatLogin: baseURL + '/api/Login/weChatLogin', //微信登录(小程序)
  8. get_token: baseURL + '/api/Login/get_token', //根据用户ID获取token
  9. send_sms: baseURL + '/api/Login/send_sms', //发送短信验证码
  10. OrderCallback: baseURL + '/api/Login/OrderCallback', //微信支付回调
  11. /* 订单 */
  12. Order_add: baseURL + '/api/Order/Order_add', //用户下单
  13. Order_info: baseURL + '/api/Order/Order_info', //订单详情
  14. Order_edit_info: baseURL + '/api/Order/Order_edit_info', //用户修改订单信息
  15. Order_cancel: baseURL + '/api/Order/Order_cancel', //用户取消订单
  16. Order_receiving: baseURL + '/api/Order/Order_receiving', //用户确认收货
  17. Order_refund: baseURL + '/api/Order/Order_refund', //用户订单申请退款
  18. Order_refund_revoke: baseURL + '/api/Order/Order_refund_revoke', //用户订单撤销申请退款
  19. Order_edit_refund: baseURL + '/api/Order/Order_edit_refund', //用户订单修改申请退款
  20. Order_address: baseURL + '/api/Order/Order_address', //用户修改收货地址
  21. Order_payment_method: baseURL + '/api/Order/Order_payment_method', //用户支付方式
  22. Order_payment: baseURL + '/api/Order/Order_payment', //用户支付
  23. Service: baseURL + '/api/Order/Service', //微信支付手续费
  24. Print: baseURL + '/api/Order/Print', //打印面单
  25. /* OSS对象存储 */
  26. upload: baseURL + '/api/Upload/upload', //文件上传
  27. getSignedUrl: baseURL + '/api/Upload/getSignedUrl', //获取配置
  28. /* 商品管理 */
  29. Commodity_add: baseURL + '/api/Commodity/Commodity_add', //添加商品
  30. Commodity_info: baseURL + '/api/Commodity/Commodity_info', //商品详情
  31. Commodity_list: baseURL + '/api/Commodity/Commodity_list', //商品列表
  32. /* 会员管理 */
  33. user_info: baseURL + '/api/Member/user_info', //个人信息
  34. edit_info: baseURL + '/api/Member/edit_info', //编辑个人信息
  35. subscribe: baseURL + '/api/Member/subscribe', //用户订阅团长
  36. unsubscribe: baseURL + '/api/Member/unsubscribe', //用户取消订阅团长
  37. footprints: baseURL + '/api/Member/footprints', //用户足迹
  38. Member_order: baseURL + '/api/Member/Member_order', //首页我的订单
  39. sms: baseURL + '/api/Member/sms', //发送短信
  40. authentication: baseURL + '/api/Member/authentication', //个人认证
  41. Member_point: baseURL + '/api/Member/Member_point', //添加自取点
  42. email: baseURL + '/api/Member/email', //发送邮箱
  43. /* 拼团管理 */
  44. Gang_add: baseURL + '/api/Gang/Gang_add', //添加拼团
  45. Gang_info: baseURL + '/api/Gang/Gang_info', //拼团详情
  46. commodity: baseURL + '/api/Gang/commodity', //编辑拼团商品列表
  47. Gang_point: baseURL + '/api/Gang/Gang_point', //自取点列表
  48. Gang_point_edit: baseURL + '/api/Gang/Gang_point_edit', //自取点修改
  49. Gang_invite: baseURL + '/api/Gang/Gang_invite', //拼团自取信息
  50. Gang_order: baseURL + '/api/Gang/Gang_order', //拼团订单列表
  51. Gang_commodity: baseURL + '/api/Gang/Gang_commodity', //拼团商品列表
  52. Gang_by: baseURL + '/api/Gang/Gang_by', //截至拼团
  53. Gang_open: baseURL + '/api/Gang/Gang_open', //开启拼团
  54. Gang_edit: baseURL + '/api/Gang/Gang_edit', //编辑拼团
  55. /* 评论管理 */
  56. Comment_list: baseURL + '/api/Comment/Comment_list', //评论列表
  57. Comment_add: baseURL + '/api/Comment/Comment_add', //添加评论
  58. /* 用户收货地址列表 */
  59. Address_list: baseURL + '/api/Address/Address_list', //用户收货地址列表
  60. Address_add: baseURL + '/api/Address/Address_add', //用户添加收货地址
  61. Address_edit: baseURL + '/api/Address/Address_edit', //用户编辑收货地址
  62. /* 团长管理 */
  63. Head_list: baseURL + '/api/Head/Head_list', //用户订阅团长列表
  64. list_info: baseURL + '/api/Head/list_info', //团长拼团列表
  65. Head_info: baseURL + '/api/Head/Head_info', //团长详情
  66. /* 历史搜索管理 */
  67. Search_list: baseURL + '/api/Search/Search_list', //用户历史搜索
  68. Search_delete: baseURL + '/api/Search/Search_delete', //用户历史搜索删除
  69. /* 团长订单管理 */
  70. OrderManagement_list: baseURL + '/api/Ordermanagement/OrderManagement_list', //团长订单首页订单列表
  71. Ordermanagement_info: baseURL + '/api/Ordermanagement/Ordermanagement_info', //订单详情
  72. OrderManagement_selection: baseURL + '/api/Ordermanagement/OrderManagement_selection', //拼团选择
  73. OrderManagement_paid: baseURL + '/api/Ordermanagement/OrderManagement_paid', //团员已支付
  74. OrderManagement_picked_up: baseURL + '/api/Ordermanagement/OrderManagement_picked_up', //团员已取货
  75. OrderManagement_pick_notice: baseURL + '/api/Ordermanagement/OrderManagement_pick_notice', //团长发送取货通知
  76. OrderManagement_payment_order: baseURL + '/api/Ordermanagement/OrderManagement_payment_order', //团长发送付款通知
  77. OrderManagement_notice: baseURL + '/api/Ordermanagement/OrderManagement_notice', //团长单通知
  78. OrderManagement_statistics: baseURL + '/api/Ordermanagement/OrderManagement_statistics', //销售统计
  79. OrderManagement_export: baseURL + '/api/Ordermanagement/OrderManagement_export', //导出订单
  80. /* 团长退货管理 */
  81. ReturnGoods_list: baseURL + '/api/Returngoods/ReturnGoods_list', //团长退货管理列表
  82. ReturnGoods_info: baseURL + '/api/Returngoods/ReturnGoods_info', //团长退货处理详情
  83. ReturnGoods_refund: baseURL + '/api/Returngoods/ReturnGoods_refund', //团长同意退款申请
  84. ReturnGoods_no_refund: baseURL + '/api/Returngoods/ReturnGoods_no_refund', //团长不同意款申请
  85. /* 团长提现管理 */
  86. Withdrawalmanagement_balance: baseURL + '/api/Withdrawalmanagement/Withdrawalmanagement_balance', //团长账户余额
  87. Withdrawalmanagement_apply: baseURL + '/api/Withdrawalmanagement/Withdrawalmanagement_apply', //团长申请提现
  88. Withdrawalmanagement_list: baseURL + '/api/Withdrawalmanagement/Withdrawalmanagement_list', //团长提现记录
  89. Withdrawalmanagement_info: baseURL + '/api/Withdrawalmanagement/Withdrawalmanagement_info', //团长申请提现详情
  90. Withdrawalmanagement_industry: baseURL + '/api/Withdrawalmanagement/Withdrawalmanagement_industry', //行业列表
  91. /* 团长收支明细 */
  92. Detailed_list: baseURL + '/api/Detailed/Detailed_list', //团长收支明细记录
  93. Detailed_gang_list: baseURL + '/api/Detailed/Detailed_gang_list', //团长收支明细拼团列表
  94. Detailed_info: baseURL + '/api/Detailed/Detailed_info', //团长收支明细详情
  95. /* 帮卖 */
  96. Helpsell_add: baseURL + '/api/Helpsell/Helpsell_add', //团长添加帮卖商品
  97. Helpsell_list: baseURL + '/api/Helpsell/Helpsell_list', //团长帮卖商品列表
  98. Helpsell_delete: baseURL + '/api/Helpsell/Helpsell_delete', //团长删除帮卖商品
  99. /* 供应大厅 */
  100. Supplyhall_list: baseURL + '/api/Supplyhall/Supplyhall_list', //供应大厅列表
  101. Supplyhall_head_info: baseURL + '/api/Supplyhall/Supplyhall_head_info', //团长详情
  102. Supplyhall_apply: baseURL + '/api/Supplyhall/Supplyhall_apply', //申请帮卖
  103. Supplyhall_help_sell: baseURL + '/api/Supplyhall/Supplyhall_help_sell', //我的申请
  104. Supplyhall_supplier_list: baseURL + '/api/Supplyhall/Supplyhall_supplier_list', //关联供货商
  105. Supplyhall_apply_info: baseURL + '/api/Supplyhall/Supplyhall_apply_info', //申请详情
  106. Cancel_help_sale: baseURL + '/api/Supplyhall/Cancel_help_sale', //取消帮卖
  107. Supplyhall_apply_cancel: baseURL + '/api/Supplyhall/Supplyhall_apply_cancel', //撤销申请
  108. /* 卖货团长 */
  109. Sellgoods_list: baseURL + '/api/Sellgoods/Sellgoods_list', //正在帮卖列表
  110. Sellgoods_status: baseURL + '/api/Sellgoods/Sellgoods_status', //正在帮卖同意申请和不同意
  111. Sellgoods_time: baseURL + '/api/Sellgoods/Sellgoods_time', //卖货申请时间
  112. /* 商品分类 */
  113. Classification_list: baseURL + '/api/Classification/Classification_list', //商品分类
  114. /* 商品库 */
  115. Commoditywarehouse_list: baseURL + '/api/Commoditywarehouse/Commoditywarehouse_list', //商品库列表
  116. Commoditywarehouse_head: baseURL + '/api/Commoditywarehouse/Commoditywarehouse_head', //商品库团长列表
  117. Commoditywarehouse_edit: baseURL + '/api/Commoditywarehouse/Commoditywarehouse_edit', //商品库设置分类
  118. Commoditywarehouse_delete: baseURL + '/api/Commoditywarehouse/Commoditywarehouse_delete', //商品库删除商品
  119. /* 二维码管理 */
  120. Code_gang: baseURL + '/api/Code/Code_gang', //拼团详情分享二维码
  121. Code_user: baseURL + '/api/Code/Code_user', //卖家首页
  122. /* 订单核销管理 */
  123. Orderwrite_list: baseURL + '/api/Orderwrite/Orderwrite_list', //订单核销列表
  124. Orderwrite: baseURL + '/api/Orderwrite/Orderwrite', //订单核销
  125. /* 管理员管理 */
  126. Administrators_list: baseURL + '/api/Administrators/Administrators_list', //管理员列表
  127. Administrators_delete: baseURL + '/api/Administrators/Administrators_delete', //删除管理员
  128. Administrators_add: baseURL + '/api/Administrators/Administrators_add', //添加管理员
  129. /* 统计分析 */
  130. Income_list: baseURL + '/api/Statistics/Income_list', //统计分析收入
  131. Expenditure_list: baseURL + '/api/Statistics/Expenditure_list', //统计分析支出
  132. order_list: baseURL + '/api/Statistics/order_list', //订单收入
  133. Buyer_ranking: baseURL + '/api/Statistics/Buyer_ranking', //买家排名
  134. Commodity_ranking: baseURL + '/api/Statistics/Commodity_ranking', //商品排名
  135. Help_sell_ranking: baseURL + '/api/Statistics/Help_sell_ranking', //帮卖排名
  136. Supplier_ranking: baseURL + '/api/Statistics/Supplier_ranking', //供货商排名
  137. /* 链接地址 */
  138. service: baseURL + '/api/Config/service', //平台客服链接
  139. course: baseURL + '/api/Config/course', //卖家教程链接
  140. agreement: baseURL + '/api/Config/agreement', //服务协议链接
  141. }