From 7624dd84c661b92a8d7b1a85f51e0621df1334b5 Mon Sep 17 00:00:00 2001 From: Sola Date: Sun, 27 Mar 2016 15:31:30 +0800 Subject: [PATCH] update wechat custom menu with oauth2 links --- src/main/resources/menu-op.json | 4 ++-- src/main/resources/menu.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/menu-op.json b/src/main/resources/menu-op.json index dac736d..6de9781 100644 --- a/src/main/resources/menu-op.json +++ b/src/main/resources/menu-op.json @@ -19,9 +19,9 @@ "key": "CANCEL" }, { - "type": "click", + "type": "view", "name": "修改资料", - "key": "PROFILE" + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb7a8b799e494b053&redirect_uri=http%3a%2f%2fwcs.sola.love%2foauth2%2fcallback&response_type=code&scope=snsapi_base&state=PROFILE#wechat_redirect" } ] }, diff --git a/src/main/resources/menu.json b/src/main/resources/menu.json index 697b62a..915fe72 100644 --- a/src/main/resources/menu.json +++ b/src/main/resources/menu.json @@ -19,9 +19,9 @@ "key": "CANCEL" }, { - "type": "click", + "type": "view", "name": "修改资料", - "key": "PROFILE" + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxb7a8b799e494b053&redirect_uri=http%3a%2f%2fwcs.sola.love%2foauth2%2fcallback&response_type=code&scope=snsapi_base&state=PROFILE#wechat_redirect" } ] }