mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
17 lines
389 B
Go
17 lines
389 B
Go
package admin
|
|
|
|
import (
|
|
"gfast/library/response"
|
|
"gfast/library/service"
|
|
"github.com/gogf/gf/frame/g"
|
|
"github.com/gogf/gf/net/ghttp"
|
|
)
|
|
|
|
type Public struct{}
|
|
|
|
//获取验证码图片信息
|
|
func (p *Public) Verify(r *ghttp.Request) {
|
|
idKeyC, base64stringC := service.GetVerifyImgString()
|
|
response.SusJson(true, r, "ok", g.MapStrStr{"idKeyC": idKeyC, "base64stringC": base64stringC})
|
|
}
|