store_id = get_store_id(); $res = $form->conf(); return $this->asJson($res); } public function actionConfSave(){ $conf = input_params('conf'); $form = new ActivityOrderRebateSelfForm(); $form->store_id = get_store_id(); $res = $form->confSave($conf); return $this->asJson($res); } public function actionList() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->search(); return $this->asJson($res); } public function actionListSelect() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->listSelect(); return $this->asJson($res); } public function actionSave() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->save(); return $this->asJson($res); } public function actionGetInfo() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->getInfo(); return $this->asJson($res); } public function actionStatus() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->status(); return $this->asJson($res); } public function actionDel() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->del(); return $this->asJson($res); } public function actionLevelList() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->levelSearch(); return $this->asJson($res); } public function actionLevelListSelect() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->levelListSelect(); return $this->asJson($res); } public function actionLevelSave() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->levelSave(); return $this->asJson($res); } public function actionLevelStatus() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->levelStatus(); return $this->asJson($res); } public function actionLevelDel() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->levelDel(); return $this->asJson($res); } public function actionUserList() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->userSearch(); return $this->asJson($res); } public function actionOrderList() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->orderList(input_params('pageNo', input_params('page', 1)) == 1); return $this->asJson($res); } public function actionOrderDelete(){ $form = new ActivityOrderRebateSelfForm(); $form->ids = post_params('ids'); $res = $form->orderDelete(); return $this->asJson($res); } public function actionLogList() { $form = new ActivityOrderRebateSelfForm(); $form->attributes = all_params(); $res = $form->logList(input_params('pageNo', input_params('page', 1)) == 1); return $this->asJson($res); } }