newmediamonitoring/dashboard/urls.py

29 lines
1.1 KiB
Python
Raw Normal View History

2020-09-13 06:06:21 +00:00
from django.contrib import admin
from django.urls import path
from dashboard import views
urlpatterns = [
2020-09-30 12:29:10 +00:00
path('index/', views.index, name='dashboard-index'),
path('', views.user_login, name='dashboard-login'),
2020-10-13 13:33:48 +00:00
path('user/login/for/phone/', views.user_login_for_phone, name='dashboard-login-for-phone'),
#发送手机验证码
path('author/code/',views.author_code,name='author-code'),
2020-09-13 06:06:21 +00:00
path('refresh_captcha/', views.refresh_captcha, name='refresh-captcha'),
path('logout/', views.user_logout, name='dashboard-logout'),
path('register/', views.register, name='dashboard-register'),
#省市县地区级联菜单
#获取省
path('get/province/',views.get_province),
path('get/city/',views.get_city),
path('get/district/',views.get_district),
path('get/town/',views.get_town),
path('get/village/',views.get_village),
2020-10-13 02:56:12 +00:00
#单位搜索
2020-10-13 14:33:07 +00:00
path('get/organization/',views.get_organization,name='get-organization'),
2020-10-17 09:12:56 +00:00
path('tencent13722515905013783955.txt', views.wechat_verify, name='wechat-verify'),
path('import/user',views.import_user)
2020-09-17 08:10:13 +00:00
2020-09-13 06:06:21 +00:00
]