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.
74 lines
4.0 KiB
74 lines
4.0 KiB
import { ORIGIN } from '../../../js/api';
|
|
|
|
export const DEVICE_API = {
|
|
ORIGIN:ORIGIN,
|
|
stadiumList:`${ORIGIN}/admin/stadium/list`, // 店铺列表
|
|
vendingGoodsList:`${ORIGIN}/stadium/vending/goods/list`, // 售货柜-商品列表
|
|
vendingGoodsRestock:`${ORIGIN}/admin/stadium/vending/goods/restock`, // 售货柜-库存修改保存
|
|
|
|
vendingTestAll:`${ORIGIN}/admin/stadium/vending/path/test/all`, // 售货柜-全部货道测试
|
|
vendingTestOne:`${ORIGIN}/admin/stadium/vending/path/test/one`, // 售货柜-单货道测试
|
|
hardwareSave:`${ORIGIN}/admin/stadium/hardware/save`, // 设备开启/关闭
|
|
|
|
drinkList:`${ORIGIN}/admin/stadium/coffee/drink/list`, // 咖啡机口味列表
|
|
drinkRestock:`${ORIGIN}/admin/stadium/coffee/drink/restock`, // 咖啡机口味补货
|
|
|
|
leaseList:`${ORIGIN}/admin/stadium/lease/cabinet/list`, // 租售柜列表
|
|
lockerList:`${ORIGIN}/admin/stadium/locker/cabinet/list`, // 储物柜列表
|
|
leaseTest:`${ORIGIN}/admin/stadium/lease/cabinet/test`, // 租售柜打开
|
|
lockerTest:`${ORIGIN}/admin/stadium/locker/cabinet/test`, // 储物柜打开
|
|
leaseReset:`${ORIGIN}/admin/stadium/lease/cabinet/reset`, // 储物柜补货
|
|
|
|
|
|
|
|
hardwareInfo:`${ORIGIN}/admin/stadium/hardware/get/`, // 设备信息
|
|
hardwareList:`${ORIGIN}/admin/stadium/hardware/list`, // 设备列表
|
|
// ouxuanac:`${ORIGIN}/ouxuanac/sendPacket`, // 中控控制
|
|
ouxuanac:`${ORIGIN}/stadiumOuxuanac/sendPacket`, // 中控控制 20220511 解决那个门禁的东东
|
|
// ouxuanac--> http://api.ouxuan.net/project/233/interface/api/10012 接口文档
|
|
// ouxuanac--> http://git.ouxuan.net/ouxuanac/ouxuanac-common/src/branch/master/cmd.ts // 接口参数结构 || ouxuanac.md
|
|
|
|
// PM:2021/4/19
|
|
reservationDetail:`${ORIGIN}/admin/assistant/stadiumOrder/detail`, //k-订单管理-场馆预约订单-预约场馆订单详情
|
|
unbindIccard:`${ORIGIN}/admin/assistant/unbindIccard`, //k-订单管理-解绑订单的ic卡
|
|
bindIcCard:`${ORIGIN}/admin/assiatant/bindIcCard`, //k-订单管理-绑定ic卡
|
|
checkIccard:`${ORIGIN}/admin/assistant/checkIccard`, //k-订单管理-校验ic卡
|
|
storeHouseList:`${ORIGIN}/admin/assistant/storeHouse/list`, //k-仓库列表
|
|
iccardList:`${ORIGIN}/admin/assistant/iccard/list`, //k-ic卡列表
|
|
timeOrderEnd:`${ORIGIN}/admin/assistant/timeOrder/end`, //k-订单管理-订单计时结束
|
|
timeOrderComplete:`${ORIGIN}/admin/assistant/timeOrder/complete`, //【20220208】k-订单管理-计时订单完结
|
|
|
|
// 20210521 恢复次卡核销状态
|
|
recoveryToSuccess:`${ORIGIN}/admin/stadium/order/recoveryToSuccess`, // 恢复次卡核销状态
|
|
|
|
//2021/0507
|
|
organizeOrderDetail:`${ORIGIN}/assistant/gaPlayTogetherOrder/get`, //助手约玩订单详情
|
|
|
|
//2021/0705 音响
|
|
uploadAudio:`${ORIGIN}/upload/file/audio`, // 上传录音
|
|
sendAudio:`${ORIGIN}/ouxuanac/sendPacket`, // 发送上传录音并播放
|
|
|
|
//2021/0713
|
|
acUpdate:`${ORIGIN}/ouxuanac/getDescribeDevice`, //中控在线状态查询
|
|
|
|
getRouterDetail:`${ORIGIN}/ouxuanac/router4G/get`, //查询路由详情
|
|
getLotDetail:`${ORIGIN}/ouxuanac/iotSim/huawei/get`, //查询物联卡详情
|
|
reboot4G:`${ORIGIN}/ouxuanac/router4G/reboot`, //重启4G 路由
|
|
|
|
// 20211015
|
|
orderRefund:`${ORIGIN}/admin/stadium/order/refund`, // 订场/次卡退款
|
|
|
|
// 【ID1000841】 20220516 小程序-商家助手菜单入口权限优化
|
|
hardwareTypeList:`${ORIGIN}/admin/stadium/hardwareType/list`, // 设备权限列表
|
|
|
|
// 【ID1001350】 20230815 小程序-商家助手小程序设备管理优化
|
|
ouxuanacList:`${ORIGIN}/admin/ouxuanac/list`, // 获取中控信息
|
|
|
|
// 20230816 新增品牌切换按钮
|
|
currentUser:`${ORIGIN}/admin/assistant/currentUser`, // 获取用户信息
|
|
brandList:`${ORIGIN}/stadium/brand/all`, // 获取品牌列表
|
|
brandInfo:`${ORIGIN}/stadium/brand/get`, // 获取品牌信息
|
|
|
|
}
|
|
|
|
export default DEVICE_API;
|