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.
40 lines
1.4 KiB
40 lines
1.4 KiB
export const ORIGIN = `http://testmanager.ouxuanzhineng.cn`; // 测试
|
|
|
|
export const API = {
|
|
wechatMiniAppLoginAndSync:`${ORIGIN}/user/wechatMiniAppLoginAndSync`, // 小程序授权
|
|
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`, // 收款记录
|
|
|
|
|
|
reservationOrder:`${ORIGIN}/admin/stadium/order/list`, // 预约订单
|
|
membershipOrder:`${ORIGIN}/admin/member_card/order/list`, // 会员卡订单
|
|
integralOrder:`${ORIGIN}/admin/shop/order/list`, // 积分商城订单
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
// 员工管理
|
|
API['employee'] = {
|
|
inviteCode:`${ORIGIN}/admin/assistant/qrcode/invite`, // 添加员工二维码
|
|
employeeAdd:`${ORIGIN}/assistant/employee/add`, // 添加员工-填写信息
|
|
employeeList:`${ORIGIN}/admin/assistant/employee/list`, // 员工列表
|
|
|
|
}
|
|
|
|
|
|
export default { ORIGIN, API };
|
|
|
|
|
|
|