You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
duoji-frontend/src/api/http/http-api.js

59 lines
1.2 KiB
JavaScript

export default {
getRealTimeList: {
method: "POST",
url: "/realTime",
name: "获取实时监控列表"
},
realTimeLychee: {
method: "GET",
url: "/realTime/lychee",
name: "获取荔枝的ip"
},
getStreetList: {
method: "POST",
url: "/street/page",
name: "获取巷道列表"
},
addStreet: {
method: "POST",
url: "/street",
name: "新增巷道"
},
editStreet: {
method: "PUT",
url: "/street",
name: "编辑巷道"
},
// deleteStreet: {
// method: "DELETE",
// url: "/street",
// name: "删除巷道"
// },
getCameraList: {
method: "POST",
url: "/camera/page",
name: "获取球机列表"
},
addCamera: {
method: "POST",
url: "/camera",
name: "新增球机"
},
editCamera: {
method: "PUT",
url: "/camera",
name: "编辑球机"
},
getChannel: {
method: "POST",
url: "/lychee/stream/push",
name: "获取channel字符集"
},
queryList: {
url: '/order/list',
name: '查询',
method: 'POST'
}
}