作者 niufei

11

1 -//app.js 1 +
2 App({ 2 App({
3 post: function (url, data, headerParams) { 3 post: function (url, data, headerParams) {
4 wx.showNavigationBarLoading() 4 wx.showNavigationBarLoading()
5 - // wx.showLoading({  
6 - // title: '',  
7 - // }) 5 +
8 var promise = new Promise((resolve, reject) => { 6 var promise = new Promise((resolve, reject) => {
9 let that = this; 7 let that = this;
10 let postData = data; 8 let postData = data;
11 - let baseUrl = 'http://fashion.w.bronet.cn/api'; 9 + let baseUrl = 'https://einp.net/api';
12 let header = { 10 let header = {
13 'content-type': 'application/x-www-form-urlencoded' 11 'content-type': 'application/x-www-form-urlencoded'
14 } 12 }
@@ -45,5 +45,6 @@ @@ -45,5 +45,6 @@
45 "selectedIconPath": "/images/wode_02@2x.png" 45 "selectedIconPath": "/images/wode_02@2x.png"
46 } 46 }
47 ] 47 ]
48 - } 48 + },
  49 + "sitemapLocation": "sitemap.json"
49 } 50 }
@@ -4,21 +4,33 @@ @@ -4,21 +4,33 @@
4 "ignore": [] 4 "ignore": []
5 }, 5 },
6 "setting": { 6 "setting": {
7 - "urlCheck": false, 7 + "urlCheck": true,
8 "es6": true, 8 "es6": true,
9 "postcss": true, 9 "postcss": true,
10 "minified": true, 10 "minified": true,
11 "newFeature": true, 11 "newFeature": true,
12 - "autoAudits": false 12 + "coverView": true,
  13 + "autoAudits": false,
  14 + "uglifyFileName": true,
  15 + "checkInvalidKey": true,
  16 + "checkSiteMap": true,
  17 + "uploadWithSourceMap": true,
  18 + "babelSetting": {
  19 + "ignore": [],
  20 + "disablePlugins": [],
  21 + "outputPath": ""
  22 + }
13 }, 23 },
14 "compileType": "miniprogram", 24 "compileType": "miniprogram",
15 - "libVersion": "2.5.2",  
16 - "appid": "wx9053b434e50ee2dd", 25 + "libVersion": "2.8.0",
  26 + "appid": "wx3270c23301e2e158",
17 "projectname": "chuanda", 27 "projectname": "chuanda",
18 "debugOptions": { 28 "debugOptions": {
19 "hidedInDevtools": [] 29 "hidedInDevtools": []
20 }, 30 },
21 "isGameTourist": false, 31 "isGameTourist": false,
  32 + "simulatorType": "wechat",
  33 + "simulatorPluginLibVersion": {},
22 "condition": { 34 "condition": {
23 "search": { 35 "search": {
24 "current": -1, 36 "current": -1,
  1 +{
  2 + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
  3 + "rules": [{
  4 + "action": "allow",
  5 + "page": "*"
  6 + }]
  7 +}