AccidentCasesDimensionController.php 552 B

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