You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package routers
-
- import (
- "code.gitea.io/gitea/modules/context"
- )
-
- type Table struct {
- TableName string
- SpecifyField string
- SortBy string
- Where string
- }
-
- type SearchOptions struct {
- Page int64
- PageSize int64
- Key string
- SearchObj []Table
- }
-
- func Search(ctx *context.Context) {
- // TableName := ctx.Query("TableName")
- // Key := ctx.Query("Key")
- // SortBy := ctx.Query("SortBy")
- // Page := ctx.QueryInt64("Page")
- // PageSize := ctx.QueryInt64("PageSize")
-
- // ESSearchUrl := setting.RecommentRepoAddr
-
- }
|