123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- const WX_API_BASE = 'https://www.qianjiadi.com/'
- // const WX_API_BASE = 'http://ch.jihengcc.cn:17080/'
- // const WX_API_BASE = 'https://test.jihengcc.cn/'
- // const WX_API_BASE = 'https://www.qianjiadi.com/'
- // const WX_API_BASE = 'http://172.18.1.79:8765/'
- module.exports = {
- sdkAppID: 1400430241,
- secretKey: '941e01ca06e94057de3013b235b67a784ea28b45c43decbd518e765f7d5fc140',
- // 微信登录
- WxLogin: WX_API_BASE + 'app/auth/merchant/wx/login',
- // 微信登录
- getWxUserPhone: WX_API_BASE + 'app/auth/wx/getWxUserPhone',
- // ios登录
- IosLogin: WX_API_BASE + 'app/auth/merchant/apple/login',
- // 授权码登录
- authorizeSignIn: WX_API_BASE + 'app/auth/merchant/authCodeRegister',
- // 注册商铺数据
- submitShopRegisterInfo: WX_API_BASE + 'app/auth/merchant/register',
- // 编辑商铺数据
- editShopRegisterInfo: WX_API_BASE + 'app/auth/merchant/updateMerchantInfo',
- // 获取商铺注册数据
- getShopRegisterInfo: WX_API_BASE + 'app/auth/merchant/findMerchantInfo',
- // 获取商铺注册状态
- getShopRegisterStatu: WX_API_BASE + 'app/auth/merchant/findMerchantAuditStatus',
- // 获取后台管理账号密码
- getManageInfo: WX_API_BASE + 'app/auth/merchant/backgroundUserInfo',
- // 获取本月销售额
- getShopSellInfo: WX_API_BASE + 'app/merchants/productOrderSumMouth',
- // 获取销售数据
- getSellInfo: WX_API_BASE + 'app/merchants/productOrderStatistics/',
- // 获取商品列表
- getGoodList: WX_API_BASE + 'app/product/queryTenantProductPage',
- // 流转商品状态
- setGoodsStatus: WX_API_BASE + 'app/product/batchManagementProduct',
- // 获取分类
- getSortList: WX_API_BASE + 'app/productCategory/categoryInitialization',
- // 新增商品
- addGood: WX_API_BASE + 'app/product/insertTenantProduct',
- // 查询商品详情
- getGoodDetail: WX_API_BASE + 'app/product/tenantProductInfo',
- // 获取留言列表
- getMessageList: WX_API_BASE + 'app/order/user/my/orderList/orderDetail/leaMsgList/',
- // 编辑商品
- editGood: WX_API_BASE + 'app/product/updateTenantProduct',
- // 获取直播信息与开播
- startStream: WX_API_BASE + 'app/liveAndVideo/merchant/startStream/',
- // 获取直播Id
- getLiveId: WX_API_BASE + 'app/liveAndVideo/merchant/liveAndVideoInit',
- // 获取直播设置详情
- getLiveData: WX_API_BASE + 'app/liveAndVideo/merchant/liveDetail/',
- // 开启直播
- creatLive: WX_API_BASE + 'app/liveAndVideo/merchant/updateLiveStatus',
- // 设置直播设置
- setLiveData: WX_API_BASE + 'app/liveAndVideo/merchant/addLive',
- // 编辑直播设置
- editLiveData: WX_API_BASE + 'app/liveAndVideo/merchant/updateLive',
- // 绑定直播商品
- bindLiveGoods: WX_API_BASE + 'app/liveAndVideo/merchant/liveDetail/addLiveProductRel',
- // 获取已绑定直播的商品
- getBindedLiveGoods: WX_API_BASE + 'app/liveAndVideo/merchant/liveDetail/chooseProductList',
- // 获取短视频列表
- getVideoList: WX_API_BASE + 'app/liveAndVideo/merchant/videoList/',
- // 删除短视频
- deleteVideo: WX_API_BASE + 'app/liveAndVideo/merchant/batchDeleteVideo',
- // 获取短视频商品
- getVideoGoods: WX_API_BASE + 'app/liveAndVideo/merchant/liveDetailOrVideoDetail/productList',
- // 获取短视频已绑定商品
- getVideoBindGoods: WX_API_BASE + 'app/liveAndVideo/merchant/videoDetail/chooseProductList',
- // 上传短视频
- addVideo: WX_API_BASE + 'app/liveAndVideo/merchant/addVideoByQjd',
- // 编辑短视频
- editVideo: WX_API_BASE + 'app/liveAndVideo/merchant/updateVideo',
- // 获取短视频详情
- getVideoDetail: WX_API_BASE + 'app/liveAndVideo/merchant/updateVideoInit',
- // 初始化自助采摘视频
- creatPickVideo: WX_API_BASE + 'app/liveAndVideo/merchant/addPickLive',
- // 自助采摘直播获取个人信息
- getMainInfo: WX_API_BASE + 'app/member/selectUserById',
- // 小程序-商户端-发起直播推送给订阅用户推送消息
- startLivePushMessage: WX_API_BASE + '/app/liveAndVideo/startLivePushMessage/',
- // 我的-查询各状态订单数量
- getOrderNum: WX_API_BASE + 'app/order/user/my/queryOrderStatus/',
-
- // 获取订单列表
- getOrderList: WX_API_BASE + 'app/order/merchant/my/orderList/',
- // 绑定快递
- bindOrder: WX_API_BASE + 'app/order/merchant/my/orderList/updateOrderByDG',
- // 查询物流信息
- getLogisticsDeatil: WX_API_BASE + 'app/order/getShippingTrace/',
- // 回复订单评价
- evaluateOrder: WX_API_BASE + 'app/order/merchant/my/orderList/updateOrderEvaluateByReply',
- // 发布留言
- addMessage: WX_API_BASE + 'app/order/user/my/orderList/orderDetail/leaMsgList/addLeaMsg',
- // 获取订单详情
- getOrderDetail: WX_API_BASE + 'app/order/user/my/orderList/orderDetail',
- // 编辑订单数量
- editOrder: WX_API_BASE + 'app/order/user/editOrder',
- // 查询优惠券列表
- getCouponList: WX_API_BASE + 'app/merchants/merchantsCouponGrantPage',
- // 发放优惠券
- addCoupon: WX_API_BASE + 'app/merchants/merchantsGrantCoupon',
- // 查询授权用户列表
- getAuthorizeList: WX_API_BASE + 'app/auth/merchant/my/authUserList/',
- // 生成授权码
- createAuthorizeCode: WX_API_BASE + 'app/auth/merchant/my/authUserList/createAuthCode',
- // 获取用户授权详情
- getAuthorizeDetail: WX_API_BASE + 'app/auth/merchant/my/authUserInfo/',
- // 用户授权
- setAuthorize: WX_API_BASE + 'app/auth/merchant/my/authUserInfo/updateAuth/',
- // 删除授权用户
- deleteAuthorizeUser: WX_API_BASE + 'app/auth/merchant/my/delAuthUser/',
- // 上传文件
- uploadFile: WX_API_BASE + 'app/uploadManage/upload',
- // 获取版本号
- getAppVersion: WX_API_BASE + 'app/auth/getAppLastestVersion/merchant'
- }
|