hmp 4 лет назад
Родитель
Сommit
90a0c1261c
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      common/conf/config.js
  2. 1 1
      common/utils/mixin.js

+ 1 - 1
common/conf/config.js

@@ -5,7 +5,7 @@ const appId = 'wx322e246549d7620d';
 const appSecret = '118059d75bc8c1a08162fc8a8cf5ac04';
 
 //经过编码后的回调地址
-const redireactUrl = 'http://yyzs.nanyue6688.com/vote-h5/index.html#/';
+const redireactUrl = 'https://yyzs.nanyue6688.com/vote-h5/index.html#/';
 
 //获取用户授权信息Code
 const authUrl = (path) => { return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${encodeURIComponent(redireactUrl+path)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`};

+ 1 - 1
common/utils/mixin.js

@@ -12,7 +12,7 @@ let page = {
   },
   onLoad(options) {
 	  if (!this.$u.test.isEmpty(options.activityId)) {
-		  console.log("**********************activityId",userId);
+		  console.log("**********************activityId",options.activityId);
 		  this.$u.api.activity.detail({id: options.activityId}).then(res => {
 		  	let userId=uni.getStorageSync("userId")
 			console.log("**********************userId",userId);