|
@@ -62,8 +62,7 @@ class MotionService extends BaseService
|
|
|
->orderBy('days','desc')
|
|
->orderBy('days','desc')
|
|
|
->first();
|
|
->first();
|
|
|
if($checkInfo){
|
|
if($checkInfo){
|
|
|
- $dateTime = strtotime(date('Y-m-d', $checkInfo->create_time));
|
|
|
|
|
- if($dateTime < strtotime(date('Y-m-d'))){
|
|
|
|
|
|
|
+ if($checkInfo->create_time < strtotime(date('Y-m-d'))){
|
|
|
$days = $checkInfo->days+1;
|
|
$days = $checkInfo->days+1;
|
|
|
}else{
|
|
}else{
|
|
|
$days = $checkInfo->days;
|
|
$days = $checkInfo->days;
|