From 7eb430f746e77fdfe9b2e48547b0674a8c6a8fb2 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 24 Dec 2019 11:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=A0=E9=81=93=E7=BB=9F=E8=AE=A1bug?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/PayChannelController.class.php | 7 +++++++ Application/Admin/View/PayChannel/index.html | 1 + 2 files changed, 8 insertions(+) diff --git a/Application/Admin/Controller/PayChannelController.class.php b/Application/Admin/Controller/PayChannelController.class.php index ab2336694..788365aea 100644 --- a/Application/Admin/Controller/PayChannelController.class.php +++ b/Application/Admin/Controller/PayChannelController.class.php @@ -68,6 +68,13 @@ class PayChannelController extends ThinkController ->group("game_id") ->select(); + //平台币充值 + $coinSum = M('deposit','tab_') + ->where($coinMap) + ->sum('tab_deposit.pay_amount'); +// var_dump($coinSum);die(); + $this->assign('coinSum',$coinSum); + $data = array_merge($data,$coinData); $data = $this->unique_multi_array($data,'game_id'); diff --git a/Application/Admin/View/PayChannel/index.html b/Application/Admin/View/PayChannel/index.html index b1d46c118..2785cb7cc 100644 --- a/Application/Admin/View/PayChannel/index.html +++ b/Application/Admin/View/PayChannel/index.html @@ -227,6 +227,7 @@ {$key}:{$payTypeData}          + 平台币直充金额(2019.12.18号以前的不显示在列表中,此项也不计入充值方式统计){$coinSum}0