|
@@ -17,6 +17,7 @@ import org.springframework.data.mongodb.core.query.Criteria;
|
|
import org.springframework.data.mongodb.core.query.Query;
|
|
import org.springframework.data.mongodb.core.query.Query;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
@@ -46,6 +47,7 @@ public class TrackController {
|
|
|
|
|
|
// 老链接 屏蔽5
|
|
// 老链接 屏蔽5
|
|
@RequestMapping(value = "/click1")
|
|
@RequestMapping(value = "/click1")
|
|
|
|
+ @ResponseBody
|
|
public JSONObject click1(HttpServletRequest request,
|
|
public JSONObject click1(HttpServletRequest request,
|
|
HttpServletResponse response) {
|
|
HttpServletResponse response) {
|
|
|
|
|
|
@@ -126,6 +128,7 @@ public class TrackController {
|
|
|
|
|
|
// 新链接 屏蔽8
|
|
// 新链接 屏蔽8
|
|
@RequestMapping(value = "/click2")
|
|
@RequestMapping(value = "/click2")
|
|
|
|
+ @ResponseBody
|
|
public JSONObject click2(HttpServletRequest request,
|
|
public JSONObject click2(HttpServletRequest request,
|
|
HttpServletResponse response) {
|
|
HttpServletResponse response) {
|
|
|
|
|
|
@@ -230,7 +233,7 @@ public class TrackController {
|
|
}
|
|
}
|
|
}*/
|
|
}*/
|
|
|
|
|
|
- System.err.println(params);
|
|
|
|
|
|
+ System.err.println("入参:" + params);
|
|
String s = HttpUtils.httpGetRequest(url, headers, params);
|
|
String s = HttpUtils.httpGetRequest(url, headers, params);
|
|
logger.info("新沉流快手点击监测上报客户返回结果:" + s);
|
|
logger.info("新沉流快手点击监测上报客户返回结果:" + s);
|
|
|
|
|
|
@@ -250,6 +253,7 @@ public class TrackController {
|
|
|
|
|
|
// 老链接 屏蔽5
|
|
// 老链接 屏蔽5
|
|
@RequestMapping(value = "/back1")
|
|
@RequestMapping(value = "/back1")
|
|
|
|
+ @ResponseBody
|
|
public JSONObject back1(HttpServletRequest request,
|
|
public JSONObject back1(HttpServletRequest request,
|
|
HttpServletResponse response) {
|
|
HttpServletResponse response) {
|
|
|
|
|
|
@@ -290,6 +294,7 @@ public class TrackController {
|
|
|
|
|
|
// 新链接 屏蔽8
|
|
// 新链接 屏蔽8
|
|
@RequestMapping(value = "/back2")
|
|
@RequestMapping(value = "/back2")
|
|
|
|
+ @ResponseBody
|
|
public JSONObject back2(HttpServletRequest request,
|
|
public JSONObject back2(HttpServletRequest request,
|
|
HttpServletResponse response) {
|
|
HttpServletResponse response) {
|
|
|
|
|