diff --git a/config/menu.yml b/config/menu.yml index 155553bc2..712d2dd79 100644 --- a/config/menu.yml +++ b/config/menu.yml @@ -2,7 +2,7 @@ button: - type: "view" name: "我的动态" - url: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8e1ab05163a28e37&redirect_uri=https://www.trustie.net/wechat/user_activities&response_type=code&scope=snsapi_base&state=123#wechat_redirect" + url: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxf694495398c7d470&redirect_uri=http://wechat.trustie.net/wechat/user_activities&response_type=code&scope=snsapi_base&state=123#wechat_redirect" - type: "click" name: "意见反馈" diff --git a/config/wechat.yml b/config/wechat.yml index cf5be1f2b..cf0703e81 100644 --- a/config/wechat.yml +++ b/config/wechat.yml @@ -5,11 +5,11 @@ default: &default # Or if using public account, only need above two line # guange test - #appid: "wxf694495398c7d470" - #secret: "743e038392f1d89540e95f8f7645849a" + appid: "wxf694495398c7d470" + secret: "743e038392f1d89540e95f8f7645849a" - appid: "wx8e1ab05163a28e37" - secret: "beb4d3bc4b32b3557811680835357841" + #appid: "wx8e1ab05163a28e37" + #secret: "beb4d3bc4b32b3557811680835357841" token: "123456" access_token: "1234567" diff --git a/public/assets/wechat/app.html b/public/assets/wechat/app.html index 8e3d38005..5059c41ab 100644 --- a/public/assets/wechat/app.html +++ b/public/assets/wechat/app.html @@ -17,7 +17,6 @@