fix/release
mofangmin 1 year ago
parent 307419f3f0
commit a4b59ae85b
  1. 2
      modules/pay/payplus/base.go

@ -62,7 +62,7 @@ func (s *Sub) GetResp() (proto.Message, error) {
if resp.RetCode != statusSuccess || resp.PayUrl == "" {
return nil, errors.New("pay fail")
}
return &pb.InnerRechargeResp{APIOrderID: fmt.Sprintf("%v", resp.OrderNo), URL: resp.PayUrl, Channel: uint32(values.PayPlus)}, nil
return &pb.InnerRechargeResp{APIOrderID: fmt.Sprintf("%v", resp.PlatOrder), URL: resp.PayUrl, Channel: uint32(values.PayPlus)}, nil
}
resp := s.Base.Resp.(*WithdrawResp)
if s.Base.Status == 0 && resp.RetCode != statusSuccess {

Loading…
Cancel
Save