fix: nickname

master
howell 3 years ago
parent cd6275cc82
commit 830cc0ecca

@ -147,7 +147,7 @@ func PaySuccessCallback(tx *gorm.DB, orderInfo order.Information, completeTime f
End: &end,
Amount: orderInfo.ActualTotalAmount,
Level: level,
NickName: u1.Nickname,
Nickname: u1.Nickname,
Mobile: u1.Mobile,
Kind: kind,
ShareID: int(orderInfo.SharerID),

@ -35,7 +35,7 @@ type VipHistory struct {
CreatedAt *time.Time `json:"created_at" gorm:"autoCreateTime"`
Amount decimal.Decimal `json:"amount"`
Level int `json:"level"`
NickName string `json:"nickname"`
Nickname string `json:"nickname"`
Mobile string `json:"mobile"`
Kind Kind `json:"kind"`
ShareID int `json:"share_id"`

@ -113,7 +113,7 @@ func (o Proxy) VipActive(c *gin.Context) {
End: &end,
Amount: decimal.Zero,
Level: level,
NickName: u1.Nickname,
Nickname: u1.Nickname,
Mobile: u1.Mobile,
Kind: kind,
ShareID: int(id),

Loading…
Cancel
Save