This commit is contained in:
Mrx
2026-05-07 21:05:29 +08:00
6 changed files with 272 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ package admin_agent
import (
"context"
"database/sql"
"fmt"
"time"
"tydata-server/app/main/model"
"tydata-server/common/xerr"
@@ -443,5 +444,5 @@ func (l *AdminReviewBankCardWithdrawalLogic) mapAlipayError(code string) string
if msg, ok := errorMapping[code]; ok {
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 {
return msg
}
return "系统错误,请联系客服"
return fmt.Sprintf("系统错误,请联系客服,错误码: %s", code)
}
// 创建提现记录(事务内操作)