fix membership change

This commit is contained in:
lwl0608 2024-04-26 02:27:07 +08:00
parent f80bfb3ab5
commit 30f4a9dd37
1 changed files with 0 additions and 1 deletions

View File

@ -1257,7 +1257,6 @@ func (v *Vas) PayCallback(ctx *gin.Context, p *vasproto.PayCallbackParamIn) {
switch product.Id { switch product.Id {
case dbstruct.ProductIdMembership: case dbstruct.ProductIdMembership:
ch.SType = goproto.Int32(dbstruct.CHSTypeChargeMembership) ch.SType = goproto.Int32(dbstruct.CHSTypeChargeMembership)
ch.Change = goproto.Int64(order.GetPayAmount())
case dbstruct.ProductIdH5ZoneMoment: case dbstruct.ProductIdH5ZoneMoment:
ch.SType = goproto.Int32(dbstruct.CHSTypeChargeZoneMoment) ch.SType = goproto.Int32(dbstruct.CHSTypeChargeZoneMoment)
ch.Change = goproto.Int64(order.GetPayAmount()) ch.Change = goproto.Int64(order.GetPayAmount())