完成教师档案
This commit is contained in:
parent
68a4707644
commit
1d26651752
@ -1,6 +1,7 @@
|
||||
const ip: string = "192.168.8.35:8897";
|
||||
const fwqip: string = "yufangzc.com";
|
||||
//打包服务器接口代理标识
|
||||
const SERVERAGENT: string = "/";
|
||||
const SERVERAGENT: string = "/jsd-api";
|
||||
//本地代理url地址,配置了就启动代理,没配置就不启动代理
|
||||
export const HOMEAGENT: string = "";
|
||||
// 接口地址
|
||||
@ -9,7 +10,7 @@ export const BASE_URL: string =
|
||||
// WebSocket地址
|
||||
export const BASE_WS_URL: string = `wss://${ip}`;
|
||||
//图片地址
|
||||
export const BASE_IMAGE_URL: string = `http://${ip}/zhxy`;
|
||||
export const BASE_IMAGE_URL: string = process.env.NODE_ENV == "development" ? `http://${ip}` : `https://${fwqip}`;
|
||||
//存token的key
|
||||
export const AUTH_KEY: string = "satoken";
|
||||
//token过期返回状态码
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "模版",
|
||||
"name": "智慧校园",
|
||||
"appid": "__UNI__27C6F45",
|
||||
"description": "",
|
||||
"versionName": "1.0.0",
|
||||
@ -207,9 +207,9 @@
|
||||
"uniStatistics": {
|
||||
"enable": false
|
||||
},
|
||||
"publicPath": "/",
|
||||
"publicPath": "/zhxy-jsd",
|
||||
"router": {
|
||||
"base": "/",
|
||||
"base": "/zhxy-jsd/",
|
||||
"mode": "hash"
|
||||
},
|
||||
"sdkConfigs": {
|
||||
|
||||
@ -36,7 +36,7 @@ function toHome() {
|
||||
}
|
||||
}
|
||||
onLoad(async (data: any) => {
|
||||
data.openId = "123";
|
||||
console.log(data);
|
||||
if (data && data.openId) {
|
||||
setGlobal(data);
|
||||
checkOpenId({ openId: data.openId, appCode: "JS" })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user