mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
17595a3076
commit
efefa9baaf
2 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ func getBacklink(c *gin.Context) {
|
|||
keyword := arg["k"].(string)
|
||||
mentionKeyword := arg["mk"].(string)
|
||||
beforeLen := arg["beforeLen"].(float64)
|
||||
boxID, backlinks, backmentions, linkRefsCount, mentionsCount := model.BuildTreeBacklink(id, keyword, mentionKeyword, int(beforeLen))
|
||||
boxID, backlinks, backmentions, linkRefsCount, mentionsCount := model.GetBacklink(id, keyword, mentionKeyword, int(beforeLen))
|
||||
ret.Data = map[string]interface{}{
|
||||
"backlinks": backlinks,
|
||||
"linkRefsCount": linkRefsCount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue