package mobileverify import ( "github.com/TeaOSLab/EdgeUser/internal/web/actions/default/settings/settingutils" "github.com/TeaOSLab/EdgeUser/internal/web/helpers" "github.com/iwind/TeaGo" ) func init() { TeaGo.BeforeStart(func(server *TeaGo.Server) { server. Helper(helpers.NewUserMustAuth("")). Helper(settingutils.NewHelper("profile")). Prefix("/settings/mobile-verify"). GetPost("", new(IndexAction)). Post("/verify", new(VerifyAction)). EndAll() }) }