|
@@ -532,7 +532,7 @@ class Betorder extends BaseController{
|
|
|
->where('id',$v['match_id'])
|
|
->where('id',$v['match_id'])
|
|
|
->first();
|
|
->first();
|
|
|
|
|
|
|
|
- $match_time = $info->match_date.''.$info->match_time;
|
|
|
|
|
|
|
+ $match_time = $info->match_date.' '.$info->match_time;
|
|
|
|
|
|
|
|
$orderData = [
|
|
$orderData = [
|
|
|
'order_type'=>1,//订单类型 1单式 2串式
|
|
'order_type'=>1,//订单类型 1单式 2串式
|
|
@@ -1091,14 +1091,14 @@ class Betorder extends BaseController{
|
|
|
//=====拼接赛事数据===
|
|
//=====拼接赛事数据===
|
|
|
//获取开赛时间
|
|
//获取开赛时间
|
|
|
//根据球类代码 获取相关model
|
|
//根据球类代码 获取相关model
|
|
|
- $models = $this->commonFunction->getModels($v['ballId']);
|
|
|
|
|
|
|
+ $models = $this->commonFunction->getModels($vv['ballId']);
|
|
|
$model_match = $models['model_match'];
|
|
$model_match = $models['model_match'];
|
|
|
$info = lm($model_match,'Sports')
|
|
$info = lm($model_match,'Sports')
|
|
|
->select('match_date','match_time')
|
|
->select('match_date','match_time')
|
|
|
->where('id',$vv['match_id'])
|
|
->where('id',$vv['match_id'])
|
|
|
->first();
|
|
->first();
|
|
|
|
|
|
|
|
- $match_time = $info->match_date.''.$info->match_time;
|
|
|
|
|
|
|
+ $match_time = $info->match_date.' '.$info->match_time;
|
|
|
$match_data_order[] = [
|
|
$match_data_order[] = [
|
|
|
'game_code'=>$vv['ballId'],//球类代码
|
|
'game_code'=>$vv['ballId'],//球类代码
|
|
|
'other_match_id'=>$vv['others_match_id'],//第三方赛事id 188
|
|
'other_match_id'=>$vv['others_match_id'],//第三方赛事id 188
|