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"). Data("teaSubMenu", "bills"). Prefix("/finance/bills"). Get("", new(IndexAction)). Post("/pay", new(PayAction)). Get("/bill", new(BillAction)). EndAll() }) }