diff --git a/modules/pay/payplus/base.go b/modules/pay/payplus/base.go index aa79798..16e392d 100644 --- a/modules/pay/payplus/base.go +++ b/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 {