梁汉强 4 лет назад
Родитель
Сommit
c3f5be53ad
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      common/conf/config.js
  2. 1 1
      common/utils/global.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/global.js

@@ -1,5 +1,5 @@
 let global = {
-	baseUrl: 'http://yyzs.nanyue6688.com/ldt/api'
+	baseUrl: 'https://yyzs.nanyue6688.com/ldt/api'
 	// baseUrl: 'http://192.168.1.48:9612'
 }