添加查询打卡情况接口

This commit is contained in:
huangdeliang
2020-12-03 10:16:30 +08:00
parent 7053e69a33
commit b7483086a2
6 changed files with 27 additions and 9 deletions

View File

@ -125,4 +125,10 @@ public class SysWxUserLogController extends BaseController {
sysWxUserLog.setLogTime(DateTimeUtil.getCurrentTimeDate());
return add(sysWxUserLog);
}
@GetMapping(value = "/wx/logs/check/{openid}")
public AjaxResult checkLog(@PathVariable String openid) {
int count = sysWxUserLogService.checkWxLogInfoCount(openid);
return AjaxResult.success(count);
}
}