Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dish] fix: 关键词搜寻功能 #904

Merged
merged 2 commits into from
May 11, 2024
Merged

Conversation

Kittengarten
Copy link
Contributor

db.Find 所用的 condition 中,关键词没有被一对 '包裹,调用时会报错 SQL logic error: near "%": syntax error (1)

返回结果时,应当返回找到的菜谱名 d.Name,而不是用户输入的关键词 dishName

如用户输入的关键词未搜索到结果,给予提示。

@fumiama fumiama merged commit e62c86a into FloatTech:master May 11, 2024
8 checks passed
YumeMichi added a commit to YumeMichi/ZeroBot-Plugin that referenced this pull request May 15, 2024
* https://github.com/FloatTech/ZeroBot-Plugin:
  feat: add plugin 抽扑克牌 (FloatTech#906)
  fix(workflow): pr not work properly
  Revert "feat: add plugin 抽扑克! (FloatTech#903)" (FloatTech#905)
  feat: add plugin 抽扑克! (FloatTech#903)
  [dish] fix: 关键词搜寻功能 (FloatTech#904)
  修复 FullMatchRule 中调用 ctx.NickName() 的 panic 问题 (FloatTech#902)
  optimize: gif plugin for image cache (FloatTech#901) (fix FloatTech#900)
  Update guessmusic plugin (FloatTech#898)
  make lint happy
  add robbery plugin (FloatTech#893)
  [mcfish]  Add one click selling (FloatTech#894)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants