提交 37d7f391 authored 作者: Chris Harris's avatar Chris Harris

新增hello-world作为CICD测试

上级 f5775432
...@@ -1212,6 +1212,9 @@ urlpatterns = [ ...@@ -1212,6 +1212,9 @@ urlpatterns = [
# 易臻发货批次信息 # 易臻发货批次信息
url(r'^inventory/batchno/details/(?P<batch_id>\d+)/$',inventory_views.cat_batchno_details), url(r'^inventory/batchno/details/(?P<batch_id>\d+)/$',inventory_views.cat_batchno_details),
# test
url("hello-world/", inventory_views.hello_world)
] ]
if settings.DEBUG: if settings.DEBUG:
......
...@@ -14163,3 +14163,8 @@ def jcs_virtual_stack_binding(batch,stack_binding,company_id): ...@@ -14163,3 +14163,8 @@ def jcs_virtual_stack_binding(batch,stack_binding,company_id):
"on CONFLICT(stack_id,label_pk_id) do nothing" "on CONFLICT(stack_id,label_pk_id) do nothing"
cur.execute(s) cur.execute(s)
return data return data
@csrf_exempt
def hello_world(request):
return HttpResponse("<h1>HelloWorld</h1>")
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论