|
@@ -5,6 +5,7 @@ import com.fdkankan.web.annotation.CheckInnerApiPermit;
|
|
|
import com.fdkankan.web.controller.BaseController;
|
|
|
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.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -30,7 +31,7 @@ public class InnerController extends BaseController {
|
|
|
* 上传matterpro数据
|
|
|
*/
|
|
|
@CheckInnerApiPermit
|
|
|
- @RequestMapping(value = {"/uploadMatterproData"}, method = RequestMethod.POST)
|
|
|
+ @PostMapping("/uploadMatterproData")
|
|
|
public ResultData uploadMatterproData(@RequestParam(value = "sceneName",required = false) String sceneName,
|
|
|
@RequestParam(value = "userName",required = false) String userName,
|
|
|
@RequestParam(value = "floor",required = false) String floor,
|