mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
✏️ 迁移到 utils/sql
This commit is contained in:
@@ -7,7 +7,7 @@ type book struct {
|
||||
|
||||
// 暂时随机选择一个书评
|
||||
func getBookReviewByKeyword(keyword string) (b book) {
|
||||
db.Find("bookreview", &b, "where book_review LIKE %"+keyword+"%")
|
||||
db.Find("bookreview", &b, "where bookreview LIKE %"+keyword+"%")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user