Browse Source

接口加^

locky 2 năm trước cách đây
mục cha
commit
5a859cdadc
1 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 8 8
      Ansjer/urls.py

+ 8 - 8
Ansjer/urls.py

@@ -34,14 +34,14 @@ urlpatterns = [
     re_path('account/authcode', UserController.authCodeView.as_view()),
     re_path('v3/account/generatepictureCodeView/', UserController.generatePictureCodeView.as_view()),
     re_path('v3/account/imageCodeRegister/', UserController.Image_Code_RegisterView.as_view()),
-    re_path('account/register', UserController.registerView.as_view()),
-    re_path('account/login', UserController.v2LoginView.as_view()),
-    re_path('account/logout', UserController.LogoutView.as_view()),
-    re_path('account/noPasslogin', UserController.noPasslogin.as_view()),
-    re_path('account/changePwd', UserController.ChangePwdView.as_view()),
-    re_path('account/forget', UserController.ForgetPwdView.as_view()),
-    re_path('account/email-re-pwd', UserController.EmailResetPwdView.as_view()),
-    re_path('account/refreshTk', UserController.refreshTokenView.as_view()),
+    re_path('^account/register', UserController.registerView.as_view()),
+    re_path('^account/login', UserController.v2LoginView.as_view()),
+    re_path('^account/logout', UserController.LogoutView.as_view()),
+    re_path('^account/noPasslogin', UserController.noPasslogin.as_view()),
+    re_path('^account/changePwd', UserController.ChangePwdView.as_view()),
+    re_path('^account/forget', UserController.ForgetPwdView.as_view()),
+    re_path('^account/email-re-pwd', UserController.EmailResetPwdView.as_view()),
+    re_path('^account/refreshTk', UserController.refreshTokenView.as_view()),
     re_path('v3/account/refreshTk', UserController.refreshTokenViewV3.as_view()),
     re_path('v3/account/deleteUser', UserController.DeleteUser.as_view()),
     re_path('favicon.ico', UserManger.success, name=u'favicon.ico'),