We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaddedf commit f3da674Copy full SHA for f3da674
server/core/server.go
@@ -4,7 +4,6 @@ import (
4
"fmt"
5
"gin-vue-admin/global"
6
"gin-vue-admin/initialize"
7
- "github.com/piexlmax/gvaplug"
8
"net/http"
9
"time"
10
)
@@ -18,10 +17,10 @@ func RunWindowsServer() {
18
17
Router.Static("/form-generator", "./resource/page")
19
20
// 插件安装 暂时只是后台功能 添加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
- }
+ //err := initialize.InstallPlug(global.GVA_DB, Router, gvaplug.GvaPlug{})
+ //if err != nil {
+ // panic(fmt.Sprintf("插件安装失败: %v", err))
+ //}
25
// end 插件描述
26
27
address := fmt.Sprintf(":%d", global.GVA_CONFIG.System.Addr)
0 commit comments