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