mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 05:18:49 +01:00
🎨 reqId 请求为空时返回值必须包含该字段
This commit is contained in:
parent
ccc67d7faa
commit
c07c92417b
2 changed files with 18 additions and 1 deletions
|
|
@ -154,6 +154,12 @@ func searchRefBlock(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
reqId := arg["reqId"]
|
||||
ret.Data = map[string]interface{}{"reqId": reqId}
|
||||
if nil == arg["id"] {
|
||||
return
|
||||
}
|
||||
|
||||
rootID := arg["rootID"].(string)
|
||||
id := arg["id"].(string)
|
||||
keyword := arg["k"].(string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue