attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->auditList()); } //审核处理 public function actionHandle() { $form = new TeamForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->handle()); } //团队人员列表 public function actionList() { $form = new TeamForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->list()); } //添加团队人员 public function actionAddTeam() { $form = new TeamForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->addTeam()); } //删除团队人员 public function actionDelTeam() { $form = new TeamForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->delTeam()); } //分红设置 public function actionSetDividends() { $form = new TeamForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->setDividends()); } //人员分红明细 public function actionGetTeamDividendsList() { $form = new TeamForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); return $this->asJson($form->getTeamDividendsList()); } }