lizhen_gitee 1 年間 前
コミット
3d2c7e55a8
1 ファイル変更1 行追加1 行削除
  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']);