fix: url兼容性处理
This commit is contained in:
parent
57bcfed7d1
commit
43caaae4bc
|
@ -24,6 +24,23 @@ from utils.file import UploadFileView
|
|||
from utils.view import redirect
|
||||
|
||||
urlpatterns = [
|
||||
path('rbac/', include('rbac.urls')),
|
||||
path('vod/', include('vod.urls')),
|
||||
path('develop/', include('develop.urls')),
|
||||
path('crm/', include('crm.urls')),
|
||||
path('question/', include('question.urls')),
|
||||
path('examtest/', include('examtest.urls')),
|
||||
path('cms/', include('cms.urls')),
|
||||
path('analyse/', include('analyse.urls')),
|
||||
path('qtest/', include('qtest.urls')),
|
||||
path('token/', obtain_jwt_token),
|
||||
path('token/refresh/', refresh_jwt_token),
|
||||
path('token/verify/', verify_jwt_token),
|
||||
path('token/remove/', UserLogoutView.as_view()),
|
||||
path('uploadfile/', UploadFileView.as_view()),
|
||||
path('redirect/',redirect),
|
||||
|
||||
|
||||
path('api/rbac/', include('rbac.urls')),
|
||||
path('api/vod/', include('vod.urls')),
|
||||
path('api/develop/', include('develop.urls')),
|
||||
|
|
Loading…
Reference in New Issue