| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- namespace app\modules\admin\controllers;
- use app\models\Goods;
- use app\models\Option;
- use app\constants\OptionSetting;
- use app\modules\admin\models\ActivityOrderRebateSelfForm;
- class ActivityOrderRebateSelfController extends BaseController
- {
- public function actionConf(){
- $form = new ActivityOrderRebateSelfForm();
- $form->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);
- }
- }
|