切换为线上域名
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
window.wsUrl = 'wss://epp.only4.work/access/websocket/1';
|
||||
window.wsUrl = 'wss://epp-prod.only4.work/access/websocket/1';
|
||||
// window.wsUrl = 'ws://127.0.0.1:80/access/websocket/1';
|
||||
// window.wsUrl = 'ws://127.0.0.1:8002/access/websocket/1';
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
// 定义常量
|
||||
const url = "https://epp.only4.work/access/wechat/getUnlimitedQRCode"
|
||||
const url = "https://epp-prod.only4.work/access/wechat/getUnlimitedQRCode"
|
||||
const page = "pages/index/index" // "pages/scan/entrance"
|
||||
const envVersion = "develop" // 正式版为 "release",体验版为 "trial",开发版为 "develop"
|
||||
const autoColor = true
|
||||
@@ -102,7 +102,7 @@ window.changePanelSelectGate = changePanelSelectGate
|
||||
|
||||
// 发送请求,获取大门列表
|
||||
async function getGateList() {
|
||||
const response = await fetch('https://epp.only4.work/access/gate/guard-client/getGateList');
|
||||
const response = await fetch('https://epp-prod.only4.work/access/gate/guard-client/getGateList');
|
||||
const data = await response.json();
|
||||
return data.data;
|
||||
}
|
||||
|
Reference in New Issue
Block a user