f
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建提现记录(事务内操作)
|
// 创建提现记录(事务内操作)
|
||||||
|
|||||||
Reference in New Issue
Block a user