|
|
@@ -21,6 +21,12 @@ class StatItemController extends BaseController
|
|
|
ini_set('memory_limit', '2045M');
|
|
|
set_time_limit(0);
|
|
|
|
|
|
+ //查看财务的权限
|
|
|
+ $lookMoney = ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
+ if ($lookMoney == 0) {
|
|
|
+ util::fail('没有权限查看');
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$sort = $get['sort'] ?? 'num';
|
|
|
$where = [];
|