Skip to content

Commit f3da674

Browse files
author
QM303176530
committed
屏蔽开发中的插件功能
1 parent aaddedf commit f3da674

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

server/core/server.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"fmt"
55
"gin-vue-admin/global"
66
"gin-vue-admin/initialize"
7-
"github.com/piexlmax/gvaplug"
87
"net/http"
98
"time"
109
)
@@ -18,10 +17,10 @@ func RunWindowsServer() {
1817
Router.Static("/form-generator", "./resource/page")
1918

2019
// 插件安装 暂时只是后台功能 添加model 添加路由 添加对数据库的操作 详细插件测试模板可看https://github.com/piexlmax/gvaplug 此处不建议投入生产
21-
err := initialize.InstallPlug(global.GVA_DB, Router, gvaplug.GvaPlug{})
22-
if err != nil {
23-
panic(fmt.Sprintf("插件安装失败: %v", err))
24-
}
20+
//err := initialize.InstallPlug(global.GVA_DB, Router, gvaplug.GvaPlug{})
21+
//if err != nil {
22+
// panic(fmt.Sprintf("插件安装失败: %v", err))
23+
//}
2524
// end 插件描述
2625

2726
address := fmt.Sprintf(":%d", global.GVA_CONFIG.System.Addr)

0 commit comments

Comments
 (0)