|
|
@ -2016,9 +2016,9 @@ function get_payment_config($way=1, $game=0, $user_id=0, $pay_amount = 0) {
|
|
|
|
return ['code' => -3, 'msg' => '找不到游戏ID'.$game['id'], 'data' => []];
|
|
|
|
return ['code' => -3, 'msg' => '找不到游戏ID'.$game['id'], 'data' => []];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ($pay_amount >= 500) {
|
|
|
|
// if ($pay_amount >= 500) {
|
|
|
|
return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']];
|
|
|
|
// 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;
|
|
|
|