Browse Source

邮箱验证码一分钟后提示

linhaohong 5 months ago
parent
commit
3e635b6d20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/UserController.py

+ 1 - 1
Controller/UserController.py

@@ -945,7 +945,7 @@ class v2authCodeView(TemplateView):
             code = reds.get_data(key=code_key)
             # 是否以获取邮箱验证码
             if code:
-                return response.json(0)
+                return response.json(0, "please check code or get it again after 1m")
             user_qs = Device_User.objects.filter(username=email)
             email_qs = Device_User.objects.filter(userEmail=email)
             # 邮箱用户是否已存在