apiurl.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. /*
  2. 接口统一管理
  3. */
  4. const apiurl = {
  5. // 小程序获取openid
  6. wxinfo: {
  7. url: '/member/wechat/appletGetOpenId',
  8. type: 'get'
  9. },
  10. // 授权获取微信手机号
  11. getMobile: {
  12. url: '/member/wechat/appletGetMobileV1',
  13. type: 'get'
  14. },
  15. // 小程序openid登录
  16. login: {
  17. url: '/member/auth/appletLogin',
  18. type: 'post'
  19. },
  20. // 带参二维码解码
  21. uncompress: {
  22. url: '/system/common/uncompress',
  23. type: 'get'
  24. },
  25. // 用户绑定分销码
  26. bindRetail: {
  27. url: '/member/memberInfo/bindRetail',
  28. type: 'post'
  29. },
  30. // 重新登录
  31. reLogin: {
  32. url: '/auth/login',
  33. type: 'post'
  34. },
  35. // 个人中心首页
  36. personalIndex: {
  37. url: '/system/client/personalIndex',
  38. type: 'get'
  39. },
  40. // 查询登录用户信息
  41. memberInfo: {
  42. url: '/member/memberInfo/getMemberInfo',
  43. type: 'get'
  44. },
  45. // 修改用户信息
  46. updateMemberInfo: {
  47. url: '/member/memberInfo/update',
  48. type: 'post'
  49. },
  50. // 实名认证
  51. factorAuth: {
  52. url: '/member/memberInfo/realAuth',
  53. type: 'post'
  54. },
  55. // 获取协议
  56. getAgreement: {
  57. url: '/system/common/getAgreement',
  58. type: 'get'
  59. },
  60. // 首页信息
  61. clientIndex: {
  62. url: '/system/client/index',
  63. type: 'get'
  64. },
  65. // 分页查询资讯
  66. newsList: {
  67. url: '/system/sysInformation/pageList',
  68. type: 'get'
  69. },
  70. // ID获取资讯详情
  71. newsdetails: {
  72. url: '/system/sysInformation/selectById',
  73. type: 'get'
  74. },
  75. // 添加浏览记录
  76. addReadRecord: {
  77. url: '/system/browseLog/insertOrUpdate',
  78. type: 'post',
  79. },
  80. // 海报二维码
  81. performQrcode: {
  82. url: '/goods/performInfo/posterByPerformId',
  83. type: 'get'
  84. },
  85. // 获取演艺厅列表
  86. performSell: {
  87. url: '/goods/performInfo/performSell',
  88. type: 'get'
  89. },
  90. // 获取节目演出时段
  91. getAuditoriumTimes: {
  92. url: '/merchant/merchantTheatreAuditorium/selectTimes',
  93. type: 'get'
  94. },
  95. // 获取节目演出时段
  96. getAuditoriumDate: {
  97. url: '/merchant/merchantTheatreAuditorium/selectDate',
  98. type: 'get'
  99. },
  100. // 节目详情
  101. performInfo: {
  102. url: '/goods/performInfo/selectById',
  103. type: 'get'
  104. },
  105. // 节目演员列表
  106. actorsList: {
  107. url: '/goods/performInfo/performerList',
  108. type: 'get'
  109. },
  110. // 节目演员列表
  111. performerNotice: {
  112. url: '/goods/performInfo/performerNotice',
  113. type: 'get'
  114. },
  115. // 演员信息
  116. actorsinfo: {
  117. url: '/goods/performInfo/performerDetail',
  118. type: 'get'
  119. },
  120. // 选择区域
  121. selectRegion: {
  122. url: '/merchant/merchantTheatreAuditorium/selectRegion',
  123. type: 'post'
  124. },
  125. // 订单结算信息
  126. getSettlement: {
  127. url: '/order/orderInfo/getSettlement',
  128. type: 'post'
  129. },
  130. // 观影人历史列表
  131. selectMemberAll: {
  132. url: '/member/memberInfoFamily/selectMemberAll',
  133. type: 'get'
  134. },
  135. // 添加修改观影人
  136. insertOrUpdateMember: {
  137. url: '/member/memberInfoFamily/insertOrUpdate',
  138. type: 'post'
  139. },
  140. // 删除观影人
  141. deleteMember: {
  142. url: '/member/memberInfoFamily/deleteById',
  143. type: 'delete'
  144. },
  145. // 订单提交
  146. submitOrder: {
  147. url: '/order/orderInfo/submit',
  148. type: 'post'
  149. },
  150. // 订单支付
  151. gotoPay: {
  152. url: '/order/orderInfo/gotoPay',
  153. type: 'post'
  154. },
  155. // 支付查询
  156. payQuery: {
  157. url: '/order/orderInfo/payQuery',
  158. type: 'post'
  159. },
  160. // 订单列表
  161. orderList: {
  162. url: '/order/orderInfo/pageList',
  163. type: 'get'
  164. },
  165. // 订单详情
  166. orderDetails: {
  167. url: '/order/orderInfo/selectById',
  168. type: 'get'
  169. },
  170. // 查询订单观影人信息
  171. getViewers: {
  172. url: '/order/orderInfo/getViewers',
  173. type: 'get'
  174. },
  175. // 提交退款
  176. refundSubmit: {
  177. url: '/order/orderInfo/refundSubmit',
  178. type: 'post'
  179. },
  180. // 订单关闭
  181. cancelOrder: {
  182. url: '/order/orderInfo/cancel',
  183. type: 'post'
  184. },
  185. // 获取模板列表
  186. templateIdList: {
  187. url: '/system/wxTemplateInfo/templateList',
  188. type: 'get'
  189. },
  190. // 申请分销
  191. applyshare: {
  192. url: '/member/marketPersons/apply',
  193. type: 'post'
  194. },
  195. // 获取开票信息
  196. getInvoiceInfo: {
  197. url: '/order/orderInvoice/getInvoiceInfo',
  198. type: 'get'
  199. },
  200. // 提交开票
  201. submitInvoice: {
  202. url: '/order/orderInvoice/submit',
  203. type: 'post'
  204. },
  205. // 查询开票详情
  206. getInvoiceDetail: {
  207. url: '/order/orderInvoice/getInvoiceDetail',
  208. type: 'get'
  209. },
  210. // 我的优惠券-分页
  211. myCouponList: {
  212. url: '/member/memberInfo/couponPageList',
  213. type: 'get'
  214. },
  215. // 活动列表
  216. validActList: {
  217. url: '/coupon/activityInfo/validActList',
  218. type: 'get'
  219. },
  220. // 活动优惠券列表
  221. couponList: {
  222. url: '/coupon/activityInfo/actValidCouponList',
  223. type: 'get'
  224. },
  225. // 领取优惠券
  226. receiveCoupon: {
  227. url: '/member/memberInfo/receiveCoupon',
  228. type: 'post'
  229. },
  230. // 获取下单优惠券
  231. findOrderCoupons: {
  232. url: '/member/memberInfo/getOrderCoupon',
  233. type: 'post'
  234. },
  235. /**
  236. * @author ygh
  237. * @date 2023-12-14
  238. * 公众号获取openid
  239. *
  240. * */
  241. wxinfoH5: {
  242. url: '/member/wechat/h5/code/',
  243. type: 'get',
  244. addUrl: true
  245. },
  246. }
  247. /*
  248. * 特殊处理接口
  249. */
  250. const otherApiUrl = {
  251. // 文件上传
  252. uploadFile: '/file/upload/single/minio',
  253. }
  254. export {
  255. apiurl,
  256. otherApiUrl
  257. }