|
|
@@ -2,16 +2,10 @@ import { getAccountInfoSync } from "./lib/wx/open-api";
|
|
|
|
|
|
const miniProgram = getAccountInfoSync();
|
|
|
const env = miniProgram.envVersion;
|
|
|
-console.log("env",env)
|
|
|
-let host = "wx2.hzliuzhi.com";
|
|
|
-if (env === "trial") {
|
|
|
- host = "test.hzliuzhi.com";
|
|
|
-} else if (env === "develop") {
|
|
|
- // host = "wx2.hzliuzhi.com";
|
|
|
- host = "wx.hzliuzhi.com:4433";
|
|
|
+let host = "xingxinsaas.com";
|
|
|
+if (env === "trial" || env === 'develop') {
|
|
|
// host = "test.hzliuzhi.com";
|
|
|
}
|
|
|
-console.log("host",host)
|
|
|
export const Base_URL = `https://${host}/manager/fdhb-mobile`;
|
|
|
export const Upload_URL = `https://${host}/manager/file`;
|
|
|
|