|
@@ -1,7 +1,6 @@
|
|
|
package com.zanxiang.game.platform.serve.controller.api;
|
|
|
|
|
|
-import com.zanxiang.game.platform.serve.pojo.dto.PlatformDeYangOrderDTO;
|
|
|
-import com.zanxiang.game.platform.serve.pojo.dto.PlatformDeYangUserDTO;
|
|
|
+import com.zanxiang.module.util.JsonUtil;
|
|
|
import com.zanxiang.module.util.pojo.ResultVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -13,6 +12,8 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
/**
|
|
|
* @author : lingfeng
|
|
|
* @time : 2023-05-22
|
|
@@ -27,16 +28,16 @@ public class PlatformDeYangApiController {
|
|
|
@ApiOperation(value = "用户信息推送接口")
|
|
|
@PostMapping("/user")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
|
- public ResultVO<Boolean> pushUserInfo(@RequestBody PlatformDeYangUserDTO userDTO) {
|
|
|
- System.out.println("德扬用户信息数据推送");
|
|
|
+ public ResultVO<Boolean> pushUserInfo(@RequestBody Map<String, String> userParam) {
|
|
|
+ log.error("接收到德扬用户信息推送, userParam : {}", JsonUtil.toString(userParam));
|
|
|
return ResultVO.ok(Boolean.FALSE);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "订单信息推送接口")
|
|
|
@PostMapping("/order")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
|
- public ResultVO<Boolean> pushOrderInfo(@RequestBody PlatformDeYangOrderDTO orderDTO) {
|
|
|
- System.out.println("德扬订单信息数据推送");
|
|
|
+ public ResultVO<Boolean> pushOrderInfo(@RequestBody Map<String, String> orderParam) {
|
|
|
+ log.error("接收到德扬订单信息推送, orderParam : {}", JsonUtil.toString(orderParam));
|
|
|
return ResultVO.ok(Boolean.FALSE);
|
|
|
}
|
|
|
|