|
|
@@ -404,11 +404,11 @@ trait SettelementLogic
|
|
|
$order_ids = array_map(function ($i) {
|
|
|
return strval($i);
|
|
|
}, $idoarr);
|
|
|
- $bettype = $paras['bettype'];
|
|
|
- $settype = $paras['settype'];
|
|
|
- $game_code = $paras['game_code'];
|
|
|
- $match_id = $paras['match_id'];
|
|
|
- $change_status = $paras['change_status'];
|
|
|
+ $bettype = isset($paras['bettype']) ? $paras['bettype'] : 0;
|
|
|
+ $settype = isset($paras['settype']) ? $paras['settype'] : 0;
|
|
|
+ $game_code = isset($paras['game_code']) ? $paras['game_code'] : '';
|
|
|
+ $match_id = isset($paras['match_id']) ? $paras['match_id'] : 0;
|
|
|
+ $change_status = isset($paras['change_status']) ? $paras['change_status'] : 0;
|
|
|
|
|
|
if (intval($match_id) <= 0) {
|
|
|
throw new \Exception('赛事ID不能为空!');
|
|
|
@@ -432,7 +432,6 @@ trait SettelementLogic
|
|
|
$this->PDatas['game_code'] = $game_code;
|
|
|
$this->PDatas['match_id'] = $match_id;
|
|
|
|
|
|
-
|
|
|
$ret = [$order_ids, $bettype, $settype, $game_code, $match_id, $change_status];
|
|
|
|
|
|
return $ret;
|