mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Search asset content need payment
This commit is contained in:
parent
680268054f
commit
481bb52ca7
1 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ func fullTextSearchAssetContent(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
if !model.IsPaidUser() {
|
||||
ret.Code = -1
|
||||
ret.Msg = model.Conf.Language(214)
|
||||
return
|
||||
}
|
||||
|
||||
page, pageSize, query, types, method, orderBy := parseSearchAssetContentArgs(arg)
|
||||
assetContents, matchedAssetCount, pageCount := model.FullTextSearchAssetContent(query, types, method, orderBy, page, pageSize)
|
||||
ret.Data = map[string]interface{}{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue