|
@@ -42,7 +42,7 @@ func (this *UserCommonController) GetGraphicVerifyCode() {
|
|
|
char := base64Captcha.EngineCharCreate(configC)
|
|
|
|
|
|
base64stringC := base64Captcha.CaptchaWriteToBase64Encoding(char)
|
|
|
- verifyId := fmt.Sprintf("%d", time.Now().Unix())
|
|
|
+ verifyId := fmt.Sprintf("%d", time.Now().UnixNano())
|
|
|
item := new(models.GraphicVerifyCode)
|
|
|
item.VerifyId = verifyId
|
|
|
item.VerifyCode = char.CaptchaItem.VerifyValue
|