attributes = get_params(); $res = $form->frontAgentGoodsList(); return $this->asJson($res); } /** * 绑定商品 */ public function actionBindFrontAgentGoods() { $form = new AgentForm(); $form->attributes = post_params(); $res = $form->bindFrontAgentGoods(); return $this->asJson($res); } /** * 审核绑定商品 */ public function actionApplyBindFrontAgentGoods() { $form = new AgentForm(); $form->attributes = post_params(); $res = $form->applyBindFrontAgentGoods(); return $this->asJson($res); } /** * 删除绑定商品 */ public function actionDelBindFrontAgentGoods() { $form = new AgentForm(); $form->attributes = get_params(); $res = $form->delBindFrontAgentGoods(); return $this->asJson($res); } /** * 获取绑定的产品 */ public function actionGetBindGoodsList() { $form = new AgentForm(); $form->attributes = get_params(); $res = $form->getBindGoodsList(); return $this->asJson($res); } /** * 获取安装记录 */ public function actionGetInstallLog() { $form = new AgentForm(); $form->attributes = get_params(); $res = $form->getInstallLog(); return $this->asJson($res); } /** * 点击送达 */ public function actionSetInstallStatus() { $form = new AgentForm(); $form->attributes = get_params(); $order_type = get_params('order_type', 0); $res = $form->setInstallStatus($order_type); return $this->asJson($res); } }