diff --git a/Application/Admin/Controller/PayMerchantController.class.php b/Application/Admin/Controller/PayMerchantController.class.php index 34a592390..ffc427ceb 100644 --- a/Application/Admin/Controller/PayMerchantController.class.php +++ b/Application/Admin/Controller/PayMerchantController.class.php @@ -38,8 +38,8 @@ class PayMerchantController extends ThinkController $map['payed_time'] = array('elt', (strtotime($_REQUEST['timeend']) + 86399)); } - if ($_REQUEST['game_id']) { - $map['game_id'] = $_REQUEST['game_id']; + if ($_REQUEST['account']) { + $map['merchant.account'] = $_REQUEST['account']; } if ($_REQUEST['name']) { diff --git a/Application/Admin/Controller/SpendController.class.php b/Application/Admin/Controller/SpendController.class.php index 0bd40d44d..270745826 100644 --- a/Application/Admin/Controller/SpendController.class.php +++ b/Application/Admin/Controller/SpendController.class.php @@ -72,7 +72,7 @@ class SpendController extends ThinkController unset($_REQUEST['pay_game_status']); } - if (isset($_REQUEST['merchant_id'])) { + if ($_REQUEST['merchant_id']) { $map['merchant_id'] = $_REQUEST['merchant_id']; unset($_REQUEST['merchant_id']); } diff --git a/Application/Admin/View/Partner/add.html b/Application/Admin/View/Partner/add.html index ab72c45e1..b0e4f67a6 100644 --- a/Application/Admin/View/Partner/add.html +++ b/Application/Admin/View/Partner/add.html @@ -48,6 +48,7 @@