|
|
@ -13,9 +13,11 @@ func (s *Server) registerTagRoutes(g *echo.Group) {
|
|
|
|
g.GET("/tag", func(c echo.Context) error {
|
|
|
|
g.GET("/tag", func(c echo.Context) error {
|
|
|
|
userID := c.Get(getUserIDContextKey()).(int)
|
|
|
|
userID := c.Get(getUserIDContextKey()).(int)
|
|
|
|
contentSearch := "#"
|
|
|
|
contentSearch := "#"
|
|
|
|
|
|
|
|
normalRowStatus := api.Normal
|
|
|
|
memoFind := api.MemoFind{
|
|
|
|
memoFind := api.MemoFind{
|
|
|
|
CreatorID: &userID,
|
|
|
|
CreatorID: &userID,
|
|
|
|
ContentSearch: &contentSearch,
|
|
|
|
ContentSearch: &contentSearch,
|
|
|
|
|
|
|
|
RowStatus: &normalRowStatus,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
memoList, err := s.Store.FindMemoList(&memoFind)
|
|
|
|
memoList, err := s.Store.FindMemoList(&memoFind)
|
|
|
|