mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 18:20:50 +00:00
feat✨ apis路径简化
This commit is contained in:
@@ -11,7 +11,7 @@ type System struct {
|
||||
}
|
||||
|
||||
func (e System) GenerateCaptchaHandler(c *gin.Context) {
|
||||
e.Context = c
|
||||
e.MakeContext(c)
|
||||
log := e.GetLogger()
|
||||
id, b64s, err := captcha.DriverDigitFunc()
|
||||
if err != nil {
|
||||
@@ -25,4 +25,4 @@ func (e System) GenerateCaptchaHandler(c *gin.Context) {
|
||||
"id": id,
|
||||
"msg": "success",
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user