From efb2586c5e5db8e4864cc28a6e85413de8b31e0e Mon Sep 17 00:00:00 2001 From: what-00 Date: Wed, 12 Apr 2023 21:20:59 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=B7=BB=E5=8A=A0=20GetRoutes=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/route.go | 3 +++ 1 file changed, 3 insertions(+) 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