newmediamonitoring/dashboard/urls.py

62 lines
3.0 KiB
Python

from django.contrib import admin
from django.urls import path
from dashboard import views
urlpatterns = [
path('', views.home, name='dashboard-home'),
path('index/', views.index, name='dashboard-index'),
path('login/', views.user_login, name='dashboard-login'),
path('user/login/for/phone/', views.user_login_for_phone, name='dashboard-login-for-phone'),
# 手机用户第一次登录后完善个人信息
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'),
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),
# 单位搜索
path('get/organization/', views.get_organization, name='get-organization'),
path('tencent13722515905013783955.txt', views.wechat_verify, name='wechat-verify'),
# 用户搜索
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'),
#app下载
path('app/download/',views.app_download,name='dashboard-app-download'),
# 导入用户数据用的
path('import/user', views.import_user)
]