feat: update memo relations dialog

This commit is contained in:
Steven
2023-10-19 00:18:07 +08:00
parent 22d331d6c4
commit 21c70e7993
10 changed files with 190 additions and 15 deletions

View File

@@ -194,9 +194,9 @@ func (s *APIV1Service) GetMemoList(c echo.Context) error {
if tag != "" {
contentSearch = append(contentSearch, "#"+tag)
}
contentSlice := c.QueryParams()["content"]
if len(contentSlice) > 0 {
contentSearch = append(contentSearch, contentSlice...)
content := c.QueryParam("content")
if content != "" {
contentSearch = append(contentSearch, content)
}
findMemoMessage.ContentSearch = contentSearch