EmergencyResponseDimensionController.php 565 B

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