Files
waf-platform/EdgeUser/internal/web/actions/default/finance/init.go
2026-02-04 20:27:13 +08:00

23 lines
400 B
Go

package bills
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").
// 财务管理
Prefix("/finance").
Get("", new(IndexAction)).
Post("/methodOptions", new(MethodOptionsAction)).
//
EndAll()
})
}