From 4038110e2f6c2a1bd0f19143d1b8410a215b0586 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 8 Jun 2023 16:04:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=B5=8B=E8=AF=95=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controller/basic.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/controller/basic.go b/api/controller/basic.go index 44fb772..1222a1b 100644 --- a/api/controller/basic.go +++ b/api/controller/basic.go @@ -9,14 +9,12 @@ import ( "hospital-admin-api/utils" "regexp" "strings" - "time" ) type Basic struct{} // GetCaptcha 获取验证码 func (b *Basic) GetCaptcha(c *gin.Context) { - time.Sleep(20 * time.Second) id, b64s, err := utils.GenerateCaptcha() if err != nil { responses.FailWithMessage("验证码获取失败", c)