by Robin at 20240112; fix
This commit is contained in:
parent
87f088aeaa
commit
f91231f5b3
|
@ -2027,7 +2027,7 @@ func (v *Vas) UnlockMembership(ctx *gin.Context, mid int64, product *dbstruct.Pr
|
|||
Mid: goproto.Int64(mid),
|
||||
ProductId: goproto.String(productId),
|
||||
Ct: goproto.Int64(timeNow),
|
||||
Means: goproto.String(dbstruct.UserVasUnlockMeansMoney),
|
||||
Means: goproto.String(dbstruct.UserVasUnlockMembershipMeansMoney),
|
||||
OrderId: order.ID,
|
||||
}
|
||||
err = v.store.CreateUserVasMembershipUnlock(ctx, tx, userVasMembershipUnlock)
|
||||
|
|
|
@ -614,6 +614,11 @@ const (
|
|||
UserVasUnlockMeansMoney = "money" // 现金解锁
|
||||
)
|
||||
|
||||
const (
|
||||
UserVasUnlockMembershipMeansCoins = "coins" // 金币解锁
|
||||
UserVasUnlockMembershipMeansMoney = "money" // 现金解锁
|
||||
)
|
||||
|
||||
type UserVasUnlock struct {
|
||||
Id *int64 `json:"id" db:"id"`
|
||||
Mid *int64 `json:"mid" db:"mid"`
|
||||
|
|
Loading…
Reference in New Issue