fix
This commit is contained in:
parent
81f3eb6675
commit
e2f5fd359f
|
@ -115,7 +115,7 @@ func (l *WebhookLogic) OnUserChange(data []byte) error {
|
|||
feiShuMsgCreateTime := time.UnixMilli(feiShuMsgCreateTimeInt64)
|
||||
departmentIds := strings.Join(msg.Event.Object.DepartmentIds, ",")
|
||||
joinTime := time.Unix(msg.Event.Object.Joint64ime, 0)
|
||||
return l.svcCtx.AllModels.LdapUsers.CreateOrUpdate(l.ctx, msg.Header.AppId, msg.Event.Object.OpenId, &gmodel.LdapUsers{
|
||||
return l.svcCtx.AllModels.LdapUsers.CreateOrUpdate(l.ctx, msg.Event.Object.OpenId, &gmodel.LdapUsers{
|
||||
UserId: &msg.Event.Object.UserId,
|
||||
OpenId: &msg.Event.Object.OpenId,
|
||||
UnionId: &msg.Event.Object.UnionId,
|
||||
|
|
Loading…
Reference in New Issue
Block a user