ソースを参照

四川成都项目初部署

cc12458 7 ヶ月 前
コミット
84a0176bb3
3 ファイル変更4 行追加10 行削除
  1. 2 8
      miniprogram/app.config.ts
  2. 1 1
      miniprogram/app.json
  3. 1 1
      project.config.json

+ 2 - 8
miniprogram/app.config.ts

@@ -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`;
 

+ 1 - 1
miniprogram/app.json

@@ -103,7 +103,7 @@
     "popup-user-auth": "./components/popup-user-auth/popup-user-auth",
     "popup-privacy": "./components/popup-privacy/popup-privacy"
   },
-  "requiredPrivateInfos": ["getFuzzyLocation", "chooseAddress"],
+  "requiredPrivateInfos": ["chooseAddress"],
   "permission": {
     "scope.userFuzzyLocation": {
       "desc": "你的位置信息将用于小程序推荐"

+ 1 - 1
project.config.json

@@ -47,7 +47,7 @@
     "tabIndent": "insertSpaces",
     "tabSize": 2
   },
-  "appid": "wx1d724069d8dfb994",
+  "appid": "wx9b581d53c2ebbe12",
   "packOptions": {
     "ignore": [],
     "include": []