提交 aad54b20 作者: zhenjie

小猪结算-电子签约、单笔提现

上级 7acd0b28
...@@ -151,8 +151,7 @@ public class XzController extends BaseController { ...@@ -151,8 +151,7 @@ public class XzController extends BaseController {
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)}) @ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@PostMapping("xzWithdrawNotify") @PostMapping("xzWithdrawNotify")
public String xzWithdrawNotify(@RequestBody JSONObject notify) { public String xzWithdrawNotify(@RequestBody JSONObject notify) {
log.info("获取到的推送结果:{}", notify.toString()); return xzService.xzWithdrawNotify(notify);
return "success";
} }
} }
...@@ -36,4 +36,6 @@ public interface XzService { ...@@ -36,4 +36,6 @@ public interface XzService {
WithdrawalResp querySingleTrade(String outerTradeNo); WithdrawalResp querySingleTrade(String outerTradeNo);
ResultBody querySingleReceipt(String frontLogNo); ResultBody querySingleReceipt(String frontLogNo);
String xzWithdrawNotify(JSONObject notify);
} }
...@@ -92,7 +92,6 @@ public class XzServiceImpl implements XzService { ...@@ -92,7 +92,6 @@ public class XzServiceImpl implements XzService {
String contractScope = this.getContractScope(xzAuthVO); String contractScope = this.getContractScope(xzAuthVO);
com.alibaba.fastjson2.JSONObject jsonObject1 = com.alibaba.fastjson2.JSONObject.parseObject(contractScope); com.alibaba.fastjson2.JSONObject jsonObject1 = com.alibaba.fastjson2.JSONObject.parseObject(contractScope);
if (jsonObject1.get("data") != null) { if (jsonObject1.get("data") != null) {
xzDao.updateAuthStatus(loginSuccessDTO.getUserAccountId());
// TODO 添加认证结果 // TODO 添加认证结果
return "合同签署完毕"; return "合同签署完毕";
} else { } else {
...@@ -203,4 +202,11 @@ public class XzServiceImpl implements XzService { ...@@ -203,4 +202,11 @@ public class XzServiceImpl implements XzService {
return ResultBody.error(jsonObject.get("errorMessage").toString()); return ResultBody.error(jsonObject.get("errorMessage").toString());
} }
} }
@Override
public String xzWithdrawNotify(JSONObject notify) {
log.info("获取到的推送结果:{}", notify.toString());
return "success";
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论