diff --git a/base/route.go b/base/route.go index b5789fc..f3546d6 100644 --- a/base/route.go +++ b/base/route.go @@ -21,3 +21,6 @@ type Route struct { UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` } + +// 前端路由 +type GetRoutes func(platform string, roles ...string) []Route