修复code认证问题

This commit is contained in:
蓝白 committed 2025-05-21 18:55:51 +08:00
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;
};