|
|
@ -38,7 +38,7 @@ func main() { |
|
|
|
//DisplayName: "wy8094-Server",
|
|
|
|
Name: "SaisiweiServer", |
|
|
|
DisplayName: "SaisiweiServer", |
|
|
|
Description: "this is LappServer", |
|
|
|
Description: "this is SaisiweiServer", |
|
|
|
} |
|
|
|
|
|
|
|
prg := &program{} |
|
|
@ -101,7 +101,7 @@ func imain() { |
|
|
|
preset.PreSettring(app) |
|
|
|
//注册路由
|
|
|
|
routes.Hub(app) |
|
|
|
app.RegisterView(iris.HTML("./web/public", ".html")) |
|
|
|
//app.RegisterView(iris.HTML("./web/public", ".html"))
|
|
|
|
// 设置静态资源
|
|
|
|
app.HandleDir("/public", "./web/public") |
|
|
|
//数据备份
|
|
|
|