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