Skip to content

Commit

Permalink
fix: 飞书处理离职用户是字段错误的问题 (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf authored Nov 11, 2023
1 parent 87ec6a1 commit 2032322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logic/feishu_logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func (d FeiShuLogic) SyncFeiShuUsers(c *gin.Context, req interface{}) (data inte
for _, uid := range userIds {
if isql.User.Exist(
tools.H{
"status": 1, //只处理1在职的
"source_user_id": fmt.Sprintf("%s_%s", config.Conf.FeiShu.Flag, uid),
"status": 1, //只处理1在职的
"source_union_id": fmt.Sprintf("%s_%s", config.Conf.FeiShu.Flag, uid),
}) {
user := new(model.User)
err = isql.User.Find(tools.H{"source_union_id": fmt.Sprintf("%s_%s", config.Conf.FeiShu.Flag, uid)}, user)
Expand Down

0 comments on commit 2032322

Please sign in to comment.