Skip to content

Commit

Permalink
Update router.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Rorical committed Mar 20, 2024
1 parent c1904bc commit 832b6aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/responser/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ func (r *Router) SearchIllustHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down Expand Up @@ -302,6 +303,7 @@ func (r *Router) SearchIllustSuggestHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down Expand Up @@ -330,6 +332,7 @@ func (r *Router) SearchUserHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down Expand Up @@ -368,6 +371,7 @@ func (r *Router) SearchUserSuggestHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down Expand Up @@ -396,6 +400,7 @@ func (r *Router) SearchTagSuggestHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down Expand Up @@ -424,6 +429,7 @@ func (r *Router) SearchIllustByTagHandler(c *gin.Context) {
c.JSON(500, gin.H{
"error": "暂时不可用",
})
return

ctx := c.Request.Context()

Expand Down

0 comments on commit 832b6aa

Please sign in to comment.