Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
4862d2d7a1
|
@ -292,19 +292,19 @@ func (s *Service) chListCharge(ctx *gin.Context, chList []*dbstruct.ConsumeHisto
|
|||
item.Change = changeMark + fmt.Sprintf("%d金币", chDB.GetChange())
|
||||
case dbstruct.CHSTypeChargeRefundContactWechat:
|
||||
item.Desc = "微信联系方式退款"
|
||||
item.Change = fmt.Sprintf("消费%d金币", chDB.GetChange())
|
||||
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)
|
||||
|
@ -338,16 +338,16 @@ func (s *Service) chListIncome(ctx *gin.Context, chList []*dbstruct.ConsumeHisto
|
|||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
case dbstruct.CHSTypeIncomeThirdPartner:
|
||||
item.Desc = "代运营收益" + getTypeIdDesc(chDB.GetTypeId())
|
||||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
case dbstruct.CHSTypeIncomeCollaborator:
|
||||
item.Desc = "协作收益" + getTypeIdDesc(chDB.GetTypeId())
|
||||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
case dbstruct.CHSTypeIncomeZone:
|
||||
item.Desc = "空间收益" + getTypeIdDesc(chDB.GetTypeId())
|
||||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
case dbstruct.CHSTypeIncomeMembership:
|
||||
item.Desc = "永久会员收益" + getTypeIdDesc(chDB.GetTypeId())
|
||||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
case dbstruct.CHSTypeIncomeRefundZoneAdmission:
|
||||
item.Desc = "空会员退款" + getTypeIdDesc(chDB.GetTypeId())
|
||||
item.Change = fmt.Sprintf("%d钻石", chDB.GetChange())
|
||||
|
|
Loading…
Reference in New Issue