|
|
@@ -114,11 +114,11 @@ class SportsNoteList extends BaseModel
|
|
|
//匹配球队
|
|
|
$teamType_home = commonFunction::checkstr($vv->odds_name,'主队');
|
|
|
$teamType_guest = commonFunction::checkstr($vv->odds_name,'客队');
|
|
|
-
|
|
|
+ $teamName = '';
|
|
|
//主队名
|
|
|
if($teamType_home == 1){
|
|
|
$teamName = $v->home_team;
|
|
|
- }
|
|
|
+ }else
|
|
|
//客队名
|
|
|
if($teamType_guest == 1){
|
|
|
$teamName = $v->guest_team;
|