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