feat: 切换公网域名 track.iris-rs.cn + track_back.iris-rs.cn
This commit is contained in:
@ -33,7 +33,7 @@ export default {
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
const currentWgtVersion = sysInfo.appWgtVersion || sysInfo.appVersion || "0";
|
||||
const currentVersionCode = this.parseVersionCode(currentWgtVersion);
|
||||
const baseUrl = uni.getStorageSync("env_base_url") || "http://172.16.0.198:8011/api/v1";
|
||||
const baseUrl = uni.getStorageSync("env_base_url") || "http://track_back.iris-rs.cn/api/v1";
|
||||
|
||||
console.log("[OTA] 本地WGT版本:", currentWgtVersion, "| 数字版本:", currentVersionCode);
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
* 未设置时默认走生产服务器。开发时如需切换,在登录前手动设置。
|
||||
*/
|
||||
|
||||
const PROD_URL = "http://172.16.0.198:8011/api/v1";
|
||||
const PROD_URL = "http://track_back.iris-rs.cn/api/v1";
|
||||
|
||||
// ============================================================
|
||||
// 环境 URL
|
||||
|
||||
Reference in New Issue
Block a user