Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
fa07d9ec5e
|
@ -295,16 +295,16 @@ func (s *Service) chListCharge(ctx *gin.Context, chList []*dbstruct.ConsumeHisto
|
|||
item.Change = fmt.Sprintf("%d金币", chDB.GetChange())
|
||||
case dbstruct.CHSTypeChargeZoneMoment:
|
||||
item.Desc = "解锁动态"
|
||||
item.Change = fmt.Sprintf("-%2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
item.Change = fmt.Sprintf("-%.2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
case dbstruct.CHSTypeChargeZoneAdmission:
|
||||
item.Desc = "解锁空间会员"
|
||||
item.Change = fmt.Sprintf("-%2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
item.Change = fmt.Sprintf("-%.2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
case dbstruct.CHSTypeChargeZoneSuperfanship:
|
||||
item.Desc = "解锁空间超粉"
|
||||
item.Change = fmt.Sprintf("-%2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
item.Change = fmt.Sprintf("-%.2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
case dbstruct.CHSTypeChargeZoneRefundAdmission:
|
||||
item.Desc = "空间会员退款"
|
||||
item.Change = fmt.Sprintf("+%2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
item.Change = fmt.Sprintf("+%.2f元", float64(util.AbsInt64(chDB.GetChange()))/100.0)
|
||||
}
|
||||
|
||||
list = append(list, item)
|
||||
|
|
Loading…
Reference in New Issue