فهرست منبع

邮箱验证码一分钟后提示

linhaohong 5 ماه پیش
والد
کامیت
3e635b6d20
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)
             # 邮箱用户是否已存在