mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-09 02:33:43 +08:00
添加验证码选择,可自由选择字符或计算
This commit is contained in:
6
server/internal/consts/captcha.go
Normal file
6
server/internal/consts/captcha.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package consts
|
||||
|
||||
const (
|
||||
CaptchaTypeString = iota + 1 // 字符串
|
||||
CaptchaTypeMath // 数字计算
|
||||
)
|
||||
Reference in New Issue
Block a user