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
@@ -37,7 +37,7 @@ public class LyricController {
// @PostMapping("/correct")
// public long correctRequest(CaptchaData<LyricCorrectRequest> request) {
// if (IOSize.MB * 120 < request.getData().getFile().getSize()) {
// throw new TimiException(TimiCode.ARG_BAD).msgKey("lyric.correct_request.too_big");
// throw new TimiException(TimiCode.ARG_BAD, "lyric.correct_request.too_big");
// }
// return correctService.correctRequest(request.getData());
// }
@@ -135,7 +135,7 @@ public class LyricServiceImplement extends AbstractEntityService<Lyric, String>
return lyric;
} catch (Exception e) {
log.error("fetch lyric fail", e);
throw new TimiException(TimiCode.ERROR).msgKey("无法获取歌词");
throw new TimiException(TimiCode.ERROR, "无法获取歌词");
}
}
}