|
|
@@ -12,6 +12,12 @@ class StatKdController extends BaseController
|
|
|
//各渠道收入 ssh 20220711
|
|
|
public function actionProfile()
|
|
|
{
|
|
|
+
|
|
|
+ $shopAdmin = $this->shopAdmin;
|
|
|
+ if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
+ util::fail('超管才能查看');
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$contain = $get['contain'] ?? 0;
|
|
|
$incomeList = StatKdClass::eachChannelIncome($this->mainId, $this->shop, $contain);
|