feat✨ apis路径简化

This commit is contained in:
wenjianzhang committed 2021-05-14 12:19:22 +08:00
1 parent 8adc79a5f7
commit dfd460c50b
56 files changed
+471 -665

No files matched your search

+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",
})
}
}