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); util::success(['list' => $incomeList]); } }