mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-25 02:44:52 +08:00
chore!(all): attempt to update beego to v2
BREAKING CHANGE: beego has update to v2, and this version of mindoc IS NOT TESTED AND STABLE!!!
This commit is contained in:
@@ -3,7 +3,7 @@ package models
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/astaxie/beego/orm"
|
||||
"github.com/beego/beego/v2/adapter/orm"
|
||||
"github.com/mindoc-org/mindoc/conf"
|
||||
)
|
||||
|
||||
@@ -118,8 +118,7 @@ func (m *MemberRelationshipResult) FindNotJoinUsersByAccountOrRealName(bookId, l
|
||||
|
||||
var members []*Member
|
||||
|
||||
_, err := o.Raw(sql, bookId, keyWord,keyWord, limit).QueryRows(&members)
|
||||
_, err := o.Raw(sql, bookId, keyWord, keyWord, limit).QueryRows(&members)
|
||||
|
||||
return members, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user