签到写死返回true
This commit is contained in:
parent
00658d2049
commit
46fe6c83a6
@ -72,12 +72,14 @@ public class CheckInRestController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@GetMapping("/today")
|
@GetMapping("/today")
|
||||||
public Boolean checkToday(AppExtCommand cmd, String dailyKey) {
|
public Boolean checkToday(AppExtCommand cmd, String dailyKey) {
|
||||||
if (StringUtils.isBlank(dailyKey)) {
|
return true;
|
||||||
|
|
||||||
|
/*if (StringUtils.isBlank(dailyKey)) {
|
||||||
dailyKey = CheckInKeys.DAILY_CHECK_IN.getKey("DAILY_CHECK_IN_" + cmd.getReqUserId() + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt());
|
dailyKey = CheckInKeys.DAILY_CHECK_IN.getKey("DAILY_CHECK_IN_" + cmd.getReqUserId() + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt());
|
||||||
} else {
|
} else {
|
||||||
dailyKey = CheckInKeys.AZIZI_CHECK_IN.getKey("AZIZI_CHECK_IN" + cmd.getReqUserId() + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt());
|
dailyKey = CheckInKeys.AZIZI_CHECK_IN.getKey("AZIZI_CHECK_IN" + cmd.getReqUserId() + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt());
|
||||||
}
|
}
|
||||||
return checkInService.checkToday(cmd, dailyKey);
|
return checkInService.checkToday(cmd, dailyKey);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user