123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- /*
- 接口统一管理
- */
- 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'
- },
- // 重新登录
- reLogin: {
- url: '/auth/login',
- type: 'post'
- },
- // 查询登录用户信息
- memberInfo: {
- url: '/member/memberInfo/getInfoById',
- type: 'get'
- },
- // 修改用户信息
- updateMemberInfo: {
- url: '/memberInfo/update',
- type: 'put'
- },
- // 获取协议
- getAgreement: {
- url: '/system/common/getAgreement',
- type: 'get'
- },
- // 列表游玩攻略
- introductionList: {
- url: '/merchant/merchantIntroduction/pageList',
- type: 'get'
- },
- // 列表查询推荐路线
- recommendedList: {
- url: '/merchant/merchantRoute/pageList',
- type: 'get'
- },
-
-
-
-
- //轮播图
- swiperList: {
- url: '/advList/pageList',
- type: 'get'
- },
- //轮播图详情
- swiperDetails: {
- url: '/advList/selectById',
- type: 'get'
- },
- // 商品分类信息
- goodsTypeTree: {
- url: '/goodsType/tree',
- type: 'get'
- },
- // 商品分类信息列表
- goodsTypeList: {
- url: '/goodsType/list',
- type: 'get'
- },
- // 商品列表
- memberGoodList: {
- url: '/goods/memberGoodList',
- type: 'get'
- },
- // 商品详情
- memberGoodDetails: {
- url: '/goods/memberGetById',
- type: 'get'
- },
- // 商品海报
- getPoster: {
- url: '/goods/getPoster',
- type: 'put'
- },
- // 商品评价
- commentList: {
- url: '/goods/commentList',
- type: 'get'
- },
- // 旭烁简介
- xsGetIntro: {
- url: '/shop/getIntro',
- type: 'get'
- },
- // 提交合作加盟联系信息
- shopContact: {
- url: '/shopContact/insert',
- type: 'post'
- },
- // 商行产品类型
- shopGoodsType: {
- url: '/dict/data/type/area_name',
- type: 'get'
- },
- // 商行产品列表
- shopGoods: {
- url: '/shopGoods/pageList',
- type: 'get'
- },
- // 热销商品列表
- topGoodList: {
- url: '/goods/selectTopGoodList',
- type: 'get'
- },
- // 动态类型列表
- shopNewsType: {
- url: '/shopNewsType/list',
- type: 'get'
- },
- // 动态列表
- shopNewsList: {
- url: '/shopNews/pageList',
- type: 'get'
- },
- // 动态详情
- shopNews: {
- url: '/shopNews/selectById',
- type: 'get'
- },
- // 动态详情增加浏览量
- addViewCount: {
- url: '/shopNews/addViewCount',
- type: 'put'
- },
- // 购物车
- // 商品加入购物车
- addCart: {
- url: '/goodsCart/insert',
- type: 'post'
- },
- // 购物车列表
- cartList: {
- url: '/goodsCart/pageList',
- type: 'get'
- },
- // 修改购物车商品数量
- updateQuantity: {
- url: '/goodsCart/updateQuantity',
- type: 'post'
- },
- // 批量移除
- deleteCarts: {
- url: '/goodsCart/deleteByIds',
- type: 'delete'
- },
- // 地址列表
- addrList: {
- url: '/memberAddress/pageList',
- type: 'get'
- },
- // 添加地址
- addAddr: {
- url: '/memberAddress/insert',
- type: 'post'
- },
- // 查看详情
- getAddrById: {
- url: '/memberAddress/selectById',
- type: 'get'
- },
- // 修改地址
- editAddr: {
- url: '/memberAddress/update',
- type: 'put'
- },
- // 删除地址
- delAddr: {
- url: '/memberAddress/deleteById',
- type: 'delete'
- },
- // 查询登录用户订单量
- statisticsOrder: {
- url: '/order/statisticsOrder',
- type: 'get'
- },
- // 订单列表
- orderList: {
- url: '/order/pageList',
- type: 'get'
- },
- // 订单详情
- orderDetails: {
- url: '/order/selectById',
- type: 'get'
- },
- // 添加商品浏览量
- goodsAddView: {
- url: '/goods/addViewCount',
- type: 'put'
- },
- // 订单
- // 订单提交
- submitOrder: {
- url: '/order/submit',
- type: 'post'
- },
- // 订单结算详情
- getSettlement: {
- url: '/order/getSettlement',
- type: 'post'
- },
- // 提交积分订单
- submitCreditOrder: {
- url: '/order/submitCreditOrder',
- type: 'post'
- },
- // 订单退款提交
- refundSubmit: {
- url: '/order/refundSubmit',
- type: 'post'
- },
- // 订单退款详情
- refundInfo: {
- url: '/order/refundInfo',
- type: 'post'
- },
- // 订单确认收货
- confirmReceipt: {
- url: '/order/confirm',
- type: 'post'
- },
- // 评价
- addGoodsComment: {
- url: '/order/addGoodsComment',
- type: 'post'
- },
- // 查看订单明细评价
- getOrderDetailComment: {
- url: '/order/getOrderDetailComment',
- type: 'get'
- },
- // 订单查询物流
- getDilevery: {
- url: '/order/getDilevery',
- type: 'post'
- },
- // 订单关闭
- cancelOrder: {
- url: '/order/cancel',
- type: 'post'
- },
- // 订单支付
- gotoPay: {
- url: '/payment/gotoPay',
- type: 'post'
- },
- // 支付查询
- payQuery: {
- url: '/payment/payQuery',
- type: 'post'
- },
- // 积分规则
- memberCreditDesc: {
- url: '/memberCreditDesc/getByName',
- type: 'get'
- },
- // 查询登录用户积分
- memberCredit: {
- url: '/memberCreditLog/getMemberCredit',
- type: 'get'
- },
- // 查询积分明细列表
- creditList: {
- url: '/memberCreditLog/pageList',
- type: 'get'
- },
- // 提交充值订单
- addRechargeOrder: {
- url: '/rechargeOrder/insert',
- type: 'post'
- },
- // 充值
- rechargePay: {
- url: '/payment/rechargePay',
- type: 'post'
- },
- // 是否存在支付密码
- getExistPayPassword: {
- url: '/memberInfo/getExistPayPassword',
- type: 'get'
- },
- // 修改支付密码
- updatePayPassword: {
- url: '/memberInfo/updatePayPassword',
- type: 'put'
- },
- // 忘记密码更改
- resetPayPassword: {
- url: '/memberInfo/resetPayPassword',
- type: 'put'
- },
- // 校验支付密码
- checkPayPassword: {
- url: '/memberInfo/checkPayPassword',
- type: 'post'
- },
- // 获取短信验证码
- getCode: {
- url: '/memberInfo/getCode',
- type: 'post'
- },
- // 交易明细
- selectBalanceLogList: {
- url: '/memberInfo/selectBalanceLogList',
- type: 'get'
- },
- // 实名认证
- factorAuth: {
- url: '/memberInfo/factorAuth',
- type: 'post'
- },
- // 注册协议
- getRegistinfoByName: {
- url: '/memberCreditDesc/getRegistinfoByName',
- type: 'get'
- },
- // 带参小程序解码
- uncompress: {
- url: '/common/uncompress',
- type: 'get'
- },
- // 会员权益列表
- memberLevel: {
- url: '/memberLevel/pageList',
- type: 'get'
- },
- // 查询楼栋信息树
- selectBrandFloorTree: {
- url: '/brandInfo/selectBrandFloorTree',
- type: 'get'
- },
- // 品牌分类
- brandCategoryType: {
- url: '/dict/data/type/brand_category_type',
- type: 'get'
- },
- // 查询品牌信息
- brandList: {
- url: '/brandInfo/pageList',
- type: 'get'
- },
- // 品牌详情
- brandInfo: {
- url: '/brandInfo/selectById',
- type: 'get'
- },
- }
- /*
- * 特殊处理接口
- */
- const otherApiUrl = {
- // 文件上传
- uploadFile: '/file/upload/single/minio',
- }
- export {
- apiurl,
- otherApiUrl
- }
|