Browse Source

重建系统公告

lizhen_gitee 1 year ago
parent
commit
836edfb009
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -36,7 +36,7 @@ class Index extends Api
         $message = Db::name('message_sys')->where('is_show',1)->where('is_index',1)->order('weigh','desc')->find();
         $message = $this->info_lang($message,['title','info']);
         if($message){
-            $message['createtime'] = date('Y-m-d',$message['createtime']);
+            $message['createtime'] = date('Y-m-d',$message['sendtime']);
         }
 
         //留个好评