diff options
Diffstat (limited to 'usecaseui-portal/src/app/core/services')
-rw-r--r-- | usecaseui-portal/src/app/core/services/intentManagement.service.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/core/services/intentManagement.service.ts b/usecaseui-portal/src/app/core/services/intentManagement.service.ts index de0216db..ee9cd3b2 100644 --- a/usecaseui-portal/src/app/core/services/intentManagement.service.ts +++ b/usecaseui-portal/src/app/core/services/intentManagement.service.ts @@ -25,7 +25,8 @@ export class IntentManagementService { createIntentManagement: "/api/usecaseui-intent-analysis/v1/intents", getIntentManagement: "/api/usecaseui-intent-analysis/v1/intents/intentGenerateType/USERINPUT", deleteIntentManagement: "/api/usecaseui-intent-analysis/v1/intents/", - updateIntentManagementData: "/api/usecaseui-intent-analysis/v1/intents/" + updateIntentManagementData: "/api/usecaseui-intent-analysis/v1/intents/", + getIntentReport: "/api/usecaseui-intent-analysis/v1/intentReport/" }; // intentManagement @@ -38,7 +39,10 @@ export class IntentManagementService { deleteIntentManagementData(intentId) { return this.http.delete<any>(this.url.deleteIntentManagement + intentId); } - updateIntentManagementData(id, requestBody) {//更新接口未完成 + updateIntentManagementData(id, requestBody) { return this.http.put<any>(this.url.updateIntentManagementData + id, requestBody); } + getIntentReportData(intentId){ + return this.http.get<any>(this.url.getIntentReport+intentId); + } } |