const res = await this.http.get(`/{{pluralizeappEntity.codeName}}/${encodeURIComponent(_context.{{lowerCaseappEntity.codeName}})}{{singleAppMethod.requestPath}}`);
viewParams[this.APPDEKEY] = undefined;
return res;
let deResPath = this.buildDeResPath(context, false);
{{/eq}}
const res = await this.http.{{lowerCasesingleAppMethod.psDEServiceAPIMethod.requestMethod}}(deResPath+'/{{singleAppMethod.psDEServiceAPIMethod.requestPath}}', viewParams);
{{#eqsingleAppMethod.codeName"GetDraft"}}
// TODO appentityexecuteafteractionlogic
_data[this.APPDENAME?.toLowerCase()] = undefined;
// TODO @appentityexecuteafteractionlogic
_data[this.APPDEKEY] = undefined;
// TODO 设置本地缓存 @setStore
const res = await this.http.post(`/{{pluralizeappEntity.codeName}}/${encodeURIComponent(_context.{{lowerCaseappEntity.codeName}})}{{singleAppMethod.requestPath}}`, _data);