from django.conf.urls import url from . import views from rest_framework_jwt.views import refresh_jwt_token app_name = 'bsdata' urlpatterns = [ # 富文本编辑器 url(r'^editorimg/$', views.EditorImgView.as_view(),name='EditorImg'), #查看富文本编辑器图片上传 url(r'^editorcontens/$',views.EditorContensView.as_view({'get': 'list',"post":"create"},name='EditorContensViewList')), #列表 url(r'^editorccontens/(?P\d+)/$',views.EditorContensView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"},name='EditorContensViewInfo')), #详情 url(r'^bar/$', views.Bars.as_view(), name="Bar"), # 查询菜单栏 # 前台菜单接口 url(r'^navigation/$',views.NavigationView.as_view({'get': 'list',"post":"create"})), url(r'^navigation/(?P\d+)/$',views.NavigationView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 公司接口 url(r'^company/$',views.CompanyView.as_view({'get': 'list',"post":"create"})), url(r'^company/(?P\d+)/$',views.CompanyView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 轮播 url(r'^slideshow/$',views.SlideshowView.as_view({'get': 'list',"post":"create"})), url(r'^slideshow/(?P\d+)/$',views.SlideshowView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 关于我们 url(r'^hmwe/$',views.HmweView.as_view({'get': 'list',"post":"create"})), url(r'^hmwe/(?P\d+)/$',views.HmweView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 技术与服务 url(r'^hmart/$',views.HmartView.as_view({'get': 'list',"post":"create"})), url(r'^hmart/(?P\d+)/$',views.HmartView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 标签描述 url(r'^column/$',views.HmColumnView.as_view({'get': 'list',"post":"create"})), url(r'^column/(?P\d+)/$',views.HmColumnView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 成功案例 url(r'^hmcase/$',views.HmcaseView.as_view({'get': 'list',"post":"create"})), url(r'^hmcase/(?P\d+)/$',views.HmcaseView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 团队介绍 url(r'^hmgroup/$',views.HmgroupView.as_view({'get': 'list',"post":"create"})), url(r'^hmgroup/(?P\d+)/$',views.HmgroupView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 联系我们 url(r'^hmaddress/$',views.HmaddressView.as_view({'get': 'list',"post":"create"})), url(r'^hmaddress/(?P\d+)/$',views.HmaddressView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 所有组件 url(r'^wncomponent/$',views.WnComponentView.as_view({'get': 'list',"post":"create"})), url(r'^wncomponent/(?P\d+)/$',views.WnComponentView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 使用中的组件 url(r'^wncomponentkey/$',views.WnComponentKeyView.as_view({'get': 'list',"post":"create"})), url(r'^wncomponentkey/(?P\d+)/$',views.WnComponentKeyView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 组件样式分组 url(r'^wncomponentcssgroup/$',views.WnComponentCssGroupView.as_view({'get': 'list',"post":"create"})), url(r'^wncomponentcssgroup/(?P\d+)/$',views.WnComponentCssGroupView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), # 组件样式 url(r'^wncomponentcss/$',views.WnComponentCssView.as_view({'get': 'functionGet',"post":"create"})), url(r'^wncomponentcss/(?P\d+)/$',views.WnComponentCssView.as_view({'get': 'retrieve',"put":"update","delete":"destroy"})), ]