[系统用户]增加OTP动态密码二次认证

This commit is contained in:
GoEdgeLab
2020-12-24 17:15:53 +08:00
parent 89506a15c0
commit bf61b2a170
35 changed files with 532 additions and 137 deletions

View File

@@ -6,7 +6,9 @@ import (
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.Prefix("/").
server.
Post("/checkOTP", new(CheckOTPAction)).
Prefix("/").
GetPost("", new(IndexAction)).
EndAll()
})