This commit is contained in:
jiangyinzhi
2025-01-16 16:21:23 +08:00
parent 7f7ff91a5e
commit 561624a90c
17 changed files with 54 additions and 368 deletions
+2 -17
View File
@@ -2,6 +2,7 @@
import myAxios from "./axios";
import myAxios2 from "./axios2";
const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':''
const sxAdmin = process.env.VUE_APP_CITY_TYPE == 'sx'?'/admin/grsg2':'/thirdpart/grsg'
/**
* 查询系统码表
@@ -39,7 +40,7 @@ export function getUserInfo(params) {
//获取ai
export function getLoginInfoByGrsg(params) {
return myAxios({
url: `/thirdpart/grsg/loginGrsg`, //后端接口路由
url: `${sxAdmin}/loginGrsg`, //后端接口路由
method: 'post',
data: params
})
@@ -63,21 +64,5 @@ export function getUserLevel() {
}
//获取返回base64
export function downReportTime(data) {
return myAxios2({
url: `${sx}/energy-effcicency-net-service/nxzdReportTemplaNet/downReportTime`, //后端接口路由
method: 'post',
data
})
}
// 保存日志
export function saveLog(data) {
return myAxios({
url: `${sx}/energy-effcicency-net-service/log/saveLog`, //后端接口路由
method: 'post',
data
})
}