同步平台业务模块能力

This commit is contained in:
baiyanyun
2026-07-13 09:13:30 +08:00
parent e612f5e434
commit a1a38f62d8
224 changed files with 22331 additions and 1224 deletions

View File

@@ -81,14 +81,14 @@ public class PricingController {
if (pluginInfoDto == null) {
return ReqResult.error("Plugin is not published or no permission");
}
request.setPricingType(PricingTypeEnum.ONE_TIME);
request.setPricingType(request.getPricingType() == null ? PricingTypeEnum.ONE_TIME : request.getPricingType());
}
if (request.getTargetType() == TargetTypeEnum.WORKFLOW) {
WorkflowInfoDto workflowInfoDto = iAgentRpcService.getPublishedWorkflowInfo(Long.parseLong(request.getTargetId()), request.getSpaceId()).getData();
if (workflowInfoDto == null) {
return ReqResult.error("Workflow is not published or no permission");
}
request.setPricingType(PricingTypeEnum.ONE_TIME);
request.setPricingType(request.getPricingType() == null ? PricingTypeEnum.ONE_TIME : request.getPricingType());
}
if (request.getTargetType() == TargetTypeEnum.SKILL) {
SkillInfoDto data = iAgentRpcService.getPublishedSkillInfo(Long.parseLong(request.getTargetId()), request.getSpaceId()).getData();