|
|
|
|
@ -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 { |
|
|
|
|
|