|
@@ -62,7 +62,7 @@ class MotionService extends BaseService
|
|
|
->orderBy('days','desc')
|
|
->orderBy('days','desc')
|
|
|
->first();
|
|
->first();
|
|
|
if($checkInfo){
|
|
if($checkInfo){
|
|
|
- $checkInfo->create_time = strtotime(datetime($checkInfo['create_time'], 'Y-m-d H:i:s'));
|
|
|
|
|
|
|
+ $checkInfo->create_time = strtotime(datetime($checkInfo->create_time, 'Y-m-d H:i:s'));
|
|
|
if($checkInfo->create_time < strtotime(date('Y-m-d'))){
|
|
if($checkInfo->create_time < strtotime(date('Y-m-d'))){
|
|
|
$days = $checkInfo->days+1;
|
|
$days = $checkInfo->days+1;
|
|
|
}else{
|
|
}else{
|