package com.fdkankan.contro.controller; import com.fdkankan.contro.service.IJmgaService; import com.fdkankan.contro.vo.UploadSceneOrigParamVo; import com.fdkankan.web.response.ResultData; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.validation.Valid; @RestController @RequestMapping("/api/scene/file/jmga") public class JmgaController { @Autowired private IJmgaService jmgaService; @PostMapping("/uploadSceneOrig") public ResultData uploadSceneOrig(@RequestBody @Valid UploadSceneOrigParamVo param) throws Exception { jmgaService.uploadSceneOrig(param); return ResultData.ok(); } }