无头模式测试

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-22 03:51:37 +08:00
parent 5ab90ea221
commit 7389f6d716
535 changed files with 991 additions and 162534 deletions

View File

@@ -28,8 +28,10 @@ import AppAction from "./AppAction";
// let APIPath = `http://localhost:8080`
// let WsPath = `ws://localhost:8080/websocket`
let APIPath = `http://192.168.0.174:8080`
let WsPath = `ws://192.168.0.174:8080/websocket`
let APIPath = `http://192.168.1.23:8080`
let WsPath = `ws://192.168.1.23:8080/websocket`
// let APIPath = `http://192.168.0.174:8080`
// let WsPath = `ws://192.168.0.174:8080/websocket`
// let APIPath = `https://api.pet.jisol.cn`
// let WsPath = `wss://api.pet.jisol.cn/websocket`
@@ -229,7 +231,8 @@ export const app = {
}
app.api.addRequestInterceptors((config:JAPIConfig) => {
//设置Token
config.headers["Token"] = StorageData.get(StorageEnum.Token);
// //设置Token
// if(StorageData.get(StorageEnum.Token))
// config.headers["Token"] = StorageData.get(StorageEnum.Token);
return true;
})