提交 aef3fe70 authored 作者: inroi's avatar inroi

微调

上级 0b56b766
......@@ -112,6 +112,7 @@ public class ApiAuthController {
try {
authInfo = restTemplate.postForObject(accessTokenUri, request, JSONObject.class);
} catch (HttpClientErrorException e) {
e.printStackTrace();
System.out.println("发生异常");
if (e.getStatusCode().equals(HttpStatus.BAD_REQUEST)) {
byte[] bs = e.getResponseBodyAsByteArray();
......
......@@ -80,7 +80,7 @@ security:
client-id: user-client
client-secret: user-secret-8888
# user-authorization-uri: http://127.0.0.7:${server.port}/oauth/authorize
access-token-uri: http://192.168.2.152:${server.port}/oauth/token
access-token-uri: http://192.168.2.152:${server.port}/nzwz/oauth/token
resource:
jwt:
#key-uri: http://starbos-auth-system:6001/oauth/token_key
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论