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.
 
 
 
 
 

52 lines
2.2 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`, // 收款记录
collectionDetails:`${ORIGIN}/admin/assistant/collection/details`, // 收款记录-收款明细
reservationOrder:`${ORIGIN}/admin/stadium/order/list`, // 预约订单
membershipOrder:`${ORIGIN}/admin/member_card/order/list`, // 会员卡订单
integralOrder:`${ORIGIN}/admin/shop/order/list`, // 积分商城订单
integralOrderSend:`${ORIGIN}/admin/shop/order/ship`, // 积分商城订单-发货
// 营业额统计
turnoverBrand:`${ORIGIN}/admin/assistant/turnover/brand/calc`, // 营业额记录-品牌
turnoverStadium:`${ORIGIN}/admin/assistant/turnover/brand/stadium/calc`, // 营业额记录-门店
// 消息列表
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`, // 未审核员工列表
}
export default { ORIGIN, API };