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