|
@@ -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'),
|