newmediamonitoring/monitor/urls.py

56 lines
3.3 KiB
Python

from django.urls import path
from . import views
urlpatterns = [
#新媒体舆情
path('new/media/public/opinion/weixin/',views.new_media_public_opinion_weixin,name='monitor-new-media-public-opinion-weixin'),
path('new/media/public/opinion/weibo/',views.new_media_public_opinion_weibo,name='monitor-new-media-public-opinion-weibo'),
path('new/media/public/opinion/toutiao/',views.new_media_public_opinion_toutiao,name='monitor-new-media-public-opinion-toutiao'),
path('new/media/public/opinion/douyin/',views.new_media_public_opinion_douyin,name='monitor-new-media-public-opinion-douyin'),
path('new/media/public/opinion/qita/',views.new_media_public_opinion_qita,name='monitor-new-media-public-opinion-qita'),
#时效性监测
path('timeliness/monitoring/json/',views.timeliness_monitoring_json,name='monitor-timeliness-monitoring-json'),
path('timeliness/monitoring/json/weixin/',views.timeliness_monitoring_json_weixin,name='monitor-timeliness-monitoring-json-weixin'),
path('timeliness/monitoring/json/weibo/',views.timeliness_monitoring_json_weibo,name='monitor-timeliness-monitoring-json-weibo'),
path('timeliness/monitoring/json/toutiao/',views.timeliness_monitoring_json_toutiao,name='monitor-timeliness-monitoring-json-toutiao'),
path('timeliness/monitoring/json/douyin/',views.timeliness_monitoring_json_douyin,name='monitor-timeliness-monitoring-json-douyin'),
path('timeliness/monitoring/json/qita/',views.timeliness_monitoring_json_qita,name='monitor-timeliness-monitoring-json-qita'),
path('timeliness/monitoring/weixin/',views.timeliness_monitoring_weixin,name='monitor-timeliness-monitoring-weixin'),
path('timeliness/monitoring/weibo/',views.timeliness_monitoring_weibo,name='monitor-timeliness-monitoring-weibo'),
path('timeliness/monitoring/toutiao/',views.timeliness_monitoring_toutiao,name='monitor-timeliness-monitoring-toutiao'),
path('timeliness/monitoring/douyin/',views.timeliness_monitoring_douyin,name='monitor-timeliness-monitoring-douyin'),
path('timeliness/monitoring/qita/',views.timeliness_monitoring_qita,name='monitor-timeliness-monitoring-qita'),
#错别字监测
path('error/monitoring/',views.error_monitoring,name='monitor-error-monitoring'),
#敏感词监测
path('sensitive/word/monitoring/',views.sensitive_word_monitoring,name='monitor-sensitive-word-monitoring'),
#评论互动监测
path('comment/on/interactive/monitoring/',views.comment_on_interactive_monitoring,name='monitor-comment-on-interactive-monitoring'),
path('comment/on/interactive/monitoring/json/',views.comment_on_interactive_monitoring_json,name='monitor-comment-on-interactive-monitoring-json'),
#监测报告
path('monitoring/report/',views.monitoring_report,name='monitor-monitoring-report'),
path('monitoring/report/json/',views.monitoring_report_json,name='monitor-monitoring-report-json'),
#首页图
path('index/map/',views.index_map,name='index-map'),
path('index/newmedia/count/',views.index_newmedia_count,name='index-newmedia-count'),
path('index/warning/count/',views.index_warning_count,name='index-warning-count'),
path('index/update/count/',views.index_update_count,name='index-update-count'),
#文章高频词统计
path('test/',views.test),
path('test/json/',views.test_json)
]