From 3684327b0f465b6d2336b5d28ac3471f586e586c Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 15 Jun 2023 14:56:58 +0800 Subject: [PATCH] headwearId coming --- domain/model/cp_m/level.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domain/model/cp_m/level.go b/domain/model/cp_m/level.go index 395c098..b756360 100644 --- a/domain/model/cp_m/level.go +++ b/domain/model/cp_m/level.go @@ -274,12 +274,12 @@ func AddCpLevelPoints(model *domain.Model, cpRelation CpRelation, points mysql.N } // 赠送cp头像头饰 if oldLevel < 3 && cpLevel.Level >= 3 { - if err := headwear_tx.SendHeadwear(model, cpRelation.UserId1, 2272, 30); err != nil { + if err := headwear_tx.SendHeadwear(model, cpRelation.UserId1, 2571, 30); err != nil { return err } - if err := headwear_tx.SendHeadwear(model, cpRelation.UserId2, 2272, 30); err != nil { + if err := headwear_tx.SendHeadwear(model, cpRelation.UserId2, 2571, 30); err != nil { return err - } // todo headwear id ! + } } return cpLevel.Persistence(model) } -- 2.22.0