From d3051c4cc85fd5c7cdb33531a3d6c32170dd3b92 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Tue, 22 Nov 2022 21:46:09 +0800 Subject: [PATCH] =?UTF-8?q?docs(oauth2.sql):=20=E5=BE=AE=E4=BF=A1=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E7=99=BB=E5=BD=95=E6=A8=A1=E5=BC=8FSQL=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sql/mysql5.x/oauth2.sql | 2 +- docs/sql/mysql8.x/oauth2.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sql/mysql5.x/oauth2.sql b/docs/sql/mysql5.x/oauth2.sql index 22214daa9..203c80c41 100644 --- a/docs/sql/mysql5.x/oauth2.sql +++ b/docs/sql/mysql5.x/oauth2.sql @@ -78,7 +78,7 @@ CREATE TABLE `oauth_client_details` ( INSERT INTO `oauth_client_details` VALUES ('client', '', '{noop}123456', 'all', 'password,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); INSERT INTO `oauth_client_details` VALUES ('mall-admin', '', '{noop}123456', 'all', 'password,refresh_token,captcha', NULL, '', 3600, 7200, NULL, 'true'); INSERT INTO `oauth_client_details` VALUES ('mall-app', '', '{noop}123456', 'all', 'sms_code,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); -INSERT INTO `oauth_client_details` VALUES ('mall-weapp', '', '{noop}123456', 'all', 'sms_code,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); +INSERT INTO `oauth_client_details` VALUES ('mall-weapp', '', '{noop}123456', 'all', 'wechat,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); -- ---------------------------- -- Table structure for oauth_client_token diff --git a/docs/sql/mysql8.x/oauth2.sql b/docs/sql/mysql8.x/oauth2.sql index 11e2b7d00..b940d0a7b 100644 --- a/docs/sql/mysql8.x/oauth2.sql +++ b/docs/sql/mysql8.x/oauth2.sql @@ -78,7 +78,7 @@ CREATE TABLE `oauth_client_details` ( INSERT INTO `oauth_client_details` VALUES ('client', '', '{noop}123456', 'all', 'password,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); INSERT INTO `oauth_client_details` VALUES ('mall-admin', '', '{noop}123456', 'all', 'password,refresh_token,captcha', NULL, '', 3600, 7200, NULL, 'true'); INSERT INTO `oauth_client_details` VALUES ('mall-app', '', '{noop}123456', 'all', 'sms_code,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); -INSERT INTO `oauth_client_details` VALUES ('mall-weapp', '', '{noop}123456', 'all', 'sms_code,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); +INSERT INTO `oauth_client_details` VALUES ('mall-weapp', '', '{noop}123456', 'all', 'wechat,refresh_token', NULL, NULL, 3600, 7200, NULL, 'true'); -- ---------------------------- -- Table structure for oauth_client_token