mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
perf: 规范变量名
This commit is contained in:
parent
28a2717231
commit
c431683540
@ -43,9 +43,9 @@ public class AuthInterceptor implements HandlerInterceptor {
|
||||
String requestUri = request.getRequestURI();
|
||||
|
||||
// 根据请求的 URI 得到认证策略
|
||||
String authStrategyName = requestUri.substring(ApiRouterConsts.API_URL_PREFIX.length() + 1);
|
||||
authStrategyName = authStrategyName.substring(0,authStrategyName.indexOf("/"));
|
||||
authStrategyName = String.format("%sAuthStrategy",authStrategyName);
|
||||
String subUri = requestUri.substring(ApiRouterConsts.API_URL_PREFIX.length() + 1);
|
||||
String systemName = subUri.substring(0,subUri.indexOf("/"));
|
||||
String authStrategyName = String.format("%sAuthStrategy",systemName);
|
||||
|
||||
// 开始认证
|
||||
try {
|
||||
|
@ -18,7 +18,6 @@ import java.util.List;
|
||||
@Builder
|
||||
public class BookCommentRespDto {
|
||||
|
||||
|
||||
private Long commentTotal;
|
||||
|
||||
private List<CommentInfo> comments;
|
||||
@ -41,6 +40,4 @@ public class BookCommentRespDto {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user