wesmiler 2 ヶ月 前
コミット
f9e9a7e608
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Models/ArticleModel.php

+ 1 - 1
app/Models/ArticleModel.php

@@ -41,7 +41,7 @@ class ArticleModel extends BaseModel
     // 时间
     public function getTimeTextAttribute()
     {
-        return $this->create_time ? dateFormat(strtotime($this->create_time)) : '';
+        return $this->create_time ? format_time(strtotime($this->create_time)) : '';
     }
 
     /**