You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.6 KiB
73 lines
3.6 KiB
export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试
|
|
// export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式
|
|
|
|
export const API = {
|
|
wechatMiniAppLoginAndSync: `${ORIGIN}/assistant/WechatMiniAppGetToken`, // 小程序授权获取token,为空就登录
|
|
WechatMiniApplogin: `${ORIGIN}/assistant/WechatMiniApplogin`, // 小程序登录获取token
|
|
brandInfo: `${ORIGIN}/stadium/brand/get`, // 品牌信息
|
|
assistantAuth: `${ORIGIN}/assistant/auth`, // 授权绑定 - 获取用户信息
|
|
calc: `${ORIGIN}/admin/assistant/calc`, // 首页 统计页面
|
|
stadiumList: `${ORIGIN}/stadium/list`, // 店铺列表
|
|
stadiumDetail: `${ORIGIN}/stadium/detail`, // A店铺管理-店铺列表-店铺详情
|
|
|
|
verifiedOrderList: `${ORIGIN}/admin/assistant/order/verified`, // 核销订单列表
|
|
verifiedOrderInfo: `${ORIGIN}/admin/stadium/order/get`, // 核销订单信息
|
|
verifiedOrder: `${ORIGIN}/admin/stadium/order/verify`, // 核销订单
|
|
|
|
|
|
collectionRecord: `${ORIGIN}/admin/assistant/collection/record`, // 收款记录
|
|
collectionDetails: `${ORIGIN}/admin/assistant/collection/details`, // 收款记录-收款明细
|
|
|
|
|
|
// reservationOrder: `${ORIGIN}/admin/stadium/order/list`, // 预约订单
|
|
reservationOrder:`${ORIGIN}/admin/assistant/stadiumOrder/list`, //k-订单管理-预约订单列表 PM:2021/4/19
|
|
timeOrder:`${ORIGIN}/admin/assistant/timeOrder/list`, //k-订单管理-计时订单列表 PM:2021/4/19
|
|
|
|
membershipOrder: `${ORIGIN}/admin/member_card/order/list`, // 会员卡订单
|
|
|
|
integralOrder: `${ORIGIN}/admin/shop/order/list`, // 积分商城订单
|
|
integralOrderSend: `${ORIGIN}/admin/shop/order/ship`, // 积分商城订单-发货
|
|
organizeOrderList: `${ORIGIN}/assistant/gaPlayTogetherOrder/list`, // 约玩订单列表
|
|
amountIssued: `${ORIGIN}/assistant/gaPlayTogetherOrder/amountIssued`, // 发放金额
|
|
|
|
|
|
// 营业额统计
|
|
turnoverBrand: `${ORIGIN}/admin/assistant/turnover/brand/calc`, // 营业额记录-品牌
|
|
turnoverStadium: `${ORIGIN}/admin/assistant/turnover/brand/stadium/calc`, // 营业额记录-门店
|
|
|
|
turnoverDay: `${ORIGIN}/admin/assistant/turnover/calc/day`, // 营业额记录-时间选择-天
|
|
turnoverMonth: `${ORIGIN}/admin/assistant/turnover/calc/month`, // 营业额记录-时间选择-月
|
|
turnoverYear: `${ORIGIN}/admin/assistant/turnover/calc/year`, // 营业额记录-时间选择-年
|
|
|
|
|
|
// 消息列表
|
|
messageList:`${ORIGIN}/brand/message/list`, // 系统消息列表
|
|
messageRead:`${ORIGIN}/brand/message/read`, // 查看系统消息
|
|
|
|
}
|
|
|
|
// 员工管理
|
|
API['employee'] = {
|
|
inviteCode: `${ORIGIN}/admin/assistant/qrcode/invite`, // 添加员工二维码
|
|
employeeAdd: `${ORIGIN}/assistant/employee/add`, // 添加员工-填写信息
|
|
employeeList: `${ORIGIN}/admin/assistant/employee/list`, // 员工列表
|
|
employeeDelete: `${ORIGIN}/admin/assistant/employee/delete`, // 移除员工
|
|
employeeGrant: `${ORIGIN}/admin/assistant/employee/grant`, // 员工授权/审核
|
|
adminReplace: `${ORIGIN}/admin/assistant/replace`, // 更换管理员
|
|
employeeUnreview: `${ORIGIN}/admin/assistant/employee/unreview`, // 未审核员工列表
|
|
|
|
}
|
|
|
|
API['venue'] = {
|
|
venueTypes: `${ORIGIN}/stadium/venue/types`, // 场馆类型
|
|
venueList: `${ORIGIN}/stadium/book/list`, // 场地列表
|
|
venueTakeUp: `${ORIGIN}/admin/assistant/venue/takeUp`, // 商家助手-占用场地提交
|
|
takeUpList: `${ORIGIN}/admin/timeSelect/list/4`, // 商家助手-占用场地列表
|
|
setStatus: `${ORIGIN}/admin/timeSelect/setStatus`, // 商家助手-占用场地列表
|
|
}
|
|
|
|
|
|
export default { ORIGIN, API };
|
|
|
|
|
|
|