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

Merge branch 'demo_bank_20231123' into test

...@@ -22,12 +22,13 @@ public class NbBankController { ...@@ -22,12 +22,13 @@ 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 SDKResponse notify(@RequestBody Map<String, Object> body) throws Exception { public SDKResponse notify(@RequestBody Map<String, Object> body) throws Exception {
log.info("宁波银行回调, data:{}", JSON.toJSONString(body)); log.info("宁波银行回调, data:{}", JSON.toJSONString(body));
try { try {
RequestApiData requestApiData = new RequestApiData(); RequestApiData requestApiData = new RequestApiData();
requestApiData.setAppkey("77667c76_3503_4c04_95f7_fc10938c7942"); requestApiData.setAppkey("77667c76_3503_4c04_95f7_fc10938c7942");
requestApiData.setData(JSON.toJSONString(body)); requestApiData.setData(JSON.parseObject(JSON.toJSONString(body)));
requestApiData.setServiceId("notifyMerchant"); requestApiData.setServiceId("notifyMerchant");
RequestHead requestHead = new RequestHead(); RequestHead requestHead = new RequestHead();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论