|
|
@@ -24,6 +24,12 @@ class StatController extends BaseController
|
|
|
util::fail('超管才能查看');
|
|
|
}
|
|
|
|
|
|
+ $shopAdmin = $this->shopAdmin;
|
|
|
+ $staffId = $shopAdmin->id ?? 0;
|
|
|
+ if (in_array($staffId, [126921, 128024, 128026])) {
|
|
|
+ util::fail('暂无权限');
|
|
|
+ }
|
|
|
+
|
|
|
$mainId = $this->mainId;
|
|
|
$respond = StatSaleClass::profile($mainId);
|
|
|
$income = $respond['income'] ?? 0;
|