diff --git a/route/cp_r/cp_relation.go b/route/cp_r/cp_relation.go index 0841f101c3a0a3da8190596b7de521d3a66f743e..fb63380828f14941ec196ac7b0d63eb920b96033 100644 --- a/route/cp_r/cp_relation.go +++ b/route/cp_r/cp_relation.go @@ -207,7 +207,7 @@ func ReplyCpInvite(c *gin.Context) (*mycontext.MyContext, error) { Entity: mysql.Entity{ID: mysql.ID(cpId)}, UserId1: userSender.ID, UserId2: user.ID, - }); err != nil { + }, lang); err != nil { model.Log.Errorf("ReplyCpInvite InitCpAnniversary fail:%v-%v-%v", userSender.ID, user.ID, err) return err }