Skip to content

Commit

Permalink
Update error.go (#361)
Browse files Browse the repository at this point in the history
修改支付宝收款码支付中存在的一个状态码为10003的情况,这种不属于异常,付款方还是可以正常付款
  • Loading branch information
larryclean authored Oct 18, 2023
1 parent 2d67124 commit 68d99d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alipay/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type BizErr struct {

// bizErrCheck 检查业务码是否为10000 否则返回一个BizErr
func bizErrCheck(errRsp ErrorResponse) error {
if errRsp.Code != "10000" {
if errRsp.Code != "10000" && errRsp.Code != "10003" {
return &BizErr{
Code: errRsp.Code,
Msg: errRsp.Msg,
Expand Down

0 comments on commit 68d99d5

Please sign in to comment.