Browse Source

邮箱验证码一分钟后提示

linhaohong 5 tháng trước cách đây
mục cha
commit
3e635b6d20
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
             # 邮箱用户是否已存在