gang.huang 1 år sedan
förälder
incheckning
a3f13ce9a2
3 ändrade filer med 9 tillägg och 2 borttagningar
  1. 6 0
      app.json
  2. 2 1
      config.js
  3. 1 1
      utils/base64.js

+ 6 - 0
app.json

@@ -51,6 +51,12 @@
             {
                 "iconPath": "./image/tabbar/oil.png",
                 "selectedIconPath": "./image/tabbar/oiled.png",
+                "pagePath": "pages/phoneCharges/phoneCharges",
+                "text": "话费"
+            },
+            {
+                "iconPath": "./image/tabbar/oil.png",
+                "selectedIconPath": "./image/tabbar/oiled.png",
                 "pagePath": "pages/postage/postage",
                 "text": "加油"
             },

+ 2 - 1
config.js

@@ -3,9 +3,10 @@ var arrsign = require('./utils/util.js').arrsign
 import transformCode from './utils/base64.js'
 
 
-let api = "http://192.168.1.200/mobile/index.php";
+// let api = "http://192.168.1.200/mobile/index.php";
 // let api = "https://www.xyzshops.cn/mobile/index.php";
 // let api = "http://www.xyzshops.cn/mobile/index.php";
+let api = "http://hmini.ibaobei.shop:8080/mobile/index.php";
 
 function getReq(app, data, callback, method) {
   let options = {

+ 1 - 1
utils/base64.js

@@ -171,7 +171,7 @@
   // };
 
   function transformCode(params) {
-    return encodeURIComponent(_encode(params))
+    return encodeURIComponent(params)
   }
 
 export default transformCode