提交 e1dfd68c authored 作者: aiqingguo's avatar aiqingguo

宁波银行

上级 6befa1ff
package com.clx.performance.controller.thirdparty; package com.clx.performance.controller.thirdparty;
import com.msl.common.result.Result; import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -16,9 +17,15 @@ public class NbBankController { ...@@ -16,9 +17,15 @@ public class NbBankController {
@ApiOperation(value = "notify", notes = "<br>By:艾庆国") @ApiOperation(value = "notify", notes = "<br>By:艾庆国")
@RequestMapping(value = "/notify", method = RequestMethod.POST) @RequestMapping(value = "/notify", method = RequestMethod.POST)
public Result bankNotify() { public void bankNotify(@RequestBody JSONObject param) {
log.info("宁波银行回调, data:{}", param.toJSONString());
// HashMap hashMap = new HashMap();
// hashMap.put("errorCode", "000000");
// hashMap.put("errorMsg", "000000");
return Result.ok();
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论