v1.0.3
CI / build-deploy (pull_request) Failing after 2m52s
CI / notify-on-failure (pull_request) Successful in 0s

This commit is contained in:
Timi
2026-08-01 01:13:08 +08:00
parent ce22661a9b
commit 15bf9bd688
31 changed files with 131 additions and 145 deletions
@@ -45,7 +45,7 @@ public class JournalAPIInterceptor implements HandlerInterceptor {
requiredUploadPermission = handlerMethod.getMethodAnnotation(RequiredUploadPermission.class) != null;
}
if (!canAccess()) {
throw new TimiException(TimiCode.PERMISSION_MISS).msgKey("invalid.key");
throw new TimiException(TimiCode.PERMISSION_MISS, "invalid.key");
}
return !requiredUploadPermission || canUploadKey();
}