master
382696293@qq.com 2 years ago
parent 16b6e68044
commit 4f7967e5c0

@ -79,7 +79,7 @@ public class WxClockLogController extends BaseController {
* firstClockImg * firstClockImg
*/ */
@PostMapping("/insertClockLog") @PostMapping("/insertClockLog")
public R insertClockLog(@Validated WxClockLogReq wxClockLogReq) { public R insertClockLog(@Validated @RequestBody WxClockLogReq wxClockLogReq) {
if (wxClockLogReq.getClockImageList() == null || wxClockLogReq.getClockImageList().size() == 0) { if (wxClockLogReq.getClockImageList() == null || wxClockLogReq.getClockImageList().size() == 0) {
logger.error("请上传打卡图片"); logger.error("请上传打卡图片");
throw new ServiceException("请上传打卡图片"); throw new ServiceException("请上传打卡图片");

Loading…
Cancel
Save