mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【更新】修复代码生成
This commit is contained in:
4
main.go
4
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() {
|
||||
// 启动系统调度任务
|
||||
|
||||
Reference in New Issue
Block a user