|
@@ -1,7 +1,7 @@
|
|
|
/*
|
|
|
* @Author: your name
|
|
|
* @Date: 2021-11-18 13:40:39
|
|
|
- * @LastEditTime: 2021-12-09 16:01:11
|
|
|
+ * @LastEditTime: 2021-12-13 16:29:38
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
* @FilePath: \hyyfClient\src\utils\chenApi.js
|
|
@@ -295,7 +295,7 @@ export function getAlarmInfo(params) {
|
|
|
// 设备概况
|
|
|
export function getDeviceSummer(params) {
|
|
|
return axios({
|
|
|
- url: 'http://192.168.1.165:8010/device/farm/device/getCountDeviceFailureRate',
|
|
|
+ url: 'http://120.27.234.126:8010/device/farm/device/getCountDeviceFailureRate',
|
|
|
method: 'get',
|
|
|
params: params
|
|
|
})
|
|
@@ -304,7 +304,7 @@ export function getDeviceSummer(params) {
|
|
|
// FIXME: 卓哥接口还没放到服务器上
|
|
|
export function getDeviceList(params) {
|
|
|
return axios({
|
|
|
- url: 'http://192.168.1.165:8010/device/farm/device/listDevice',
|
|
|
+ url: 'http://120.27.234.126:8010/device/farm/device/listDevice',
|
|
|
method: 'get',
|
|
|
params: params
|
|
|
})
|
|
@@ -314,7 +314,7 @@ export function getDeviceList(params) {
|
|
|
// FIXME: 卓哥接口还没放到服务器上
|
|
|
export function postDeviceAdd(params) {
|
|
|
return axios({
|
|
|
- url: 'http://192.168.1.165:8010/device/farm/device/newDevice',
|
|
|
+ url: 'http://120.27.234.126:8010/device/farm/device/newDevice',
|
|
|
method: 'get',
|
|
|
params: params
|
|
|
})
|
|
@@ -324,7 +324,7 @@ export function postDeviceAdd(params) {
|
|
|
// FIXME: 卓哥接口还没放到服务器上
|
|
|
export function postDeviceEdit(params) {
|
|
|
return axios({
|
|
|
- url: 'http://192.168.1.165:8010/device/farm/device/editDevice',
|
|
|
+ url: 'http://120.27.234.126:8010/device/farm/device/editDevice',
|
|
|
method: 'get',
|
|
|
params: params
|
|
|
})
|
|
@@ -334,7 +334,7 @@ export function postDeviceEdit(params) {
|
|
|
// FIXME: 卓哥接口还没放到服务器上
|
|
|
export function postDeviceDel(params) {
|
|
|
return axios({
|
|
|
- url: 'http://192.168.1.165:8010/device/farm/device/removeDevice',
|
|
|
+ url: 'http://120.27.234.126:8010/device/farm/device/removeDevice',
|
|
|
method: 'get',
|
|
|
params: params
|
|
|
})
|