|
|
@ -469,6 +469,7 @@ class PaymentMerchantController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
public function addRule()
|
|
|
|
public function addRule()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->meta_title = '新增支付商户配置';
|
|
|
|
$gameService = new GameService();
|
|
|
|
$gameService = new GameService();
|
|
|
|
$gameTypes = $gameService->getGameTypes(null, 'id,type_name');
|
|
|
|
$gameTypes = $gameService->getGameTypes(null, 'id,type_name');
|
|
|
|
$games = $gameService->getBaseGames(null, 'id,name');
|
|
|
|
$games = $gameService->getBaseGames(null, 'id,name');
|
|
|
@ -554,6 +555,8 @@ class PaymentMerchantController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
public function editRule()
|
|
|
|
public function editRule()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->meta_title = '修改支付商户配置';
|
|
|
|
|
|
|
|
|
|
|
|
$id = I('id', 0);
|
|
|
|
$id = I('id', 0);
|
|
|
|
$rule = M('payment_rule', 'tab_')->where(['id' => $id])->find();
|
|
|
|
$rule = M('payment_rule', 'tab_')->where(['id' => $id])->find();
|
|
|
|
if ($rule === null) {
|
|
|
|
if ($rule === null) {
|
|
|
|