1004749546@qq.com 4 years ago
parent
commit
d983bbd977
5 changed files with 9 additions and 8 deletions
  1. 4 4
      App.vue
  2. 1 1
      manifest.json
  3. 1 1
      package-lock.json
  4. 2 2
      package.json
  5. 1 0
      pages/userCenter/index.vue

+ 4 - 4
App.vue

@@ -1,9 +1,9 @@
 <script>
-	// const uat_domain = 'https://lese.test.sxzxyj.net' // 预发布
-	const uat_domain = 'http://192.168.16.221:8305' // 本地
-	const pro_domain = 'https://lese.sxzxyj.net' // 生产
+	const uat_domain = 'https://gather.test.sxzxyj.net' // 预发布
+	// const uat_domain = 'http://192.168.16.225:8305' // 本地
+	const pro_domain = 'https://gather.sxzxyj.net' // 生产
 	const uat_URL = uat_domain+'/gc-gather/' // 预发布
-	const pro_URL = pro_domain+'/gc-shop/'  // 生产
+	const pro_URL = pro_domain+'/gc-gather/'  // 生产
 	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
 	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url
 	const envText = ['预发布环境','生产环境']

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "分类垃圾录入端",
-    "appid" : "__UNI__CFE91AD",
+    "appid" : "__UNI__778E110",
     "description" : "智享亿家分类垃圾录入端小程序",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 1 - 1
package-lock.json

@@ -1,5 +1,5 @@
 {
-  "name": "zxyj-mini-html",
+  "name": "zxyj-collect-mini-html",
   "version": "1.0.0",
   "lockfileVersion": 1,
   "requires": true,

+ 2 - 2
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "zxyj-mini-html",
+  "name": "zxyj-collect-mini-html",
   "version": "1.0.0",
   "description": "",
   "main": "main.js",
@@ -8,7 +8,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "http://git.chelingzhu.com/chelingzhu-web/zxyj-mini-html.git"
+    "url": "http://git.chelingzhu.com/chelingzhu-web/zxyj-collect-mini-html.git"
   },
   "keywords": [],
   "author": "",

+ 1 - 0
pages/userCenter/index.vue

@@ -39,6 +39,7 @@
 		onShow() {
 			checkLogin().then(res => {
 				this.hasLogin = res.status == 200
+				console.log(this.hasLogin,res,'this.hasLogin')
 				if(this.hasLogin){
 					this.getUserInfo()
 				}else{