|
@@ -0,0 +1,32 @@
|
|
|
+package com.diagbot.web;
|
|
|
+
|
|
|
+import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.DataPageDockFacade;
|
|
|
+import com.diagbot.vo.DataPageDockNbrmVo;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+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/tran/push")
|
|
|
+@Api(value = "宁波页面推送模式-对接API", tags = { "宁波页面推送模式-对接API" })
|
|
|
+public class TranController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private DataPageDockFacade dataPageDockFacade;
|
|
|
+
|
|
|
+ @ApiOperation(value = "页面推送模式-对接API[Sy]宁波",
|
|
|
+ notes = "")
|
|
|
+ @PostMapping("/getDataService")
|
|
|
+ @SysLogger("getDataService")
|
|
|
+ public RespDTO<String> getDataService(@Valid @RequestBody DataPageDockNbrmVo dataPageDockNbrmVo) {
|
|
|
+ return dataPageDockFacade.getDataService(dataPageDockNbrmVo);
|
|
|
+ }
|
|
|
+}
|