修改
All checks were successful
API接口参数变更检测 / api-param-check (push) Successful in 42s

This commit is contained in:
2026-06-04 09:54:22 +08:00
parent 1b19e8366e
commit f9d2937fa1

View File

@@ -46,7 +46,7 @@ public class CultureClockInController {
* @param response HttpServletResponse
*/
@GetMapping(value = "/random-preview")
public void getRandomPicPreview(@RequestParam(value = "lastCombo", required = false) String lastCombo, HttpServletRequest request, HttpServletResponse response) throws Exception {
public void getRandomPicPreview(@RequestParam(value = "lastCombo", required = true) String lastCombo1, HttpServletRequest request, HttpServletResponse response) throws Exception {
MutablePair<String, BufferedImage> pair = cultureClockInService.getRandomPicPreview(lastCombo, requestUrl);
if (pair == null || pair.getRight() == null) {