feat apis路径简化

This commit is contained in:
wenjianzhang
2021-05-14 12:19:22 +08:00
parent 8adc79a5f7
commit dfd460c50b
56 changed files with 471 additions and 665 deletions
+2 -2
View File
@@ -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",
})
}
}