diff --git a/Application/Admin/Controller/PayMerchantController.class.php b/Application/Admin/Controller/PayMerchantController.class.php index ae6ad4fb8..83592b2d6 100644 --- a/Application/Admin/Controller/PayMerchantController.class.php +++ b/Application/Admin/Controller/PayMerchantController.class.php @@ -51,9 +51,9 @@ class PayMerchantController extends ThinkController } if ($_REQUEST['pay_way']) { - $data_map['pay_way'] = [$_REQUEST['type'],$_REQUEST['pay_way']]; + $data_map['pay_way'] = [trim($_REQUEST['type']),$_REQUEST['pay_way']]; } - +// var_dump($data_map);die(); //游戏充值金额 $data = M("spend use index(pay_channel)","tab_") ->field("SUM(CASE WHEN merchant.id is not null and tab_test_white_list.user_id is null THEN pay_amount ELSE 0 END) as cash_amount, diff --git a/Application/Admin/View/PayMerchant/index.html b/Application/Admin/View/PayMerchant/index.html index 8a3167e72..5aad8cf2a 100644 --- a/Application/Admin/View/PayMerchant/index.html +++ b/Application/Admin/View/PayMerchant/index.html @@ -151,15 +151,14 @@ - + +