Explorar el Código

更新 配置;接口

wzh hace 3 años
padre
commit
b0001aaffc
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 1 1
      miniprogram/apis/apiConfig.js
  2. 3 2
      project.private.config.json

+ 1 - 1
miniprogram/apis/apiConfig.js

@@ -2,7 +2,7 @@ let v = wx.getAccountInfoSync()
 let {
   envVersion
 } = v.miniProgram
-let apiUrl = `${envVersion == 'release'?'https://interface.huihenduo.cc/hhd-ship/':'https://interface.huihenduo.cc/hhd-ship-dev/'}`
+let apiUrl = `${envVersion == 'release'?'https://interface.huihenduo.cc/hhd-ship/':'https://interface.huihenduo.com.cn/hhd-ship-dev/'}`
 
 function api(url, data, method) {
   return new Promise((resolve, reject) => {

+ 3 - 2
project.private.config.json

@@ -70,10 +70,11 @@
     "autoAudits": false,
     "showShadowRootInWxmlPanel": true,
     "checkInvalidKey": true,
-    "compileHotReLoad": false,
+    "compileHotReLoad": true,
     "lazyloadPlaceholderEnable": false,
     "showES6CompileOption": false,
     "useStaticServer": true
   },
-  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+  "projectname": "%E8%88%B9%E4%B8%9C%E5%B0%8F%E7%A8%8B%E5%BA%8F"
 }