下架白名单补充支付回调删除数据以及后台运维补充删除

This commit is contained in:
2026-03-16 14:37:35 +08:00
parent a63e4a9dbb
commit 0b87a39c41
10 changed files with 142 additions and 21 deletions

View File

@@ -6,6 +6,7 @@ import (
"ycc-server/app/main/model"
"ycc-server/common/ctxdata"
"ycc-server/common/xerr"
"ycc-server/pkg/lzkit/lzUtils"
"github.com/google/uuid"
"github.com/pkg/errors"
@@ -123,6 +124,7 @@ func (l *CreateWhitelistOrderLogic) CreateWhitelistOrder(req *types.CreateWhitel
Id: uuid.NewString(),
OrderNo: orderNo,
UserId: userID,
OrderId: lzUtils.StringToNullString(req.OrderId), // 关联的查询订单ID可选用于后续支付回调精确删除报告
IdCard: req.IdCard,
TotalAmount: totalAmount,
Status: 1, // 待支付