Browse Source

时间戳

lizhen_gitee 1 year ago
parent
commit
3d2c7e55a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Usercenter.php

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

@@ -547,7 +547,7 @@ class Usercenter extends Api
             ->select();
         $lesson = $this->list_lang($list,['name']);
         if(!empty($list)){
-            foreach($list as $key => &$val){
+            foreach($lesson as $key => &$val){
                 //日期
                 if($this->lang == 'zh-cn'){
                     $val['showtime_text'] = date('m月d,Y',$val['starttime']).'-'.date('m月d,Y',$val['endtime']);