|
@@ -2,6 +2,7 @@ package com.zanxiang.game.back.serve.controller.api;
|
|
|
|
|
|
import com.zanxiang.game.back.serve.pojo.dto.GameOceanengineAppCallbackDTO;
|
|
|
import com.zanxiang.game.back.serve.pojo.dto.GameOceanengineCallbackDTO;
|
|
|
+import com.zanxiang.game.back.serve.service.GameOceanengineAppCallbackXgltService;
|
|
|
import com.zanxiang.game.back.serve.service.IGameOceanengineAppCallbackService;
|
|
|
import com.zanxiang.game.back.serve.service.IGameOceanengineCallbackService;
|
|
|
import com.zanxiang.module.util.pojo.ResultVO;
|
|
@@ -9,8 +10,11 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
|
|
|
* 头条监测链接
|
|
|
*/
|
|
@@ -25,10 +29,25 @@ public class OceanengineCallbackApi {
|
|
|
@Autowired
|
|
|
private IGameOceanengineAppCallbackService gameOceanengineAppCallbackService;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private GameOceanengineAppCallbackXgltService gameOceanengineAppCallbackXgltService;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/app/xglt/callBack")
|
|
|
+ public ResultVO<Boolean> appXgltCallback(@RequestParam Map<String, Object> paramMap) {
|
|
|
+ return ResultVO.ok(gameOceanengineAppCallbackXgltService.callback(paramMap));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
@GetMapping("/app/callBack")
|
|
|
public ResultVO<Boolean> appCallback(GameOceanengineAppCallbackDTO dto) {
|
|
|
return ResultVO.ok(gameOceanengineAppCallbackService.callback(dto));
|