This commit is contained in:
pengxiaolong
2025-07-18 13:06:06 +08:00
parent 6dec463705
commit 31527ba8a6
1853 changed files with 65500 additions and 98288 deletions

View File

@@ -2,8 +2,8 @@ import addPrefixToHeaderIcon from './addPrefixToHeaderIcon.js'
export default function request(urldata) {
const { url, data, method, header, userInfo } = urldata;
// const baseUrl = "http://49.235.115.212:8086/"+ url;
const baseUrl = "https://pk.zhukeping.com/"+ url;
// const baseUrl = "http://120.26.251.180:8086/"+ url;
// const baseUrl = "https://pk.zhukeping.com/"+ url;
const baseUrl = "http://120.26.251.180:8086/"+ url;
// const baseUrl = "http://192.168.1.218:8086/"+ url;
if (userInfo) {
return new Promise((resolve, reject) => {
@@ -18,8 +18,8 @@ export default function request(urldata) {
method: method,
header: header,
success: function (res) {
console.log("请求成功", res);
resolve(addPrefixToHeaderIcon(res.data));
// resolve(res.data);
},
fail: function (res) {
reject(res);
@@ -49,7 +49,7 @@ export default function request(urldata) {
method: method,
header: header,
success: function (res) {
// resolve(res.data);
console.log("请求成功", res);
resolve(addPrefixToHeaderIcon(res.data));
},
fail: function (res) {