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

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

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