Kaynağa Gözat

wesmiler 报恩寺项目提交

wesmiler 4 yıl önce
ebeveyn
işleme
a76da0e780
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Services/MotionService.php

+ 1 - 1
app/Services/MotionService.php

@@ -62,7 +62,7 @@ class MotionService extends BaseService
             ->orderBy('days','desc')
             ->first();
         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'))){
                 $days = $checkInfo->days+1;
             }else{