feat: 切换公网域名 track.iris-rs.cn + track_back.iris-rs.cn
This commit is contained in:
@ -40,7 +40,7 @@ services:
|
|||||||
DATABASE_URL: postgresql+asyncpg://track:track_prod_2026@track_db_prod:5432/track_production
|
DATABASE_URL: postgresql+asyncpg://track:track_prod_2026@track_db_prod:5432/track_production
|
||||||
SECRET_KEY: change-me-in-production-please
|
SECRET_KEY: change-me-in-production-please
|
||||||
DEBUG: "false"
|
DEBUG: "false"
|
||||||
CORS_ORIGINS: '["http://172.16.0.198:8010","https://172.16.0.198:8010","http://172.16.0.198","tauri://localhost"]'
|
CORS_ORIGINS: '["http://track.iris-rs.cn","http://track_back.iris-rs.cn","http://172.16.0.198:8010","http://172.16.0.198","tauri://localhost"]'
|
||||||
# 🚀 MOM 老系统数据库 — 用户登录验证 + 用户名单来源
|
# 🚀 MOM 老系统数据库 — 用户登录验证 + 用户名单来源
|
||||||
MOM_DB_HOST: inventory_db_prod
|
MOM_DB_HOST: inventory_db_prod
|
||||||
MOM_DB_PORT: "5432"
|
MOM_DB_PORT: "5432"
|
||||||
|
|||||||
@ -33,7 +33,7 @@ export default {
|
|||||||
const sysInfo = uni.getSystemInfoSync();
|
const sysInfo = uni.getSystemInfoSync();
|
||||||
const currentWgtVersion = sysInfo.appWgtVersion || sysInfo.appVersion || "0";
|
const currentWgtVersion = sysInfo.appWgtVersion || sysInfo.appVersion || "0";
|
||||||
const currentVersionCode = this.parseVersionCode(currentWgtVersion);
|
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);
|
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
|
// 环境 URL
|
||||||
|
|||||||
Reference in New Issue
Block a user