diff --git a/Application/Admin/Controller/FinancialSummaryController.class.php b/Application/Admin/Controller/FinancialSummaryController.class.php index 5699004c1..1fb3451c1 100644 --- a/Application/Admin/Controller/FinancialSummaryController.class.php +++ b/Application/Admin/Controller/FinancialSummaryController.class.php @@ -59,7 +59,7 @@ class FinancialSummaryController extends AdminController ); $merchant_data = M("payment_merchant","tab_") - ->field("identifier,main_name") + ->field("identifier,name") ->where(['status'=>1,'type'=>1]) ->select(); @@ -67,7 +67,7 @@ class FinancialSummaryController extends AdminController foreach ($merchant_data as $key => $value) { $identifier = (string)$value['identifier']; - $this->keyname[$identifier] = $value['main_name']; + $this->keyname[$identifier] = $value['name']; } $data = []; diff --git a/Application/Admin/Controller/PayMerchantController.class.php b/Application/Admin/Controller/PayMerchantController.class.php index 912c76ddb..d1f93a855 100644 --- a/Application/Admin/Controller/PayMerchantController.class.php +++ b/Application/Admin/Controller/PayMerchantController.class.php @@ -25,7 +25,7 @@ class PayMerchantController extends ThinkController if (isset($_REQUEST['row'])) { $row = $_REQUEST['row']; } else { - $row = 10; + $row = 2; } $map = []; @@ -159,11 +159,12 @@ class PayMerchantController extends ThinkController $count = M()->table("({$sql})a") ->field("merchant_id") - ->page($p, $row) ->where("name is not null and merchant_way !=0") // ->where($map) ->group("merchant_id,merchant_way") - ->count(); + ->select(false); + + $count = M()->table("({$count})b")->count(); $page = set_pagination($count, $row); if ($page) { diff --git a/Application/Admin/View/TestOrder/addOrder.html b/Application/Admin/View/TestOrder/addOrder.html index 5d717716f..192908df3 100644 --- a/Application/Admin/View/TestOrder/addOrder.html +++ b/Application/Admin/View/TestOrder/addOrder.html @@ -152,7 +152,7 @@ - 充值方式: + 充值商户: