From 5d01cb1ff56f4fc37c815b5bd085963c8a0726bf Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Fri, 13 Dec 2019 11:13:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=85=85=E5=80=BC=E9=A2=84?= =?UTF-8?q?=E4=B8=8B=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/BehaviorLogController.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Application/Admin/Controller/BehaviorLogController.class.php b/Application/Admin/Controller/BehaviorLogController.class.php index 7ed604212..fbc566287 100644 --- a/Application/Admin/Controller/BehaviorLogController.class.php +++ b/Application/Admin/Controller/BehaviorLogController.class.php @@ -51,6 +51,12 @@ class BehaviorLogController extends ThinkController } } $data = M('pay_info', 'tab_')->where($map)->order('id DESC')->page($p, $row)->select(); + + foreach($data as $k => $v) { + if(empty($v['extend'])) { + $data[$k]['extend'] = $v['order_id']; + } + } $count = M('pay_info', 'tab_')->where($map)->count(); $page = set_pagination($count, $row); if ($page) {