Your Name 3 лет назад
Родитель
Сommit
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
-
+$button = array();
 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()
 {