This commit is contained in:
2026-04-08 18:34:19 +08:00
parent 4947679b83
commit 5973457bd8
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ package admin_agent
import ( import (
"context" "context"
"database/sql" "database/sql"
"fmt"
"time" "time"
"tydata-server/app/main/model" "tydata-server/app/main/model"
"tydata-server/common/xerr" "tydata-server/common/xerr"
@@ -443,5 +444,5 @@ func (l *AdminReviewBankCardWithdrawalLogic) mapAlipayError(code string) string
if msg, ok := errorMapping[code]; ok { if msg, ok := errorMapping[code]; ok {
return msg return msg
} }
return "系统错误,请联系客服" return fmt.Sprintf("系统错误,请联系客服,错误码: %s", code)
} }

View File

@@ -193,7 +193,7 @@ func (l *AgentWithdrawalLogic) mapAlipayError(code string) string {
if msg, ok := errorMapping[code]; ok { if msg, ok := errorMapping[code]; ok {
return msg return msg
} }
return "系统错误,请联系客服" return fmt.Sprintf("系统错误,请联系客服,错误码: %s", code)
} }
// 创建提现记录(事务内操作) // 创建提现记录(事务内操作)