fanxp 1 year ago
parent
commit
d5f056f782

+ 4 - 4
src/main/resources/application-prod.yml

@@ -48,10 +48,10 @@ xjrsoft:
   oss:
     #enabled: true
     cloud-type: minio
-    access-key: ycbx
-    secret-key: qwe123QWE
-    endpoint: https://test.minio.yingcaibx.com
-    bucket-name: learun
+    access-key: 2LHjFEvzGaSTw7vt
+    secret-key: taHsgYz9hk7ZrQZD
+    endpoint: http://219.153.208.41:9000
+    bucket-name: tl
     prefix: xjr
   generate:
     webPath: E:\code\font\xjrsoft-vue3 #生成代码的路径

+ 4 - 4
src/main/resources/sqlScript/init_sql.sql

@@ -884,11 +884,11 @@ create table oauth_client_details
     `client_id` varchar(100) not null COMMENT '应用标识',
     `client_name` varchar(200) not null COMMENT '应用名称',
     `client_secret` varchar(200) not null COMMENT '应用密钥',
-    `web_server_redirect_uri` varchar(2000) not null COMMENT '回调地址',
-    `scope` varchar(200) not null default 'all' COMMENT '授权',
-    access_token_validity_seconds bigint not null default 3600 comment '令牌时效(s)' ,
+    `allow_url` varchar(4000) not null default '*' COMMENT '应用允许授权的所有URL, 多个用逗号隔开',
+    `scope` varchar(200) not null default 'all' COMMENT '应用签约的所有权限, 多个用逗号隔开',
+    access_token_timeout bigint not null default 3600 comment '令牌时效(s)' ,
     refresh_token_validity_seconds bigint not null default 28800 comment '刷新时效(s)' ,
-    authorized_grant_types varchar(1000) not null default 'authorization_code,password,client_credentials,implicit,refresh_token,password_code,openId,mobile_password' COMMENT '授权模式',
+    authorized_grant_types varchar(1000) not null default 'authorization_code,password,client_credentials,implicit' COMMENT '授权模式',
     status int not null default 1 comment '状态 1=启用 2=禁用',
     `create_date` date null default null COMMENT '创建时间',
     `modify_date` date null default null COMMENT '修改时间',