Merge branch 'add_ch' into test

This commit is contained in:
lwl0608 2024-08-01 15:57:49 +08:00
commit e26f7180ea
1 changed files with 10 additions and 2 deletions

View File

@ -368,9 +368,13 @@ func (s *Service) chListIncome(ctx *gin.Context, chList []*dbstruct.ConsumeHisto
case dbstruct.ProductIdH5ZoneSuperfanship: case dbstruct.ProductIdH5ZoneSuperfanship:
item.Desc = "空间超粉-代运营" item.Desc = "空间超粉-代运营"
case dbstruct.ProductIdContactWechat: case dbstruct.ProductIdContactWechat:
if chDB.GetCt() >= 1722494201 { if chDB.GetCt() >= 1722497400 {
item.Desc = fmt.Sprintf("解锁微信(%v)-代运营", chDB.GetUid()) item.Desc = fmt.Sprintf("解锁微信(%v)-代运营", chDB.GetUid())
} }
case dbstruct.ProductIdSuperfanGiftContactWechat:
if chDB.GetCt() >= 1722497400 {
item.Desc = fmt.Sprintf("超粉解锁微信(%v)-代运营", chDB.GetUid())
}
} }
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange()) item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
case dbstruct.CHSTypeIncomeCollaborator: case dbstruct.CHSTypeIncomeCollaborator:
@ -383,9 +387,13 @@ func (s *Service) chListIncome(ctx *gin.Context, chList []*dbstruct.ConsumeHisto
case dbstruct.ProductIdH5ZoneSuperfanship: case dbstruct.ProductIdH5ZoneSuperfanship:
item.Desc = "空间超粉-合伙人" item.Desc = "空间超粉-合伙人"
case dbstruct.ProductIdContactWechat: case dbstruct.ProductIdContactWechat:
if chDB.GetCt() >= 1722494201 { if chDB.GetCt() >= 1722497400 {
item.Desc = fmt.Sprintf("解锁微信(%v)-合伙人", chDB.GetUid()) item.Desc = fmt.Sprintf("解锁微信(%v)-合伙人", chDB.GetUid())
} }
case dbstruct.ProductIdSuperfanGiftContactWechat:
if chDB.GetCt() >= 1722497400 {
item.Desc = fmt.Sprintf("超粉解锁微信(%v)-合伙人", chDB.GetUid())
}
} }
item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange()) item.Change = changeMark + fmt.Sprintf("%d钻石", chDB.GetChange())
case dbstruct.CHSTypeIncomeZoneStreamer: case dbstruct.CHSTypeIncomeZoneStreamer: