request->post('client'); $model = new \app\api\service\Identity(); $list = $model->center($client, ['type' => IdentityEnum::MEMBER]); return $this->renderSuccess(compact('list')); } /** * @notes:分销身份价格列表 * @return Json * @throws DataNotFoundException * @throws DbException * @throws ModelNotFoundException|BaseException * @author: wanghousheng */ public function dealerPriceList(): Json { $client = $this->request->post('client'); $model = new \app\api\service\Identity(); $list = $model->center($client, ['type' => IdentityEnum::MEMBER]); return $this->renderSuccess(compact('list')); } }