浏览代码

代码提交

twt 3 年之前
父节点
当前提交
05992d9a9f

+ 2 - 2
operatingCompany/common/request.js

@@ -1,6 +1,6 @@
- const baseUrl = 'http://58.56.15.138:20189/' 
+ //const baseUrl = 'http://58.56.15.138:20189/' 
+const baseUrl = 'https://crm.eurorepar.cn/'
  //const baseUrl = 'https://api.dms.66km.com/'
- 
 import md5 from './MD5.js'
 
 

+ 2 - 1
operatingCompany/main.js

@@ -28,7 +28,8 @@ export function createApp() {
   }
 }
 // #endif
-//ae3737d4d27ffc8dff0c8f53c5e35b16  秘钥
+//ae3737d4d27ffc8dff0c8f53c5e35b16   
+//秘钥 86abc1611b51fef4ddcc0a42eb4b800e    wx43160afedef08c4a
 // Vue全局处理undefined和null转为空白字符串
 Vue.prototype.$praseStrEmpty = function(str) {
     if (typeof str === 'undefined' || str === null) {

+ 1 - 1
operatingCompany/manifest.json

@@ -50,7 +50,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "wx33053a645546ec31",
+        "appid" : "wx43160afedef08c4a",
         "setting" : {
             "urlCheck" : false,
             "minified" : true

+ 6 - 2
operatingCompany/pages/logIn/home.vue

@@ -114,11 +114,15 @@
 			uni.showLoading({
 				title: '请稍等'
 			})
+			console.log(this.wxCode)
+			/* uni.navigateTo({
+			 	url: '../logIn/logIn'
+			 }) */
 			 this.$http('accompany/superusers/getWxOpenID', {
 			   code:this.wxCode,
 			 },'GET').then(res => {
-				//console.log(res)
-				//this.openID=res.data.openid;
+				console.log(res)
+				this.openID=res.data.openid;
 				//this.session_key=res.data.session_key;
 				console.log(this.openID)
 				uni.setStorage({