fix
This commit is contained in:
@@ -115,6 +115,7 @@ func (l *WebhookLogic) OnUserChange(data []byte) error {
|
||||
return err
|
||||
}
|
||||
feiShuMsgCreateTime := time.UnixMilli(feiShuMsgCreateTimeInt64)
|
||||
joinTime := time.Unix(msg.Event.Object.Joint64ime, 0)
|
||||
return l.svcCtx.AllModels.FsFeishuUser.CreateOrUpdate(l.ctx, msg.Header.AppId, msg.Event.Object.OpenId, &gmodel.FsFeishuUser{
|
||||
AppId: &msg.Header.AppId,
|
||||
OpenId: &msg.Event.Object.OpenId,
|
||||
@@ -138,6 +139,7 @@ func (l *WebhookLogic) OnUserChange(data []byte) error {
|
||||
EmployeeNo: &msg.Event.Object.EmployeeNo,
|
||||
EmployeeType: &msg.Event.Object.EmployeeType,
|
||||
Orders: &orders,
|
||||
JoinTime: &joinTime,
|
||||
Ctime: &feiShuMsgCreateTime,
|
||||
Utime: &feiShuMsgCreateTime,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user