|
@@ -2,6 +2,7 @@ package com.diagbot.web;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
|
|
|
+import com.diagbot.rabbit.MySender;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -28,6 +29,8 @@ import io.swagger.annotations.ApiOperation;
|
|
|
@Api(value = "数据埋点统计API[by:wangfeng]", tags = { "WF——数据埋点统计API" })
|
|
|
@SuppressWarnings("unchecked")
|
|
|
public class BuriedSomeStatisticalController {
|
|
|
+ @Autowired
|
|
|
+ MySender mySender;
|
|
|
|
|
|
@Autowired
|
|
|
BuriedSomeStatisticalFacade buriedSomeStatisticalFacade;
|
|
@@ -38,9 +41,9 @@ public class BuriedSomeStatisticalController {
|
|
|
@Transactional
|
|
|
public RespDTO<Boolean> saveBuriedSomeStatisticals(@Valid @RequestBody BuriedSomeStatisticalVO buriedSomeStatisticalVO) {
|
|
|
|
|
|
- boolean res = buriedSomeStatisticalFacade.saveBuriedSomeStatistical(buriedSomeStatisticalVO);
|
|
|
+ mySender.outputPointSend(buriedSomeStatisticalVO);
|
|
|
|
|
|
- return RespDTO.onSuc(res);
|
|
|
+ return RespDTO.onSuc(true);
|
|
|
}
|
|
|
|
|
|
}
|