OperationalAdjustmentsDimensionController.php 701 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace frontend\modules\api\controllers;
  3. use common\components\AjaxException;
  4. use common\services\OperationalAdjustmentsDimensionService;
  5. use frontend\modules\api\components\BaseAdminController;
  6. use yii\base\InvalidConfigException;
  7. use yii\db\Exception;
  8. use yii\web\Response;
  9. class OperationalAdjustmentsDimensionController extends BaseAdminController
  10. {
  11. /**
  12. * 评价维度修改
  13. * @return Response
  14. * @throws AjaxException
  15. * @throws InvalidConfigException
  16. * @throws Exception
  17. */
  18. public function actionUpdate()
  19. {
  20. OperationalAdjustmentsDimensionService::update($this->getAllParams(), $this->userInfo);
  21. return $this->asJson();
  22. }
  23. }