urls.py 1.1 KB

12345678910111213141516171819202122232425262728
  1. from django.conf.urls import url
  2. from . import views
  3. app_name = 'webnews'
  4. urlpatterns = [
  5. # 查看公司接口
  6. url(r'^wb/company/$', views.WbCompany.as_view(),name='WbCompany'),
  7. # 查看导航
  8. url(r'^wb/navigation/$', views.WbNavigation.as_view(),name='WbNavigation'),
  9. # 轮播
  10. url(r'^wb/slideshow/$', views.WbSlideshow.as_view(),name='WbSlideshow'),
  11. # 关于我们
  12. url(r'^wb/hmwe/$', views.WbHmwe.as_view(),name='WbHmwe'),
  13. # 技术与服务
  14. url(r'^wb/hmart/$', views.WbHmart.as_view(),name='WbHmart'),
  15. # 成功案例头部
  16. url(r'^wb/column/$', views.WbColumn.as_view(),name='WbColumn'),
  17. # 成功案例
  18. url(r'^wb/hmcase/$', views.WbHmcase.as_view(),name='WbHmcase'),
  19. # 团队介绍
  20. url(r'^wb/hmgroup/$', views.WbHmgroup.as_view(),name='WbHmgroup'),
  21. # 联系我们
  22. url(r'^wb/hmaddress/$', views.WbHmaddress.as_view(),name='WbHmaddress'),
  23. # 获取组件使用的组件
  24. url(r'^wb/wncomponentkey/$',views.WnComponentkeyView.as_view({'get': 'list'})),
  25. # 获取组件样式
  26. url(r'^wb/wncomponentcss/$',views.WnComponentCssView.as_view(),name='WnComponentCssView'),
  27. ]