wangshan 5 months ago
parent
commit
64e220f386
1 changed files with 1 additions and 1 deletions
  1. 1 1
      captcha/captcha.go

+ 1 - 1
captcha/captcha.go

@@ -23,7 +23,7 @@ const (
 var TextCharacters = []rune("ACDEFGHJKLMNPQRSTUVWXY2456789")
 
 // 初始化字体文件
-func CaptchaInit() {
+func InitCaptcha() {
 	err := gocaptcha.SetFontPath("./fonts/")
 	if err != nil {
 		log.Println(err)