Explorar el Código

登录接口加$

locky hace 2 años
padre
commit
c983505d99
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Ansjer/urls.py

+ 1 - 1
Ansjer/urls.py

@@ -120,7 +120,7 @@ urlpatterns = [
     re_path('v2/authcode/verify', UserController.verifyAuthcode.as_view()),
     re_path('v2/authcode/verify', UserController.verifyAuthcode.as_view()),
     re_path('v2/account/logout', UserController.V2LogoutView.as_view()),
     re_path('v2/account/logout', UserController.V2LogoutView.as_view()),
     re_path('v2/account/login', UserController.v3LoginView.as_view()),
     re_path('v2/account/login', UserController.v3LoginView.as_view()),
-    re_path('v3/account/login', UserController.v3LoginView.as_view()),
+    re_path('v3/account/login$', UserController.v3LoginView.as_view()),
     re_path('account/oneClickLogin', UserController.oneClickLoginView.as_view()),
     re_path('account/oneClickLogin', UserController.oneClickLoginView.as_view()),
     re_path('account/createPwd', UserController.createPwd.as_view()),
     re_path('account/createPwd', UserController.createPwd.as_view()),
     re_path('account/delete', UserController.deleteAccount),
     re_path('account/delete', UserController.deleteAccount),