newmediamonitoring/dashboard/urls.py

63 lines
3.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-11-13 16:22:22 +00:00
path('', views.home, name='dashboard-home'),
2020-09-30 12:29:10 +00:00
path('index/', views.index, name='dashboard-index'),
2020-11-20 10:41:18 +00:00
path('download/', views.download, name='dashboard-download'),
2020-11-13 16:22:22 +00:00
path('login/', 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'),
2020-10-27 23:34:23 +00:00
# 手机用户第一次登录后完善个人信息
path('user/improve/personal/information/<str:pk>/', views.improve_personal_information,
name='user-improve-personal-information'),
# 发送手机验证码
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'),
2020-10-27 23:34:23 +00:00
# 省市县地区级联菜单
# 获取省
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),
# 单位搜索
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'),
2020-10-27 13:04:28 +00:00
2020-10-27 23:34:23 +00:00
# 用户搜索
path('user/search/by/keyword/', views.user_search_by_keyword, name='user-search-by-keyword'),
# 新闻搜索
path('news/search/by/keyword/', views.news_search_by_keyword, name='news-search-by-keyword'),
# 单位搜索
path('organization/search/by/keyword/', views.organization_search_by_keyword,
name='organization-search-by-keyword'),
# 微信搜索
path('weixin/search/by/keyword/', views.weixin_search_by_keyword, name='weixin-search-by-keyword'),
# 微博搜索
path('weibo/search/by/keyword/', views.weibo_search_by_keyword, name='weibo-search-by-keyword'),
# 头条搜索
path('toutiao/search/by/keyword/', views.toutiao_search_by_keyword, name='toutiao-search-by-keyword'),
# 抖音搜索
path('douyin/search/by/keyword/', views.douyin_search_by_keyword, name='douyin-search-by-keyword'),
# 其他新媒体搜索
path('qita/search/by/keyword/', views.qita_search_by_keyword, name='qita-search-by-keyword'),
# 我创建的矩阵搜索
path('group/init/search/by/keyword/', views.group_init_search_by_keyword, name='group-init-search-by-keyword'),
# 我管理的矩阵搜索
path('group/admin/search/by/keyword/', views.group_admin_search_by_keyword, name='group-admin-search-by-keyword'),
# 我加入的矩阵搜索
path('group/user/search/by/keyword/', views.group_user_search_by_keyword, name='group-user-search-by-keyword'),
# 所有的矩阵搜索
path('group/super/search/by/keyword/', views.group_super_search_by_keyword, name='group-super-search-by-keyword'),
2020-11-13 16:22:22 +00:00
#app下载
path('app/download/',views.app_download,name='dashboard-app-download'),
2020-10-27 23:34:23 +00:00
# 导入用户数据用的
path('import/user', views.import_user)
2020-09-17 08:10:13 +00:00
2020-09-13 06:06:21 +00:00
]