Jimy 6 년 전
부모
커밋
a8839ee6e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Models/SoccerLeague.php

+ 1 - 1
app/Models/SoccerLeague.php

@@ -87,7 +87,7 @@ class SoccerLeague extends BaseModel {
     //所有赛事id
     function allleague()
     {
-        $data = $this->select('id','name_chinese')->get();
+        $data = $this->select('lg_id','name_chinese')->get();
         if (!$data) {
 			return -5040000102; //无相关信息
 		}