Sfoglia il codice sorgente

优化隐私弹窗

wangxin 2 anni fa
parent
commit
c1b21878b4
3 ha cambiato i file con 16 aggiunte e 14 eliminazioni
  1. 2 0
      app.js
  2. 12 12
      config/config.js
  3. 2 2
      project.config.json

+ 2 - 0
app.js

@@ -16,6 +16,8 @@ import {
 var startTime = Date.now(); //启动时间
 App({
   onLaunch: function (options) {
+		const systemInfo = wx.getSystemInfoSync()
+		console.log('微信版本=>',systemInfo.version,'小程序版本=>',systemInfo.SDKVersion)
 		console.log(options);
     // 设置城市列表
     this.setAreaList();

+ 12 - 12
config/config.js

@@ -1,18 +1,18 @@
 // 测试服
-// const apiUrl = "https://kf.hap-job.com/happyjob"
-// const rootUrl = "https://kf.hap-job.com"
-// const imgServerUrl = "https://hpjobtest.oss-cn-shanghai.aliyuncs.com/uploadfiles/mina"//静态资源图片服务器地址
-// const imgServerUrl_new = "https://hpjobtest.oss-cn-shanghai.aliyuncs.com"//图片服务器地址
-// const captcha = '2078399419'
-// const webViewUrl = 'https://hwd.hap-job.com/front'
+const apiUrl = "https://kf.hap-job.com/happyjob"
+const rootUrl = "https://kf.hap-job.com"
+const imgServerUrl = "https://hpjobtest.oss-cn-shanghai.aliyuncs.com/uploadfiles/mina"//静态资源图片服务器地址
+const imgServerUrl_new = "https://hpjobtest.oss-cn-shanghai.aliyuncs.com"//图片服务器地址
+const captcha = '2078399419'
+const webViewUrl = 'https://hwd.hap-job.com/front'
 
 // 正式服
-const apiUrl = "https://web.hap-job.com/happyjob"
-const rootUrl = "https://web.hap-job.com"
-const imgServerUrl = "https://happyjob.oss-cn-shanghai.aliyuncs.com/uploadfiles/mina" //图片服务器地址
-const imgServerUrl_new = "https://happyjob.oss-cn-shanghai.aliyuncs.com" //图片服务器地址
-const captcha = '2019232819'
-const webViewUrl = 'https://hwcloud.hap-job.com/front'
+// const apiUrl = "https://web.hap-job.com/happyjob"
+// const rootUrl = "https://web.hap-job.com"
+// const imgServerUrl = "https://happyjob.oss-cn-shanghai.aliyuncs.com/uploadfiles/mina" //图片服务器地址
+// const imgServerUrl_new = "https://happyjob.oss-cn-shanghai.aliyuncs.com" //图片服务器地址
+// const captcha = '2019232819'
+// const webViewUrl = 'https://hwcloud.hap-job.com/front'
 
 module.exports = {
   apiUrl,

+ 2 - 2
project.config.json

@@ -13,7 +13,7 @@
 		"autoAudits": true,
 		"showShadowRootInWxmlPanel": true,
 		"scopeDataCheck": false,
-		"uglifyFileName": true,
+		"uglifyFileName": false,
 		"checkInvalidKey": true,
 		"checkSiteMap": true,
 		"uploadWithSourceMap": true,
@@ -371,5 +371,5 @@
 		],
 		"include": []
 	},
-	"appid": "wx1e8ed93850777ffb"
+	"appid": "wx5ae6908ae55edcb7"
 }