|
@@ -17,7 +17,7 @@ class StWqResult extends Model
|
|
|
//写赛事结果
|
|
//写赛事结果
|
|
|
public static function WQresult($model){
|
|
public static function WQresult($model){
|
|
|
//获取赛事表15天内所有非 未开始赛事
|
|
//获取赛事表15天内所有非 未开始赛事
|
|
|
- $matchData = $model['model_match']::select('id','home_player_name','guest_player_name','lg_id','status','tag','match_date','match_time')
|
|
|
|
|
|
|
+ $matchData = $model['model_match']::select('id','match_id','home_player_name','guest_player_name','lg_id','status','tag','match_date','match_time')
|
|
|
->where([['ctime','>',date('Y-m-d H:m:i', strtotime("-7 day"))]])
|
|
->where([['ctime','>',date('Y-m-d H:m:i', strtotime("-7 day"))]])
|
|
|
->get()
|
|
->get()
|
|
|
->toarray();
|
|
->toarray();
|