by Robin at 20240122; fix
This commit is contained in:
parent
f91231f5b3
commit
e1e6b253e2
|
@ -2043,7 +2043,7 @@ func (v *Vas) UnlockMembership(ctx *gin.Context, mid int64, product *dbstruct.Pr
|
||||||
OfficialDias = int64(0)
|
OfficialDias = int64(0)
|
||||||
)
|
)
|
||||||
if inviterMid > 0 {
|
if inviterMid > 0 {
|
||||||
InviterDias = int64(float64(TotalDias) * 0.05)
|
InviterDias = int64(float64(TotalDias) * 0.8)
|
||||||
}
|
}
|
||||||
OfficialDias = TotalDias - InviterDias
|
OfficialDias = TotalDias - InviterDias
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue