This commit is contained in:
Liang Ding 2022-10-02 12:01:17 +08:00
parent 17595a3076
commit efefa9baaf
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 2 additions and 2 deletions

View file

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