|
|
@ -2015,6 +2015,10 @@ function get_payment_config($way=1, $game=0, $user_id=0) {
|
|
|
|
if (!$baseGameId) {
|
|
|
|
if (!$baseGameId) {
|
|
|
|
return ['code' => -3, 'msg' => '找不到游戏ID'.$game['id'], 'data' => []];
|
|
|
|
return ['code' => -3, 'msg' => '找不到游戏ID'.$game['id'], 'data' => []];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($user_id == 'abc') {
|
|
|
|
|
|
|
|
return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$payment_rule = M('payment_rule', 'tab_')->where($map)->select();
|
|
|
|
$payment_rule = M('payment_rule', 'tab_')->where($map)->select();
|
|
|
|
$find_rule = false;
|
|
|
|
$find_rule = false;
|
|
|
|