Initial commit (code only without large binaries)
This commit is contained in:
20
EdgeUser/internal/web/actions/default/finance/logs/init.go
Normal file
20
EdgeUser/internal/web/actions/default/finance/logs/init.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package logs
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeUser/internal/web/helpers"
|
||||
"github.com/iwind/TeaGo"
|
||||
)
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
server.
|
||||
Helper(helpers.NewUserMustAuth("")).
|
||||
Data("teaMenu", "finance").
|
||||
Data("teaSubMenu", "logs").
|
||||
|
||||
// 财务管理
|
||||
Prefix("/finance/logs").
|
||||
Get("", new(IndexAction)).
|
||||
EndAll()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user