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.
161 lines
8.5 KiB
161 lines
8.5 KiB
// export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试
|
|
export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式
|
|
// export const ORIGIN = `http://192.168.1.135:9090`; // 20210927 测试
|
|
|
|
|
|
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}/admin/stadium/list`, // 店铺列表
|
|
stadiumDetail: `${ORIGIN}/admin/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`, // 收款记录-收款明细
|
|
|
|
// 20220422 收款记录
|
|
consumeCountLs: `${ORIGIN}/admin/stadium/consumeCount/list`, // 收款记录
|
|
consumeCountDetailLs: `${ORIGIN}/admin/stadium/consumeCountDetail/list`, // 收款明细列表
|
|
consumeCountGetScene: `${ORIGIN}/consumeRecordScene/list`, // 场景列表
|
|
consumeCountStadiumList: `${ORIGIN}/admin/assistant/consume/stadium/list`, // 店铺列表
|
|
|
|
|
|
|
|
// 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`, // 发放金额
|
|
|
|
// 20210916 订单列表接口
|
|
venueCourseOrderList: `${ORIGIN}/admin/venueCourse/orderList`, // 课程订单 - 列表
|
|
userValueCardList: `${ORIGIN}/admin/userValueCard/list`, // 用户储值卡-扣费_copy
|
|
momentOrderList: `${ORIGIN}/admin/perfect/moment/order/list`, // 后台-高光时刻订单列表_copy
|
|
// hardwareOrderList: `${ORIGIN}/admin/stadium/hardware/order/list`, // 硬件管理-订单列表_copy
|
|
hardwareOrderList: `${ORIGIN}/admin/assistant/hardware/order/list`, // 硬件管理-订单列表_copy
|
|
appointmentOrderList: `${ORIGIN}/admin/gameAppointment/orderList`, // 赛事订单列表_copy
|
|
shop2OrderList: `${ORIGIN}/admin/shop2/orderList`, // 商城订单 - 列表_copy交易成功
|
|
retailOrderList: `${ORIGIN}/admin/erp/retailOrder/list`, // 订单管理-零售订单列表
|
|
|
|
// 20211112
|
|
userMonthlyCardLs: `${ORIGIN}/admin/userMonthlyCard/list`, // 列表用户年月卡-后台
|
|
|
|
// 营业额统计
|
|
turnoverBrand: `${ORIGIN}/admin/assistant/turnover/brand/calc`, // 营业额记录-品牌
|
|
turnoverStadium: `${ORIGIN}/admin/assistant/turnover/brand/stadium/calc`, // 营业额记录-门店
|
|
|
|
// 20220415 新统计接口
|
|
consumeCountGet: `${ORIGIN}/admin/stadium/consumeCount/get`, // 收入统计获取 包含年月日近7天
|
|
|
|
|
|
turnoverDay: `${ORIGIN}/admin/assistant/turnover/calc/day`, // 营业额记录-时间选择-天
|
|
turnoverMonth: `${ORIGIN}/admin/assistant/turnover/calc/month`, // 营业额记录-时间选择-月
|
|
turnoverYear: `${ORIGIN}/admin/assistant/turnover/calc/year`, // 营业额记录-时间选择-年
|
|
|
|
|
|
// 消息列表
|
|
messageList:`${ORIGIN}/admin/brand/message/list`, // 系统消息列表
|
|
messageRead:`${ORIGIN}/brand/message/read`, // 查看系统消息
|
|
|
|
// 20220725
|
|
userValueOrderLs:`${ORIGIN}/admin/userValueOrder/list`, // 用户储值卡订单
|
|
|
|
}
|
|
|
|
// 员工管理
|
|
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/stadium/venue/takeUp`, // 商家助手-占用场地提交
|
|
takeUpList: `${ORIGIN}/admin/timeSelect/list/4`, // 商家助手-占用场地列表
|
|
setStatus: `${ORIGIN}/admin/timeSelect/setStatus`, // 商家助手-占用场地列表
|
|
|
|
// 20210726 新增
|
|
venueList: `${ORIGIN}/admin/stadium/venue/dashboard/list`, // 场地列表 20210726 看板新增修改
|
|
dashboardInfo: `${ORIGIN}/admin/stadium/venue/dashboard/detail`, // 看板详情
|
|
takeUpVerifyQr: `${ORIGIN}/admin/stadium/venue/takeUpVerifyQr`, // 商家助手 - 占用核销码
|
|
takeUpShareQr: `${ORIGIN}/admin/stadium/venue/takeUpShareQr`, // 商家助手 - 占用分享码
|
|
takeUpCancel: `${ORIGIN}/admin/stadium/venue/takeUpCancel`, // 商家助手-取消占用场地
|
|
orderRefund: `${ORIGIN}/admin/stadium/order/cancel`, // 商家助手 - 退款
|
|
|
|
// 20210806
|
|
FixedOccupyCancel: `${ORIGIN}/admin/VenueNumberFixedOccupy/cancel`, // 固定场取消订场
|
|
|
|
// 20220921
|
|
releaseVenue: `${ORIGIN}/admin/stadium/order/releaseVenue`, // 【1000995】释放场地
|
|
|
|
// 20230728
|
|
refundOrderCheck: `${ORIGIN}/pay/huishouqian/refundOrderCheck`, // 惠收钱退款-查询订单
|
|
}
|
|
|
|
// 2.1 核销
|
|
|
|
API['writeOff'] = {
|
|
listVerifyRecord: `${ORIGIN}/admin/stadium/order/listVerifyRecord`, // 核销记录
|
|
enterVerifyOrder: `${ORIGIN}/admin/stadium/order/enterVerifyOrder`, // 商家助手-核销查询-输入验证码
|
|
assistantVerify: `${ORIGIN}/admin/stadium/order/assistantVerify`, // 商家助手-核销查询-核销
|
|
userMonthlyCardVerify: `${ORIGIN}/admin/userMonthlyCard/verify`, // 年月卡核销-后台
|
|
userMonthlyCardOpenGate: `${ORIGIN}/admin/userMonthlyCard/openGate`, // 年月卡开门-后台
|
|
|
|
// 20211228 新增商城核销
|
|
shop2WriteoffList: `${ORIGIN}/admin/assistant/shop2/writeoffList`, // 商城订单核销 - 列表
|
|
shop2WriteoffGet: `${ORIGIN}/admin/assistant/shop2/writeoffGet`, // 商城订单核销 - 获取订单信息
|
|
shop2WriteoffSet: `${ORIGIN}/admin/assistant/shop2/writeoffSet`, // 商城订单核销 - 确认核销
|
|
timingNumber: `${ORIGIN}/stadium/person/timing/number`, // 现场人数
|
|
setStadiumPresentNumber: `${ORIGIN}/admin/stadium/setStadiumPresentNumber`, // 商家助手散客人数校正
|
|
|
|
// 20220208 散客现场人数恢复凌晨清零功能+计时订单优化
|
|
leaveVerifyOrder:`${ORIGIN}/admin/stadium/order/leaveVerifyOrder`, //核销记录列表 - 手动离场
|
|
timingOpen:`${ORIGIN}/stadium/person/timing/open`, //凌晨自动清零【开/关】
|
|
notLeavingNums:`${ORIGIN}/stadium/person/timing/notLeavingNums`, //凌晨自动清零 - 未离场订单数量
|
|
|
|
// 20220222 新增赛事核销
|
|
// matchOrderVerify: `${ORIGIN}/admin/assistant/matchOrder/verify`, // 赛事订单确认核销 /用回之前的核销
|
|
matchOrderGateLs: `${ORIGIN}/admin/assistant/matchOrderGate/list`, // 商家助手-赛事订单核销后获取门
|
|
matchOrderGateOpen: `${ORIGIN}/admin/assistant/matchOrderGate/open`, // 商家助手-赛事订单核销后-开门
|
|
|
|
dyPoiEnterVerifyOrder: `${ORIGIN}/admin/douyinPlatformProductOrder/enterVerifyOrder`, // 商家助手- 获取dypoi订单信息
|
|
dyPoiAssistantVerify: `${ORIGIN}/admin/douyinPlatformProductOrder/assistantVerify`, // 商家助手-核销dypoi订单
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
// 20230817 【ID1001370】 商家助手次卡订单增加核销功能
|
|
|
|
API['order'] = {
|
|
reservationDetail:`${ORIGIN}/admin/assistant/stadiumOrder/detail`, //k-订单管理-场馆预约订单-预约场馆订单详情/ 次卡订单详情
|
|
sessionVerify:`${ORIGIN}/admin/person/number/rule/orderinfo/sessionVerify`, // 次票核销,输入二维码数量核销
|
|
}
|
|
|
|
|
|
export default { ORIGIN, API };
|
|
|
|
|
|
|
|
|