Commit 5ec32062 authored by chenweijian's avatar chenweijian

cp

parent 018d0357
...@@ -224,7 +224,7 @@ func ReplyCpInvite(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -224,7 +224,7 @@ func ReplyCpInvite(c *gin.Context) (*mycontext.MyContext, error) {
if u.Sex == mysql.WOMAN { if u.Sex == mysql.WOMAN {
headwearId = cp_e.CpFemaleHeadwearId headwearId = cp_e.CpFemaleHeadwearId
} }
if err = headwear_tx.SendHeadwear(model, u.ID, mysql.ID(headwearId), 9999); err != nil { if err = headwear_tx.SendHeadwear(model, u.ID, mysql.ID(headwearId), 3000); err != nil {
model.Log.Errorf("ReplyCpInvite user:%d, headwearId:%d, err:%v", u.ID, headwearId, err) model.Log.Errorf("ReplyCpInvite user:%d, headwearId:%d, err:%v", u.ID, headwearId, err)
return err return err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment