Prechádzať zdrojové kódy

修改了小程序appId

yangwangwen 2 rokov pred
rodič
commit
88c819f56b

+ 1 - 1
pages/recharge/index.js

@@ -34,7 +34,7 @@ Page({
       url: '/api/erp/we/wePhoneCharge',
       data: {
         deviceId: this.deviceid,
-        deposit: 100,
+        deposit: 1,
         token: wx.getStorageSync('token'),
       }
     }

+ 2 - 1
project.config.json

@@ -49,5 +49,6 @@
     "ignore": [],
     "include": []
   },
-  "appid": "wxc0e5a044a76b1e4b"
+  "appid": "wxaf30a386748b4ed8",
+  "simulatorPluginLibVersion": {}
 }

+ 2 - 2
project.private.config.json

@@ -1,7 +1,7 @@
 {
-  "projectname": "electricity",
+  "projectname": "dghd_miniapp",
   "setting": {
-    "compileHotReLoad": false,
+    "compileHotReLoad": true,
     "urlCheck": false
   },
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"

+ 3 - 3
utils/http.js

@@ -1,12 +1,12 @@
 const ui = require('./ui');
-const BASE_URL = 'http://192.168.1.64:8080/monitor'
-// const BASE_URL = 'http://119.29.97.109:8080/monitor'
+ // const BASE_URL = 'http://192.168.2.246:8080/monitor'
+  const BASE_URL = 'http://119.29.97.109:8080/monitor' 
  
 function request(obj) {
     return new Promise(function(resolve, reject) {
       if(obj.showLoading){
         ui.showLoading(obj.message? obj.message : '加载中...');
-      }
+      } 
       var data = {};
       if(obj.data) {
         data = obj.data;