Compare commits

..

2 Commits

Author SHA1 Message Date
BianLzhaoMin c3de865eaa 代码合并 2024-12-12 11:06:35 +08:00
BianLzhaoMin 613fd3d85b 提交http配置 2024-12-12 11:01:05 +08:00
1 changed files with 26 additions and 11 deletions

View File

@ -15,15 +15,29 @@ class HttpConfig {
// baseUrl = "https://z.csgmall.com.cn/gl" // baseUrl = "https://z.csgmall.com.cn/gl"
// baseUrl = "http://10.40.92.141:28080" // baseUrl = "http://10.40.92.141:28080"
// #endif // #endif
// 基地址 // 基地址 (部署时使用 需要加 dev-api
// authPath = `${this.baseUrl}/dev-api/auth`; // authPath = `${this.baseUrl}/dev-api/auth`
// systemPath = `${this.baseUrl}/dev-api/system`; // systemPath = `${this.baseUrl}/dev-api/system`
// basePath = `${this.baseUrl}/dev-api/base`; // basePath = `${this.baseUrl}/dev-api/base`
// materialPath = `${this.baseUrl}/dev-api/material`; // materialPath = `${this.baseUrl}/dev-api/material`
authPath = `${this.baseUrl}/auth`; baseUrl =
systemPath = `${this.baseUrl}/system`; ENV === "production"
basePath = `${this.baseUrl}/material/base`; ? "http://192.168.0.56:21627/dev-api"
materialPath = `${this.baseUrl}/material`; : this.target;
authPath =
ENV === "production" ? `${this.baseUrl}/auth` : `${this.baseUrl}/auth`;
systemPath =
ENV === "production"
? `${this.baseUrl}/system`
: `${this.baseUrl}/system`;
basePath =
ENV === "production"
? `${this.baseUrl}/material/base`
: `${this.baseUrl}/material/base`;
materialPath =
ENV === "production"
? `${this.baseUrl}/material`
: `${this.baseUrl}/material`;
// 短链 // 短链
serviceUrl = { serviceUrl = {
login: { login: {
@ -61,7 +75,8 @@ class HttpConfig {
fetchExamListAll: "/tm_task/getLeaseAuditListAll", // 获取领料申请列表 fetchExamListAll: "/tm_task/getLeaseAuditListAll", // 获取领料申请列表
fetchTrueExamList: "/tm_task/getLeaseManageListAll", // 获取领料审批列表 fetchTrueExamList: "/tm_task/getLeaseManageListAll", // 获取领料审批列表
fetchTrueExamListCq: "/tm_task/getLeaseManageListAllCq", // 获取重庆领料审批列表 fetchTrueExamListCq: "/tm_task/getLeaseManageListAllCq", // 获取重庆领料审批列表
fetchDetailList: "/tm_task/getLeaseListAll", // 获取领料明细列表 fetchDetailList: "/tm_task/getLeaseListAllCq", // 获取领料明细列表
fetchConfirmByCq: "/tm_task/updateLeaseTaskStatusConfirmByCq",
subExam: "/tm_task/auditLeaseByCompany", // 通过领料审批 subExam: "/tm_task/auditLeaseByCompany", // 通过领料审批
subExamCq: "/tm_task/auditLeaseByCompanyCq", // 通过重庆领料审批 subExamCq: "/tm_task/auditLeaseByCompanyCq", // 通过重庆领料审批
rejectExam: "/tm_task/rejectLeaseByCompany", // 驳回领料审批 rejectExam: "/tm_task/rejectLeaseByCompany", // 驳回领料审批
@ -126,7 +141,7 @@ class HttpConfig {
backReceiveEndBack: "/backReceive/endBack", backReceiveEndBack: "/backReceive/endBack",
seeBackMaterialDetail: "/backReceive/backReceiveRecord", // 查看退料明细 seeBackMaterialDetail: "/backReceive/backReceiveRecord", // 查看退料明细
searchRfid: "/backReceive/rfidCodeQuery", // 查询rfid searchRfid: "/backReceive/rfidCodeQuery", // 查询rfid
subRfid: "/backReceive/setRfidCodeBack", subRfid: "/backReceive/setRfidCodeBack",
}, },
// 报废审核接口 // 报废审核接口
crashExam: { crashExam: {