<?php


namespace frontend\modules\api\controllers;

use common\components\AjaxException;
use common\services\OperationalAdjustmentsDimensionService;
use frontend\modules\api\components\BaseAdminController;
use yii\base\InvalidConfigException;
use yii\db\Exception;
use yii\web\Response;

class OperationalAdjustmentsDimensionController extends BaseAdminController
{
    /**
     * 评价维度修改
     * @return Response
     * @throws AjaxException
     * @throws InvalidConfigException
     * @throws Exception
     */
    public function actionUpdate()
    {
        OperationalAdjustmentsDimensionService::update($this->getAllParams(), $this->userInfo);
        return $this->asJson();
    }
}