# -*- coding:utf-8 -*-
from django.conf.urls import url
from ..views import api

urlpatterns = [
    # http://1172.16.17.32:8000/api/1.0/case/1/executeid/
    url(r'(?P<pk>\d+)/executeid/$', api.CaseExecute.as_view(),
        name='get_currect_execute_id'),
    # 删除case【其实只修改状态为delete】
    url(r'delete/$', api.CaseDelete.as_view(), name="delete"),

]
# -*- coding:utf-8 -*-
from django.conf.urls import url
from ..views import api

urlpatterns = [
    # http://1172.16.17.32:8000/api/1.0/case/1/executeid/
    url(r'(?P<pk>\d+)/executeid/$', api.CaseExecute.as_view(),
        name='get_currect_execute_id'),
    # 删除case【其实只修改状态为delete】
    url(r'delete/$', api.CaseDelete.as_view(), name="delete"),

]
# -*- coding:utf-8 -*- # http://1172.16.17.32:8000/api/1.0/case/1/executeid/ # 删除case【其实只修改状态为delete】