This commit is contained in:
苏尹岚
2020-12-02 10:20:09 +08:00
parent e4b5efd4eb
commit 65340be4da
4 changed files with 28 additions and 19 deletions

View File

@@ -211,8 +211,8 @@ func GetJobs(ctx *jxcontext.Context, userIDs []string, categoryIDs, statuss, ven
dao.UpdateEntity(db, userSearchs[0], "Count", "UpdatedAt")
} else {
userSearch := &model.UserSearch{
UserID: userID,
Key: keyword,
UserID: userID,
Keyword: keyword,
}
dao.WrapAddIDCULEntity(userSearch, ctx.GetUserName())
dao.CreateEntity(db, userSearch)