Your Name 3 年之前
父节点
当前提交
5419909e2f
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      service/bill/database/shop_stat.php

+ 2 - 5
service/bill/database/shop_stat.php

@@ -1,10 +1,7 @@
 <?php
 <?php
-
+$button = array();
 if (Dever::load('manage/auth')->checkFunc('bill.shop_stat', 'editSout', '导出数据')) {
 if (Dever::load('manage/auth')->checkFunc('bill.shop_stat', 'editSout', '导出数据')) {
-    'button' => array
-        (
-            '数据导出' => array('excel','bill/lib/manage.out_shop_stat'),
-        ),
+    $button['数据导出'] = array('excel','bill/lib/manage.out_shop_stat');
 }
 }
 $shop = function()
 $shop = function()
 {
 {