from django.urls import path
from . import views

app_name = 'newsApp'

urlpatterns = [
    # path('company/', views.company, name='company'),     # 公司要闻
    # path('industry/', views.industry, name='industry'),  # 行业新闻
    # path('notice/', views.notice, name='notice'),        # 通知公告
    path('news/<str:newName>/', views.news, name='news'),
    path('newDetail/<int:id>/', views.newDetail, name='newDetail'),
    path('search/', views.search, name='search'),
    
]