woody 1 год назад
Родитель
Сommit
12ce1692d9

+ 0 - 7
src/main/resources/application-dev.yml

@@ -18,13 +18,6 @@ nacos:
 
 oauth:
   secret: oauth.token.secret@chelvc!@#2023
-  clients:
-    - id: chelvc_client
-      secret: chelvc@secret#2023!
-      scopes: ADMIN,CUSTOMER,MERCHANT
-      grants: sms,wechat,password,refresh_token
-      access-token-timeout: 3600
-      refresh-token-timeout: 86400
 
 upload:
   clients:

+ 0 - 7
src/main/resources/application-pre.yml

@@ -18,13 +18,6 @@ nacos:
 
 oauth:
   secret: oauth.token.secret@chelvc!@#2023
-  clients:
-    - id: chelvc_client
-      secret: chelvc@secret#2023!
-      scopes: ADMIN,CUSTOMER,MERCHANT
-      grants: sms,wechat,password,refresh_token
-      access-token-timeout: 3600
-      refresh-token-timeout: 86400
 
 upload:
   clients:

+ 0 - 7
src/main/resources/application-prod.yml

@@ -18,13 +18,6 @@ nacos:
 
 oauth:
   secret: oauth.token.secret@chelvc!@#2023
-  clients:
-    - id: chelvc_client
-      secret: chelvc@secret#2023!
-      scopes: ADMIN,CUSTOMER,MERCHANT
-      grants: sms,wechat,password,refresh_token
-      access-token-timeout: 3600
-      refresh-token-timeout: 86400
 
 upload:
   clients:

+ 0 - 7
src/main/resources/application-test.yml

@@ -18,13 +18,6 @@ nacos:
 
 oauth:
   secret: oauth.token.secret@chelvc!@#2023
-  clients:
-    - id: chelvc_client
-      secret: chelvc@secret#2023!
-      scopes: ADMIN,CUSTOMER,MERCHANT
-      grants: sms,wechat,password,refresh_token
-      access-token-timeout: 3600
-      refresh-token-timeout: 86400
 
 upload:
   clients:

+ 3 - 1
src/main/resources/i18n/messages.properties

@@ -1,8 +1,10 @@
 ADMIN=管理端
 CUSTOMER=顾客端
 MERCHANT=商家端
+Success=成功
+Failure=服务异常,请稍后重试
 Forbidden=拒绝访问
-Header.Invalid=请求头无效
+Header.Missing=请求头缺失
 Time.Deviated=请校准系统时间
 Token.Invalid=令牌无效
 Token.Expired=当前会话已失效,请重新登陆