商户bug修改

master
zhengyongxing 4 years ago
parent ee5fc4c7c8
commit 9a202a393e

@ -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 = [];

@ -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) {

@ -152,7 +152,7 @@
</td>
</tr>
<tr>
<td class="l">充值方式</td>
<td class="l">充值商户</td>
<td class="r">
<select id="merchant_id" name="merchant_id" class="select_gallery">
<volist name=":getMerchantList()" id="vo">

Loading…
Cancel
Save