1
This commit is contained in:
parent
5326f53445
commit
43ce858748
@ -926,6 +926,9 @@ class UserController extends BaseAuthedController {
|
||||
if (SignLog::isSignRecord()){
|
||||
//有签到记录
|
||||
$row = SignLog::find();
|
||||
if ($row['days'] == 7){
|
||||
return;
|
||||
}
|
||||
$paramMeta = \mt\Parameter::getByName('sign_daily_duration');
|
||||
$end_time = myself()->_getDaySeconds($row['createtime']) + $paramMeta['param_value']*24*60*60;
|
||||
//判断当前时间是否结束 并且 上次签到是否领取 并且 签到时间是否满足第二天签到
|
||||
|
Loading…
x
Reference in New Issue
Block a user