From 039583aaa5cc45ae18ba2fc041d32666b1ca5032 Mon Sep 17 00:00:00 2001 From: PandaGoAdmin <18610165312@163.com> Date: Fri, 12 Aug 2022 18:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++-- resource/template/vue/list-vue.template | 25 +++++++++++++++---------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/main.go b/main.go index 4342486..edd2817 100644 --- a/main.go +++ b/main.go @@ -36,9 +36,9 @@ var rootCmd = &cobra.Command{ }, Run: func(cmd *cobra.Command, args []string) { restfulx.UseAfterHandlerInterceptor(middleware.OperationHandler) - // gin前置 函数 + // 前置 函数 restfulx.UseBeforeHandlerInterceptor(restfulx.PermissionHandler) - // gin后置 函数 + // 后置 函数 restfulx.UseAfterHandlerInterceptor(restfulx.LogHandler) go func() { // 启动系统调度任务 diff --git a/resource/template/vue/list-vue.template b/resource/template/vue/list-vue.template index 3d90db0..2ba009f 100644 --- a/resource/template/vue/list-vue.template +++ b/resource/template/vue/list-vue.template @@ -108,16 +108,21 @@ class-name="small-padding fixed-width" >