提交 9670c3c6 编写于 作者: zcdtk's avatar zcdtk

Merge remote-tracking branch 'core/dev' into dev

...@@ -97,14 +97,16 @@ ...@@ -97,14 +97,16 @@
break; break;
</#if> </#if>
</#if> </#if>
default:
response = new HttpResponse(500, null, { code: 101, message: '未配置更新实体行为' });
</#list> </#list>
</#if> </#if>
} }
if (!response || !response.isError()) { if (!response.isError()) {
response = this.handleResponse("", response); response = this.handleResponse("", response);
} }
await this.onAfterAction('', context, response); await this.onAfterAction('', context, response);
return new HttpResponse(response.status, response.data); return new HttpResponse(response.status, response.data, response.error);
} }
/** /**
...@@ -140,14 +142,16 @@ ...@@ -140,14 +142,16 @@
break; break;
</#if> </#if>
</#if> </#if>
default:
response = new HttpResponse(500, null, { code: 101, message: '未配置删除实体行为' });
</#list> </#list>
</#if> </#if>
} }
if (!response || !response.isError()) { if (!response.isError()) {
response = this.handleResponse("", response); response = this.handleResponse("", response);
} }
await this.onAfterAction('', context, response); await this.onAfterAction('', context, response);
return new HttpResponse(response.status, response.data); return new HttpResponse(response.status, response.data, response.error);
} }
<#ibizinclude> <#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册