|
|
@@ -15,6 +15,13 @@ class StatItemController extends BaseController
|
|
|
//花材销量 ssh 20211021
|
|
|
public function actionProfile()
|
|
|
{
|
|
|
+
|
|
|
+ //查看财务的权限
|
|
|
+ $lookMoney = \bizGhs\shop\classes\ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
+ if ($lookMoney == 0) {
|
|
|
+ util::fail('没有权限查看');
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$where = [];
|
|
|
$where['shopId'] = $this->shopId;
|