修复code认证问题
This commit is contained in:
1 parent
07c840a55b
commit
0e954b2d1d
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class AuthInterceptor implements HandlerInterceptor {
|
||||
List<BaseApp> appList = apiInfo.getAppList();
|
||||
|
||||
boolean auth = switch (apiInfo.getAuthType().toUpperCase()) {
|
||||
case "CODE" -> checkAppCode(request, appList);
|
||||
case "APP_CODE" -> checkAppCode(request, appList);
|
||||
case "APP_SECRET" -> checkHmacSHA256(request, appList);
|
||||
default -> true;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user