|
|
@@ -22,7 +22,7 @@ class St_bq_odds extends Model
|
|
|
* 获取赔率数据
|
|
|
*/
|
|
|
public static function getOddsData($where=[],$select='id',$sort='id',$orderby='asc'){
|
|
|
- $oddsData = self::select($select)->where($where)->groupby("match_id","type")->get();
|
|
|
+ $oddsData = self::select($select)->where($where)->groupby("lg_id","match_id","type")->get();
|
|
|
return $oddsData;
|
|
|
}
|
|
|
|