From b27efc697f2f81e0d0f247a2708e58af52a5df9b Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 23 十月 2025 15:14:33 +0800
Subject: [PATCH] bug修改,后台新增修改用户积分
---
cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java
index 1778705..00bc4f7 100644
--- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java
+++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/api/AliPayMsgConfig.java
@@ -45,7 +45,7 @@
*/
@Override
public void onMessage (String msgApi, String msgId, String bizContent) {
- System.err.println("消息对象"+msgApi);
+ System.err.println(" 消息对象"+msgApi);
System.err.println("id"+msgId);
System.err.println("内容"+bizContent);
if (msgApi.equals("ant.merchant.expand.indirect.zft.passed")){
@@ -56,12 +56,15 @@
OperatorAuthAlipay orderNo = operatorAuthService.getOne(new QueryWrapper<OperatorAuthAlipay>()
.eq("orderNo", order_id));
if (orderNo!=null){
+ orderNo.setRefuseReason(null);
+ operatorAuthService.updateById(orderNo);
Integer operatorId = orderNo.getOperatorId();
OperatorUser operatorId1 = operatorUserService.getOne(new QueryWrapper<OperatorUser>()
.eq("operatorId", operatorId));
if (operatorId1!=null){
operatorId1.setAlipayNum(smid);
operatorId1.setAlipayAudit(2);
+ operatorUserService.updateById(operatorId1);
}
}
}else if (msgApi.equals("ant.merchant.expand.indirect.zft.rejected")){
@@ -71,13 +74,16 @@
String order_id = json.getString("order_id");
OperatorAuthAlipay orderNo = operatorAuthService.getOne(new QueryWrapper<OperatorAuthAlipay>()
.eq("orderNo", order_id));
+
if (orderNo!=null){
orderNo.setRefuseReason(reason);
+ operatorAuthService.updateById(orderNo);
Integer operatorId = orderNo.getOperatorId();
OperatorUser operatorId1 = operatorUserService.getOne(new QueryWrapper<OperatorUser>()
.eq("operatorId", operatorId));
if (operatorId1!=null){
operatorId1.setAlipayAudit(3);
+ operatorUserService.updateById(operatorId1);
}
}
}
--
Gitblit v1.7.1