Skip to content

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
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