123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- /*
- 接口统一管理
- */
- const apiurl = {
- // 小程序获取openid
- wxinfo: {
- url: '/member/wechat/appletGetOpenId',
- type: 'get'
- },
- // 授权获取微信手机号
- getMobile: {
- url: '/member/wechat/appletGetMobileV1',
- type: 'get'
- },
- // 小程序openid登录
- login: {
- url: '/member/auth/appletLogin',
- type: 'post'
- },
- // 带参二维码解码
- uncompress: {
- url: '/system/common/uncompress',
- type: 'get'
- },
- // 用户绑定分销码
- bindRetail: {
- url: '/member/memberInfo/bindRetail',
- type: 'post'
- },
- // 重新登录
- reLogin: {
- url: '/auth/login',
- type: 'post'
- },
- // 个人中心首页
- personalIndex: {
- url: '/system/client/personalIndex',
- type: 'get'
- },
- // 查询登录用户信息
- memberInfo: {
- url: '/member/memberInfo/getMemberInfo',
- type: 'get'
- },
- // 修改用户信息
- updateMemberInfo: {
- url: '/member/memberInfo/update',
- type: 'post'
- },
- // 实名认证
- factorAuth: {
- url: '/member/memberInfo/realAuth',
- type: 'post'
- },
- // 获取协议
- getAgreement: {
- url: '/system/common/getAgreement',
- type: 'get'
- },
- // 首页信息
- clientIndex: {
- url: '/system/client/index',
- type: 'get'
- },
- // 分页查询资讯
- newsList: {
- url: '/system/sysInformation/pageList',
- type: 'get'
- },
- // ID获取资讯详情
- newsdetails: {
- url: '/system/sysInformation/selectById',
- type: 'get'
- },
- // 添加浏览记录
- addReadRecord: {
- url: '/system/browseLog/insertOrUpdate',
- type: 'post',
- },
- // 海报二维码
- performQrcode: {
- url: '/goods/performInfo/posterByPerformId',
- type: 'get'
- },
- // 获取演艺厅列表
- performSell: {
- url: '/goods/performInfo/performSell',
- type: 'get'
- },
- // 获取节目演出时段
- getAuditoriumTimes: {
- url: '/merchant/merchantTheatreAuditorium/selectTimes',
- type: 'get'
- },
- // 获取节目演出时段
- getAuditoriumDate: {
- url: '/merchant/merchantTheatreAuditorium/selectDate',
- type: 'get'
- },
- // 节目详情
- performInfo: {
- url: '/goods/performInfo/selectById',
- type: 'get'
- },
- // 节目演员列表
- actorsList: {
- url: '/goods/performInfo/performerList',
- type: 'get'
- },
- // 节目演员列表
- performerNotice: {
- url: '/goods/performInfo/performerNotice',
- type: 'get'
- },
- // 演员信息
- actorsinfo: {
- url: '/goods/performInfo/performerDetail',
- type: 'get'
- },
- // 选择区域
- selectRegion: {
- url: '/merchant/merchantTheatreAuditorium/selectRegion',
- type: 'post'
- },
- // 订单结算信息
- getSettlement: {
- url: '/order/orderInfo/getSettlement',
- type: 'post'
- },
- // 观影人历史列表
- selectMemberAll: {
- url: '/member/memberInfoFamily/selectMemberAll',
- type: 'get'
- },
- // 添加修改观影人
- insertOrUpdateMember: {
- url: '/member/memberInfoFamily/insertOrUpdate',
- type: 'post'
- },
- // 删除观影人
- deleteMember: {
- url: '/member/memberInfoFamily/deleteById',
- type: 'delete'
- },
- // 订单提交
- submitOrder: {
- url: '/order/orderInfo/submit',
- type: 'post'
- },
- // 订单支付
- gotoPay: {
- url: '/order/orderInfo/gotoPay',
- type: 'post'
- },
- // 支付查询
- payQuery: {
- url: '/order/orderInfo/payQuery',
- type: 'post'
- },
- // 订单列表
- orderList: {
- url: '/order/orderInfo/pageList',
- type: 'get'
- },
- // 订单详情
- orderDetails: {
- url: '/order/orderInfo/selectById',
- type: 'get'
- },
- // 查询订单观影人信息
- getViewers: {
- url: '/order/orderInfo/getViewers',
- type: 'get'
- },
- // 提交退款
- refundSubmit: {
- url: '/order/orderInfo/refundSubmit',
- type: 'post'
- },
- // 订单关闭
- cancelOrder: {
- url: '/order/orderInfo/cancel',
- type: 'post'
- },
- // 获取模板列表
- templateIdList: {
- url: '/system/wxTemplateInfo/templateList',
- type: 'get'
- },
- // 申请分销
- applyshare: {
- url: '/member/marketPersons/apply',
- type: 'post'
- },
- // 获取开票信息
- getInvoiceInfo: {
- url: '/order/orderInvoice/getInvoiceInfo',
- type: 'get'
- },
- // 提交开票
- submitInvoice: {
- url: '/order/orderInvoice/submit',
- type: 'post'
- },
- // 查询开票详情
- getInvoiceDetail: {
- url: '/order/orderInvoice/getInvoiceDetail',
- type: 'get'
- },
- // 我的优惠券-分页
- myCouponList: {
- url: '/member/memberInfo/couponPageList',
- type: 'get'
- },
- // 活动列表
- validActList: {
- url: '/coupon/activityInfo/validActList',
- type: 'get'
- },
- // 活动优惠券列表
- couponList: {
- url: '/coupon/activityInfo/actValidCouponList',
- type: 'get'
- },
- // 领取优惠券
- receiveCoupon: {
- url: '/member/memberInfo/receiveCoupon',
- type: 'post'
- },
- // 获取下单优惠券
- findOrderCoupons: {
- url: '/member/memberInfo/getOrderCoupon',
- type: 'post'
- },
-
-
- /**
- * @author ygh
- * @date 2023-12-14
- * 公众号获取openid
- *
- * */
- wxinfoH5: {
- url: '/member/wechat/h5/code/',
- type: 'get',
- addUrl: true
- },
- }
- /*
- * 特殊处理接口
- */
- const otherApiUrl = {
- // 文件上传
- uploadFile: '/file/upload/single/minio',
- }
- export {
- apiurl,
- otherApiUrl
- }
|