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