|
|
@@ -1,8 +1,10 @@
|
|
|
<?php
|
|
|
|
|
|
namespace hd\controllers;
|
|
|
+
|
|
|
use Yii;
|
|
|
use common\components\util;
|
|
|
+
|
|
|
class StatKdController extends BaseController
|
|
|
{
|
|
|
|
|
|
@@ -11,7 +13,7 @@ class StatKdController extends BaseController
|
|
|
{
|
|
|
|
|
|
//查看财务的权限
|
|
|
- $lookMoney = ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
+ $lookMoney = \bizGhs\shop\classes\ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
if ($lookMoney == 0) {
|
|
|
util::fail('没有权限查看');
|
|
|
}
|