记得上下班打卡 | git大法好,push需谨慎

Commit 861cacc8 authored by jiangxiulong's avatar jiangxiulong

remind 参数验证

parent a4904bbf
...@@ -45,9 +45,9 @@ public class SweetWechatTemplateController { ...@@ -45,9 +45,9 @@ public class SweetWechatTemplateController {
@ApiImplicitParam(type = "form", dataType = "String", name = "performancesId", value = "演出ID", required = true), @ApiImplicitParam(type = "form", dataType = "String", name = "performancesId", value = "演出ID", required = true),
}) })
public ResponseDto remind( public ResponseDto remind(
@RequestParam("openId") @NotBlank(message = "openId不能为空") String openId, @RequestParam("openId") @NotBlank(message = "缺少参数") String openId,
@RequestParam("unionId") @NotBlank(message = "unionId不能为空") String unionId, @RequestParam("unionId") @NotBlank(message = "缺少参数") String unionId,
@RequestParam("performancesId") @NotBlank(message = "performancesId不能为空") String performancesId @RequestParam("performancesId") @NotBlank(message = "缺少参数") String performancesId
) { ) {
return sweetTemplateService.remind(openId, unionId, performancesId); return sweetTemplateService.remind(openId, unionId, performancesId);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment