diff --git a/src/pages/componentMarket/compCard.tsx b/src/pages/componentMarket/compCard.tsx new file mode 100644 index 0000000..61de299 --- /dev/null +++ b/src/pages/componentMarket/compCard.tsx @@ -0,0 +1,68 @@ +import React, { useEffect, useState } from 'react'; +import styles from './style/compCard.module.less'; +import { compData } from '@/pages/componentMarket/test/data'; +import { Card, Grid, Rate, Typography } from '@arco-design/web-react'; + +const { Row, Col } = Grid; + +interface CompCardProps { + componentClassify: string; +} + +const CompCard: React.FC = ({ componentClassify }) => { + const [componentClassifyData, setComponentClassifyData] = useState([]); + + useEffect(() => { + if (componentClassify === '全部') setComponentClassifyData(compData); + else { + const filterData = compData.filter(v => v.componentClassify === componentClassify); + setComponentClassifyData(filterData || []); + } + }, [componentClassify]); + + return ( +
+ + {componentClassifyData.map((v, i) => { + return ( + + + {/*左侧图片*/} +
图片
+ {/*右侧数据*/} +
+
{v.name}
+
{v.identifier}
+
+
组件评分:
+ + + {v.star < 0 ? 5 : v.star}分 + +
+
+
+
+
{v.componentClassify}
+
{v.deployType}
+
+ + ); + })} +
+
+ ); +}; + +export default CompCard; \ No newline at end of file diff --git a/src/pages/componentMarket/index.tsx b/src/pages/componentMarket/index.tsx index e6e1d67..56fb747 100644 --- a/src/pages/componentMarket/index.tsx +++ b/src/pages/componentMarket/index.tsx @@ -1,10 +1,44 @@ -import React from 'react'; +import React, { useState } from 'react'; +import styles from './style/index.module.less'; +import CustomCard from '@/components/CustomCard/index'; +import CompCard from './compCard'; +import { menu } from './test/data'; +import { Tabs, Input, Select } from '@arco-design/web-react'; + +const TabPane = Tabs.TabPane; +const InputSearch = Input.Search; function ComponentMarket() { return ( <> -
- 组件市场 +
+ + {/*公用搜索*/} +
+
+ + + + +
+
+ {/*单类型数据渲染*/} + + {menu.map((item) => { + return ( + + + + ); + })} + +
); diff --git a/src/pages/componentMarket/style/compCard.module.less b/src/pages/componentMarket/style/compCard.module.less new file mode 100644 index 0000000..f6f9008 --- /dev/null +++ b/src/pages/componentMarket/style/compCard.module.less @@ -0,0 +1,38 @@ +.comp-card { + + :global(.arco-col) { + padding: 10px; + } + + :global(.arco-card-body) { + display: flex; + } + + .img-box { + width: 80px; + height: 110px; + background-color: #cccccc; + margin-right: 10px; + } + + .info-box { + + .info-author { + margin-bottom: 40px; + } + + .info-score { + display: flex; + align-items: center; + } + } + + .comp-card-footer { + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 20px; + background: linear-gradient(90deg, #64b5f6, #2175f3); + color: #ffffff; + } +} diff --git a/src/pages/componentMarket/style/index.module.less b/src/pages/componentMarket/style/index.module.less new file mode 100644 index 0000000..c88fdb3 --- /dev/null +++ b/src/pages/componentMarket/style/index.module.less @@ -0,0 +1,24 @@ +.comp-market-container { + + + .comp-market-header { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + box-shadow: 0 0 10px #ebebeb; + background-color: #fcfcfc; + padding: 20px 0; + margin-bottom: 15px; + + .comp-market-search { + width: 40%; + } + } + + :global { + .arco-tabs-header-title { + text-align: right; + } + } +} \ No newline at end of file diff --git a/src/pages/componentMarket/test/data.ts b/src/pages/componentMarket/test/data.ts new file mode 100644 index 0000000..d4ac619 --- /dev/null +++ b/src/pages/componentMarket/test/data.ts @@ -0,0 +1,1470 @@ +// tabs数据 +export const menu = [ + { + 'id': '123', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '全部', + 'dictValue': '全部', + 'sort': 0, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647707245903873', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '设备数采与控制交互组件', + 'dictValue': '设备数采与控制交互组件', + 'sort': 0, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647743455330305', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '视觉AI组件', + 'dictValue': '视觉AI组件', + 'sort': 1, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647774937776129', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '运动规划组件', + 'dictValue': '运动规划组件', + 'sort': 2, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647807334580225', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '工艺知识服务组件', + 'dictValue': '工艺知识服务组件', + 'sort': 2, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647842776449026', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '网络通信组件', + 'dictValue': '网络通信组件', + 'sort': 4, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647878029574145', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '数据存取组件', + 'dictValue': '数据存取组件', + 'sort': 5, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647908987731969', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '时序数据AI组件', + 'dictValue': '时序数据AI组件', + 'sort': 6, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770647940654727170', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '文本数据AI组件', + 'dictValue': '文本数据AI组件', + 'sort': 7, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1770648447733497858', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '测试组件', + 'dictValue': '测试组件', + 'sort': 999, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + }, + { + 'id': '1938074918032830465', + 'tenantId': '000000', + 'parentId': '1658394185466220545', + 'code': 'component_classify', + 'dictKey': '监听组件', + 'dictValue': '监听组件', + 'sort': 10, + 'remark': '', + 'isSealed': -1, + 'isDeleted': -1, + 'parentName': '', + 'hasChildren': false + } +]; + +// 组件数据 +export const compData = [ + { + 'id': '1935889549242183681', + 'createUser': '1921771229133996034', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-18 09:59:37', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 02:36:51', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'yuxing_test_url_maket1', + 'componentBaseId': '1935889305129496578', + 'projectId': 'test_url_maket1', + 'name': '测试url发布', + 'codeLanguage': 'Java', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'docker', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/yuxing_test_url:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'aa', + 'name': '', + 'desc': '', + 'parameters': [], + 'responses': [], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[],"dataOuts":[],"apis":[{"id":"aa","description":"","apiType":"EVENT","eventApi":{"topic":"aa"},"restApi":{},"fieldIns":[],"fieldOuts":[]}]}', + 'localProjectPath': '/000000/yuxing_test_url_maket1/master', + 'publicStatus': 1, + 'publishTime': '2025-06-20 10:36:50', + 'size': '68.49 KB', + 'reviewOpinion': '', + 'star': 4.0, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1935893582828843009', + 'createUser': '1930071310364372993', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-06 10:33:05', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 02:52:53', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'ichentang_tom_com_maket1', + 'componentBaseId': '1930935970761408513', + 'projectId': 'tom_com_maket1', + 'name': '组件审核测试55', + 'codeLanguage': 'Java', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'docker', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/ichentang_tom_com:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'tomCom', + 'name': '', + 'desc': '', + 'parameters': [], + 'responses': [], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[],"dataOuts":[],"apis":[{"id":"tomCom","description":"","apiType":"EVENT","eventApi":{"topic":"tomCom"},"restApi":{},"fieldIns":[],"fieldOuts":[]}]}', + 'localProjectPath': '/000000/ichentang_tom_com_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '68.63 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1935909702101151745', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-06 07:34:48', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 03:56:56', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_rknn_discern_maket1', + 'componentBaseId': '1930891104110981122', + 'projectId': 'rknn_discern_maket1', + 'name': '视频识别-yolo模型', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_rknn_discern:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'startModelDiscern', + 'name': '', + 'desc': '开始模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '后续接口需要携带该uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'stopModelDiscern', + 'name': '', + 'desc': '结束模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': '视频流地址', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '需要携带启动时所使用的uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'getDiscernResult', + 'name': '', + 'desc': '获取识别结果', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流地址', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': '识别结果的集合', + 'type': 'OBJECT', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"rtspUrl","desc":"rtsp视频流","name":"","type":"DATA","dataType":"STRING"},{"id":"uuid","desc":"后续接口需要携带该uuid","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"result","desc":"true: 成功 false:失败","name":"","type":"DATA","dataType":"BOOLEAN"}],"apis":[{"id":"startModelDiscern","name":"","description":"开始模型识别","apiType":"EVENT","eventApi":{"topic":"startModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"stopModelDiscern","name":"","description":"结束模型识别","apiType":"EVENT","eventApi":{"topic":"stopModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"getDiscernResult","description":"获取识别结果","apiType":"EVENT","eventApi":{"topic":"getDiscernResult"},"restApi":{},"fieldIns":["rtspUrl"],"fieldOuts":["result"]}]}', + 'localProjectPath': '/000000/admin_rknn_discern_maket1/master', + 'publicStatus': 1, + 'publishTime': '2025-06-12 13:41:20', + 'size': '21.30 MB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1935909719603982338', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-06 07:34:48', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 03:57:00', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_rknn_discern_maket2', + 'componentBaseId': '1930891104110981122', + 'projectId': 'rknn_discern_maket2', + 'name': '视频识别-yolo模型', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_rknn_discern:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'startModelDiscern', + 'name': '', + 'desc': '开始模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '后续接口需要携带该uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'stopModelDiscern', + 'name': '', + 'desc': '结束模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': '视频流地址', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '需要携带启动时所使用的uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'getDiscernResult', + 'name': '', + 'desc': '获取识别结果', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流地址', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': '识别结果的集合', + 'type': 'OBJECT', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"rtspUrl","desc":"rtsp视频流","name":"","type":"DATA","dataType":"STRING"},{"id":"uuid","desc":"后续接口需要携带该uuid","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"result","desc":"true: 成功 false:失败","name":"","type":"DATA","dataType":"BOOLEAN"}],"apis":[{"id":"startModelDiscern","name":"","description":"开始模型识别","apiType":"EVENT","eventApi":{"topic":"startModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"stopModelDiscern","name":"","description":"结束模型识别","apiType":"EVENT","eventApi":{"topic":"stopModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"getDiscernResult","description":"获取识别结果","apiType":"EVENT","eventApi":{"topic":"getDiscernResult"},"restApi":{},"fieldIns":["rtspUrl"],"fieldOuts":["result"]}]}', + 'localProjectPath': '/000000/admin_rknn_discern_maket2/master', + 'publicStatus': 1, + 'publishTime': '2025-06-12 13:41:20', + 'size': '21.30 MB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 2, + 'filesName': '' + }, + { + 'id': '1935935911744811010', + 'createUser': '1921771229133996034', + 'createDept': '1769934936519839746', + 'createTime': '2025-05-13 05:57:45', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 05:41:05', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'yuxing_laser_marking_maket1', + 'componentBaseId': '1935935451340255233', + 'projectId': 'laser_marking_maket1', + 'name': '激光位_触发打标', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '激光位触发打标', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'Python', + 'dockerImageId': 'da8d2e5eff660d710e116ce194c5a98a74bed9ad71eaaa002522557a96923b22', + 'dockerImageName': 'nexus.io:8082/component/yuxing_laser_marking:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'triggerMark', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'inputData', + 'name': '', + 'desc': '', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'responses': [], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"inputData","desc":"","name":"","type":"DATA","dataType":"INTEGER"}],"dataOuts":[],"apis":[{"id":"triggerMark","description":"","apiType":"EVENT","eventApi":{"topic":"triggerMark"},"restApi":{},"fieldIns":["inputData"],"fieldOuts":[]}]}', + 'localProjectPath': '/000000/yuxing_laser_marking_maket1/master', + 'publicStatus': 1, + 'publishTime': '2025-06-20 13:41:04', + 'size': '49.74 KB', + 'reviewOpinion': '', + 'star': 4.5, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1935938347276480514', + 'createUser': '1930071310364372993', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-10 02:53:26', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 05:50:45', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'ichentang_ioppoi_maket1', + 'componentBaseId': '1932269848425971713', + 'projectId': 'ioppoi_maket1', + 'name': '组件审核测试', + 'codeLanguage': 'Java', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'docker', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/ichentang_ioppoi:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'dfgdgerg', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'arg', + 'name': '', + 'desc': '1', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'res', + 'name': '', + 'desc': '2', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'test', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'arg1', + 'name': '', + 'desc': '12', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'dsa', + 'name': '', + 'desc': '1212', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"arg","desc":"1","name":"","type":"DATA","dataType":"INTEGER"},{"id":"arg1","desc":"12","name":"","type":"DATA","dataType":"INTEGER"}],"dataOuts":[{"id":"dsa","desc":"1212","name":"","type":"DATA","dataType":"INTEGER"},{"id":"res","desc":"2","name":"","type":"DATA","dataType":"INTEGER"}],"apis":[{"id":"dfgdgerg","name":"","description":"","apiType":"EVENT","eventApi":{"topic":"dfgdgerg"},"restApi":{},"fieldIns":["arg"],"fieldOuts":["res"]},{"id":"test","apiType":"EVENT","eventApi":{"topic":"test"},"restApi":{},"fieldIns":["arg1"],"fieldOuts":["dsa"]}]}', + 'localProjectPath': '/000000/ichentang_ioppoi_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '75.53 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1935939349463478273', + 'createUser': '1930071310364372993', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-10 02:53:26', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-20 05:54:44', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'ichentang_ioppoi_maket2', + 'componentBaseId': '1935938972089364482', + 'projectId': 'ioppoi_maket2', + 'name': '组件审核测试', + 'codeLanguage': 'Java', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'docker', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/ichentang_ioppoi:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'dfgdgerg', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'arg', + 'name': '', + 'desc': '1', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'res', + 'name': '', + 'desc': '2', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'test', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'arg1', + 'name': '', + 'desc': '12', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'dsa', + 'name': '', + 'desc': '1212', + 'type': 'INTEGER', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"arg","desc":"1","name":"","type":"DATA","dataType":"INTEGER"},{"id":"arg1","desc":"12","name":"","type":"DATA","dataType":"INTEGER"}],"dataOuts":[{"id":"dsa","desc":"1212","name":"","type":"DATA","dataType":"INTEGER"},{"id":"res","desc":"2","name":"","type":"DATA","dataType":"INTEGER"}],"apis":[{"id":"dfgdgerg","name":"","description":"","apiType":"EVENT","eventApi":{"topic":"dfgdgerg"},"restApi":{},"fieldIns":["arg"],"fieldOuts":["res"]},{"id":"test","apiType":"EVENT","eventApi":{"topic":"test"},"restApi":{},"fieldIns":["arg1"],"fieldOuts":["dsa"]}]}', + 'localProjectPath': '/000000/ichentang_ioppoi_maket2/master', + 'publicStatus': 1, + 'publishTime': '2025-06-20 13:54:44', + 'size': '75.66 KB', + 'reviewOpinion': '', + 'star': 3.5, + 'componentVersion': 2, + 'filesName': '' + }, + { + 'id': '1938153603912753153', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-06 07:34:48', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-06-26 08:33:24', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_rknn_discern_maket3', + 'componentBaseId': '1930891104110981122', + 'projectId': 'rknn_discern_maket3', + 'name': '视频识别-yolo模型', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_rknn_discern:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'startModelDiscern', + 'name': '', + 'desc': '开始模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '后续接口需要携带该uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'stopModelDiscern', + 'name': '', + 'desc': '结束模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': '视频流地址', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '需要携带启动时所使用的uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'getDiscernResult', + 'name': '', + 'desc': '获取识别结果', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流地址', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': '识别结果的集合', + 'type': 'OBJECT', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"rtspUrl","desc":"rtsp视频流","name":"","type":"DATA","dataType":"STRING"},{"id":"uuid","desc":"后续接口需要携带该uuid","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"result","desc":"true: 成功 false:失败","name":"","type":"DATA","dataType":"BOOLEAN"}],"apis":[{"id":"startModelDiscern","name":"","description":"开始模型识别","apiType":"EVENT","eventApi":{"topic":"startModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"stopModelDiscern","name":"","description":"结束模型识别","apiType":"EVENT","eventApi":{"topic":"stopModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"getDiscernResult","description":"获取识别结果","apiType":"EVENT","eventApi":{"topic":"getDiscernResult"},"restApi":{},"fieldIns":["rtspUrl"],"fieldOuts":["result"]}]}', + 'localProjectPath': '/000000/admin_rknn_discern_maket3/master', + 'publicStatus': 1, + 'publishTime': '2025-06-12 13:41:20', + 'size': '21.30 MB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 3, + 'filesName': '' + }, + { + 'id': '1940330800397225985', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-06-26 08:33:58', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-07-02 08:44:48', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_rknn_discern_maket3_loop_maket1', + 'componentBaseId': '1938153749794840577', + 'projectId': 'rknn_discern_maket3_loop_maket1', + 'name': '视频识别-yolo_loop', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '自旋组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'deployed', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_rknn_discern_maket3_loop:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'startModelDiscern', + 'name': '', + 'desc': '开始模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '后续接口需要携带该uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'stopModelDiscern', + 'name': '', + 'desc': '结束模型识别', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': '视频流地址', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'uuid', + 'name': '', + 'desc': '需要携带启动时所使用的uuid', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': 'true: 成功 false:失败', + 'type': 'BOOLEAN', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + }, + { + 'type': 'EVENT', + 'ident': 'getDiscernResult', + 'name': '', + 'desc': '获取识别结果', + 'parameters': [ + { + 'ident': 'rtspUrl', + 'name': '', + 'desc': 'rtsp视频流地址', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': '识别结果的集合', + 'type': 'OBJECT', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"rtspUrl","desc":"rtsp视频流","name":"","type":"DATA","dataType":"STRING"},{"id":"uuid","desc":"后续接口需要携带该uuid","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"result","desc":"true: 成功 false:失败","name":"","type":"DATA","dataType":"BOOLEAN"}],"apis":[{"id":"startModelDiscern","name":"","description":"开始模型识别","apiType":"EVENT","eventApi":{"topic":"startModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"stopModelDiscern","name":"","description":"结束模型识别","apiType":"EVENT","eventApi":{"topic":"stopModelDiscern"},"restApi":{},"fieldIns":["rtspUrl","uuid"],"fieldOuts":["result"]},{"id":"getDiscernResult","description":"获取识别结果","apiType":"EVENT","eventApi":{"topic":"getDiscernResult"},"restApi":{},"fieldIns":["rtspUrl"],"fieldOuts":["result"]}]}', + 'localProjectPath': '/000000/admin_rknn_discern_maket3_loop_maket1/master', + 'publicStatus': 1, + 'publishTime': '2025-06-12 13:41:20', + 'size': '21.31 MB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1952243858946707458', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 05:37:27', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:02', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_tuxiang_maket1', + 'componentBaseId': '1952242455729721345', + 'projectId': 'tuxiang_maket1', + 'name': '图像识别', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '视觉AI组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_tuxiang:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'input', + 'name': '', + 'desc': '', + 'parameters': [ + { + 'ident': 'colorimage', + 'name': '', + 'desc': '', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'prompt', + 'name': '', + 'desc': '', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'position2d', + 'name': '', + 'desc': '', + 'type': 'ARRAY', + 'generic': 'DOUBLE' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"colorimage","desc":"","name":"","type":"DATA","dataType":"STRING"},{"id":"prompt","desc":"","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"position2d","desc":"","name":"","type":"DATA","dataType":"ARRAY","arrayType":"DOUBLE"}],"apis":[{"id":"input","description":"","apiType":"EVENT","eventApi":{"topic":"input"},"restApi":{},"fieldIns":["colorimage","prompt"],"fieldOuts":["position2d"]}]}', + 'localProjectPath': '/000000/admin_tuxiang_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '45.79 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1952243877179346946', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 02:19:38', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:06', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_get_keyword_maket1', + 'componentBaseId': '1952192673158057985', + 'projectId': 'get_keyword_maket1', + 'name': '关键词提取', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '设备数采与控制交互组件', + 'tags': [ + 'ai' + ], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_get_keyword:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'getKeyword', + 'name': '', + 'desc': '从用户语音转化的文本信息中提取关键词信息', + 'parameters': [ + { + 'ident': 'order', + 'name': '', + 'desc': '用户语音文本', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'start', + 'name': '', + 'desc': '起始夹取的水果名', + 'type': 'STRING', + 'generic': '' + }, + { + 'ident': 'end', + 'name': '', + 'desc': '释放的水果名', + 'type': 'STRING', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"order","desc":"用户语音文本","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"end","desc":"释放的水果名","name":"","type":"DATA","dataType":"STRING"},{"id":"start","desc":"起始夹取的水果名","name":"","type":"DATA","dataType":"STRING"}],"apis":[{"id":"getKeyword","description":"从用户语音转化的文本信息中提取关键词信息","apiType":"EVENT","eventApi":{"topic":"getKeyword"},"restApi":{},"fieldIns":["order"],"fieldOuts":["start","end"]}]}', + 'localProjectPath': '/000000/admin_get_keyword_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '46.12 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1952243891020550145', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 03:36:42', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:10', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_keyword_matching_maket1', + 'componentBaseId': '1952212067271626753', + 'projectId': 'keyword_matching_maket1', + 'name': '关键词匹配', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '文本数据AI组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_keyword_matching:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'match', + 'name': '', + 'desc': '关键词匹配', + 'parameters': [ + { + 'ident': 'minIoURL', + 'name': '', + 'desc': '日志数据', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'outminIoURL', + 'name': '', + 'desc': '返回的可访问的URL', + 'type': 'STRING', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"minIoURL","desc":"日志数据","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"outminIoURL","desc":"返回的可访问的URL","name":"","type":"DATA","dataType":"STRING"}],"apis":[{"id":"match","description":"关键词匹配","apiType":"EVENT","eventApi":{"topic":"match"},"restApi":{},"fieldIns":["minIoURL"],"fieldOuts":["outminIoURL"]}]}', + 'localProjectPath': '/000000/admin_keyword_matching_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '42.08 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1952243905709002754', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 05:37:25', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:13', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_ruleclassification_maket1', + 'componentBaseId': '1952242447211089922', + 'projectId': 'ruleclassification_maket1', + 'name': '规则分类', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '文本数据AI组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_ruleclassification:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'classification', + 'name': '', + 'desc': '模型分类接口,接收关键词统计和匹配关键词列表', + 'parameters': [ + { + 'ident': 'keywords', + 'name': '', + 'desc': '关键词列表', + 'type': 'ARRAY', + 'generic': 'STRING' + }, + { + 'ident': 'keyword', + 'name': '', + 'desc': '关键词统计', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'result', + 'name': '', + 'desc': '标准ISDP响应', + 'type': 'STRING', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"keyword","desc":"关键词统计","name":"","type":"DATA","dataType":"STRING"},{"id":"keywords","desc":"关键词列表","name":"","type":"DATA","dataType":"ARRAY","arrayType":"STRING"}],"dataOuts":[{"id":"result","desc":"标准ISDP响应","name":"","type":"DATA","dataType":"STRING"}],"apis":[{"id":"classification","description":"模型分类接口,接收关键词统计和匹配关键词列表","apiType":"EVENT","eventApi":{"topic":"classification"},"restApi":{},"fieldIns":["keywords","keyword"],"fieldOuts":["result"]}]}', + 'localProjectPath': '/000000/admin_ruleclassification_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '46.12 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + }, + { + 'id': '1952243928320495618', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 05:37:28', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:19', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_barcode_maket2', + 'componentBaseId': '1952242460087603202', + 'projectId': 'barcode_maket2', + 'name': '条码识别', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '视觉AI组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_barcode:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'barcodeRecognition', + 'name': '', + 'desc': '条码识别', + 'parameters': [ + { + 'ident': 'img', + 'name': '', + 'desc': '条码图片', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'imgInfo', + 'name': '', + 'desc': '条码信息(条码值和类型)', + 'type': 'OBJECT', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"img","desc":"条码图片","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"imgInfo","desc":"条码信息(条码值和类型)","name":"","type":"DATA","dataType":"OBJECT"}],"apis":[{"id":"barcodeRecognition","description":"条码识别","apiType":"EVENT","eventApi":{"topic":"barcodeRecognition"},"restApi":{},"fieldIns":["img"],"fieldOuts":["imgInfo"]}]}', + 'localProjectPath': '/000000/admin_barcode_maket2/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '53.13 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 2, + 'filesName': '' + }, + { + 'id': '1952243951254949890', + 'createUser': '1123598821738675201', + 'createDept': '1769934936519839746', + 'createTime': '2025-08-04 05:37:26', + 'updateUser': '1123598821738675201', + 'updateTime': '2025-08-04 05:43:24', + 'status': 1, + 'isDeleted': 0, + 'tenantId': '000000', + 'identifier': 'admin_log_classification_maket1', + 'componentBaseId': '1952242451468308481', + 'projectId': 'log_classification_maket1', + 'name': '日志分类', + 'codeLanguage': 'Python', + 'logoUrl': '', + 'desc': '', + 'componentClassify': '文本数据AI组件', + 'tags': [], + 'version': 'master', + 'componentStatus': 'coding', + 'deployType': 'Python', + 'dockerImageId': '', + 'dockerImageName': 'nexus.io:8082/component/admin_log_classification:master', + 'extraSystemId': '', + 'operatesJson': [ + { + 'type': 'EVENT', + 'ident': 'classification', + 'name': '', + 'desc': '分类日志', + 'parameters': [ + { + 'ident': 'minIoUrl', + 'name': '', + 'desc': '需要清洗的日志文件', + 'type': 'STRING', + 'generic': '' + } + ], + 'responses': [ + { + 'ident': 'outputUrl', + 'name': '', + 'desc': '返回可访问的url', + 'type': 'STRING', + 'generic': '' + } + ], + 'method': {}, + 'url': '', + 'inputType': {}, + 'outputType': {} + } + ], + 'baseConfigJson': [], + 'definitionJson': '{"dataIns":[{"id":"minIoUrl","desc":"需要清洗的日志文件","name":"","type":"DATA","dataType":"STRING"}],"dataOuts":[{"id":"outputUrl","desc":"返回可访问的url","name":"","type":"DATA","dataType":"STRING"}],"apis":[{"id":"classification","description":"分类日志","apiType":"EVENT","eventApi":{"topic":"classification"},"restApi":{},"fieldIns":["minIoUrl"],"fieldOuts":["outputUrl"]}]}', + 'localProjectPath': '/000000/admin_log_classification_maket1/master', + 'publicStatus': 1, + 'publishTime': '', + 'size': '38.26 KB', + 'reviewOpinion': '', + 'star': -1, + 'componentVersion': 1, + 'filesName': '' + } +]; \ No newline at end of file