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

This commit is contained in:
2026-06-05 11:24:36 +08:00
parent 67e24ceee2
commit f08c34f827
2 changed files with 2 additions and 3 deletions

View File

@@ -144,8 +144,7 @@ def build_markdown_notification(
# 4. 普通参数变更(非路径变更)仍使用原有格式
if changed_reports:
parts.append("# API参数变更通知")
parts.append(f"- **变更类型:** 修改参数")
parts.append("# API参数变更通知")
parts.append(f"- **修改人:** {push_user}")
parts.append(f"- **修改时间:** {push_time}")
parts.append("")

View File

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