system.openapi.json 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "servers": [
  9. {
  10. "url": "/",
  11. "description": "默认服务器"
  12. }
  13. ],
  14. "tags": [
  15. {
  16. "name": "system",
  17. "description": "系统相关"
  18. }
  19. ],
  20. "paths": {
  21. "/api/bpm/getAsynTaskInfo": {
  22. "post": {
  23. "summary": "查询异步任务状态",
  24. "deprecated": false,
  25. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  26. "tags": ["system"],
  27. "parameters": [
  28. {
  29. "name": "Authorization",
  30. "in": "header",
  31. "description": "",
  32. "example": "bpm_backend_1523343531161161728",
  33. "schema": {
  34. "type": "string"
  35. }
  36. }
  37. ],
  38. "requestBody": {
  39. "content": {
  40. "application/json": {
  41. "schema": {
  42. "type": "object",
  43. "properties": {
  44. "id": {
  45. "type": "string"
  46. }
  47. },
  48. "required": ["id"]
  49. },
  50. "example": {
  51. "id": "a7d88070-5dd3-404e-ac02-429a883cf40c"
  52. }
  53. }
  54. },
  55. "required": true
  56. },
  57. "responses": {
  58. "200": {
  59. "description": "",
  60. "content": {
  61. "application/json": {
  62. "schema": {
  63. "type": "object",
  64. "properties": {
  65. "isSuccess": {
  66. "type": "boolean"
  67. },
  68. "code": {
  69. "type": "integer"
  70. },
  71. "result": {
  72. "type": "object",
  73. "properties": {
  74. "appPageCode": {
  75. "type": "string"
  76. },
  77. "argsInput": {
  78. "type": "object",
  79. "properties": {
  80. "args": {
  81. "type": "array",
  82. "items": {
  83. "type": "object",
  84. "properties": {
  85. "name": {
  86. "type": "string"
  87. },
  88. "value": {
  89. "type": "string"
  90. }
  91. }
  92. }
  93. }
  94. },
  95. "required": ["args"]
  96. },
  97. "code": {
  98. "type": "string"
  99. },
  100. "creationTime": {
  101. "type": "string"
  102. },
  103. "creatorUserId": {
  104. "type": "string"
  105. },
  106. "downFileId": {
  107. "type": "string"
  108. },
  109. "entityId": {
  110. "type": "string"
  111. },
  112. "fileId": {
  113. "type": "string"
  114. },
  115. "htmlStatusInfo": {
  116. "type": "string"
  117. },
  118. "id": {
  119. "type": "string"
  120. },
  121. "isDeleted": {
  122. "type": "boolean"
  123. },
  124. "nodeId": {
  125. "type": "string"
  126. },
  127. "params": {
  128. "type": "string"
  129. },
  130. "progress": {
  131. "type": "string"
  132. },
  133. "status": {
  134. "type": "integer"
  135. },
  136. "taskId": {
  137. "type": "string"
  138. },
  139. "type": {
  140. "type": "integer"
  141. },
  142. "updateTime": {
  143. "type": "string"
  144. }
  145. },
  146. "required": [
  147. "appPageCode",
  148. "argsInput",
  149. "code",
  150. "creationTime",
  151. "creatorUserId",
  152. "downFileId",
  153. "entityId",
  154. "fileId",
  155. "htmlStatusInfo",
  156. "id",
  157. "isDeleted",
  158. "nodeId",
  159. "params",
  160. "progress",
  161. "status",
  162. "taskId",
  163. "type",
  164. "updateTime"
  165. ]
  166. },
  167. "isAuthorized": {
  168. "type": "boolean"
  169. }
  170. },
  171. "required": ["isSuccess", "code", "result", "isAuthorized"]
  172. },
  173. "example": {
  174. "isSuccess": true,
  175. "code": 1,
  176. "result": {
  177. "appPageCode": "",
  178. "argsInput": {
  179. "args": [
  180. {
  181. "name": "dto",
  182. "value": "{\"fileId\":\"fe489262-4558-473c-aa8b-790a23f93a6c\",\"knowledge_base_id\":\"4eb56dcf-a376-4b1d-9475-88d0595d1343\",\"mode\":\"replace\",\"userId\":\"7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993\"}"
  183. }
  184. ]
  185. },
  186. "code": "2026060416453046069pq2bshgy",
  187. "creationTime": "2026-06-04 16:45:30",
  188. "creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  189. "downFileId": "",
  190. "entityId": "",
  191. "fileId": "",
  192. "htmlStatusInfo": "任务编号:2026060416453046069pq2bshgy\r\n当前状态:成功\r\n",
  193. "id": "a7d88070-5dd3-404e-ac02-429a883cf40c",
  194. "isDeleted": false,
  195. "nodeId": "",
  196. "params": "{\"args\":[{\"name\":\"dto\",\"value\":\"{\\\"fileId\\\":\\\"fe489262-4558-473c-aa8b-790a23f93a6c\\\",\\\"knowledge_base_id\\\":\\\"4eb56dcf-a376-4b1d-9475-88d0595d1343\\\",\\\"mode\\\":\\\"replace\\\",\\\"userId\\\":\\\"7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993\\\"}\"}]}",
  197. "progress": "",
  198. "status": 2,
  199. "taskId": "",
  200. "type": 17,
  201. "updateTime": "2026-06-04 16:45:30"
  202. },
  203. "isAuthorized": true
  204. }
  205. }
  206. },
  207. "headers": {}
  208. }
  209. },
  210. "security": []
  211. }
  212. },
  213. "/api/menu/leftMenuList": {
  214. "post": {
  215. "summary": "获取左边菜单列表",
  216. "deprecated": false,
  217. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  218. "tags": ["system"],
  219. "parameters": [
  220. {
  221. "name": "Authorization",
  222. "in": "header",
  223. "description": "",
  224. "example": "bpm_backend_1523343531161161728",
  225. "schema": {
  226. "type": "string"
  227. }
  228. }
  229. ],
  230. "requestBody": {
  231. "content": {
  232. "application/json": {
  233. "schema": {
  234. "type": "object",
  235. "properties": {
  236. "menuCode": {
  237. "type": "string"
  238. }
  239. },
  240. "required": ["menuCode"]
  241. },
  242. "example": {
  243. "menuCode": "aiRoot"
  244. }
  245. }
  246. },
  247. "required": true
  248. },
  249. "responses": {
  250. "200": {
  251. "description": "",
  252. "content": {
  253. "application/json": {
  254. "schema": {
  255. "type": "object",
  256. "properties": {
  257. "isSuccess": {
  258. "type": "boolean"
  259. },
  260. "code": {
  261. "type": "integer"
  262. },
  263. "result": {
  264. "type": "object",
  265. "properties": {
  266. "bindLink": {
  267. "type": "boolean"
  268. },
  269. "code": {
  270. "type": "string"
  271. },
  272. "deleted": {
  273. "type": "boolean"
  274. },
  275. "dynamicMenuLink": {
  276. "type": "string"
  277. },
  278. "enableApply": {
  279. "type": "boolean"
  280. },
  281. "enableMobile": {
  282. "type": "boolean"
  283. },
  284. "fullName": {
  285. "type": "string"
  286. },
  287. "fullPath": {
  288. "type": "string"
  289. },
  290. "iconColor": {
  291. "type": "string"
  292. },
  293. "id": {
  294. "type": "string"
  295. },
  296. "isBindLink": {
  297. "type": "boolean"
  298. },
  299. "isDeleted": {
  300. "type": "boolean"
  301. },
  302. "isFavourite": {
  303. "type": "boolean"
  304. },
  305. "isManuallyCreate": {
  306. "type": "boolean"
  307. },
  308. "langName": {
  309. "type": "string"
  310. },
  311. "languageCulture": {
  312. "type": "string"
  313. },
  314. "link": {
  315. "type": "string"
  316. },
  317. "linkId": {
  318. "type": "string"
  319. },
  320. "linkType": {
  321. "type": "integer"
  322. },
  323. "linkWorkflowId": {
  324. "type": "string"
  325. },
  326. "manuallyCreate": {
  327. "type": "boolean"
  328. },
  329. "menuDepth": {
  330. "type": "integer"
  331. },
  332. "menuIndex": {
  333. "type": "integer"
  334. },
  335. "menuType": {
  336. "type": "integer"
  337. },
  338. "name": {
  339. "type": "string"
  340. },
  341. "openType": {
  342. "type": "integer"
  343. },
  344. "parentId": {
  345. "type": "string"
  346. },
  347. "subMenuList": {
  348. "type": "array",
  349. "items": {
  350. "type": "object",
  351. "properties": {
  352. "bindLink": {
  353. "type": "boolean"
  354. },
  355. "code": {
  356. "type": "string"
  357. },
  358. "deleted": {
  359. "type": "boolean"
  360. },
  361. "dynamicMenuLink": {
  362. "type": "string"
  363. },
  364. "enableApply": {
  365. "type": "boolean"
  366. },
  367. "enableMobile": {
  368. "type": "boolean"
  369. },
  370. "fullName": {
  371. "type": "string"
  372. },
  373. "fullPath": {
  374. "type": "string"
  375. },
  376. "iconColor": {
  377. "type": "string"
  378. },
  379. "id": {
  380. "type": "string"
  381. },
  382. "isBindLink": {
  383. "type": "boolean"
  384. },
  385. "isDeleted": {
  386. "type": "boolean"
  387. },
  388. "isFavourite": {
  389. "type": "boolean"
  390. },
  391. "isManuallyCreate": {
  392. "type": "boolean"
  393. },
  394. "langName": {
  395. "type": "string"
  396. },
  397. "languageCulture": {
  398. "type": "string"
  399. },
  400. "link": {
  401. "type": "string"
  402. },
  403. "linkId": {
  404. "type": "string"
  405. },
  406. "linkType": {
  407. "type": "integer"
  408. },
  409. "linkWorkflowId": {
  410. "type": "string"
  411. },
  412. "manuallyCreate": {
  413. "type": "boolean"
  414. },
  415. "menuDepth": {
  416. "type": "integer"
  417. },
  418. "menuIndex": {
  419. "type": "integer"
  420. },
  421. "menuType": {
  422. "type": "integer"
  423. },
  424. "name": {
  425. "type": "string"
  426. },
  427. "openType": {
  428. "type": "integer"
  429. },
  430. "parentId": {
  431. "type": "string"
  432. },
  433. "subMenuList": {
  434. "type": "array",
  435. "items": {
  436. "type": "string"
  437. }
  438. },
  439. "target": {
  440. "type": "string"
  441. },
  442. "targetName": {
  443. "type": "string"
  444. },
  445. "ts": {
  446. "type": "object",
  447. "properties": {
  448. "value": {
  449. "type": "string"
  450. }
  451. },
  452. "required": ["value"]
  453. }
  454. },
  455. "required": [
  456. "bindLink",
  457. "code",
  458. "deleted",
  459. "dynamicMenuLink",
  460. "enableApply",
  461. "enableMobile",
  462. "fullName",
  463. "fullPath",
  464. "iconColor",
  465. "id",
  466. "isBindLink",
  467. "isDeleted",
  468. "isFavourite",
  469. "isManuallyCreate",
  470. "langName",
  471. "languageCulture",
  472. "link",
  473. "linkId",
  474. "linkType",
  475. "linkWorkflowId",
  476. "manuallyCreate",
  477. "menuDepth",
  478. "menuIndex",
  479. "menuType",
  480. "name",
  481. "openType",
  482. "parentId",
  483. "subMenuList",
  484. "target",
  485. "targetName",
  486. "ts"
  487. ]
  488. }
  489. },
  490. "target": {
  491. "type": "string"
  492. },
  493. "targetName": {
  494. "type": "string"
  495. },
  496. "ts": {
  497. "type": "object",
  498. "properties": {
  499. "value": {
  500. "type": "string"
  501. }
  502. },
  503. "required": ["value"]
  504. }
  505. },
  506. "required": [
  507. "bindLink",
  508. "code",
  509. "deleted",
  510. "dynamicMenuLink",
  511. "enableApply",
  512. "enableMobile",
  513. "fullName",
  514. "fullPath",
  515. "iconColor",
  516. "id",
  517. "isBindLink",
  518. "isDeleted",
  519. "isFavourite",
  520. "isManuallyCreate",
  521. "langName",
  522. "languageCulture",
  523. "link",
  524. "linkId",
  525. "linkType",
  526. "linkWorkflowId",
  527. "manuallyCreate",
  528. "menuDepth",
  529. "menuIndex",
  530. "menuType",
  531. "name",
  532. "openType",
  533. "parentId",
  534. "subMenuList",
  535. "target",
  536. "targetName",
  537. "ts"
  538. ]
  539. },
  540. "isAuthorized": {
  541. "type": "boolean"
  542. }
  543. },
  544. "required": ["isSuccess", "code", "result", "isAuthorized"]
  545. },
  546. "example": {
  547. "isSuccess": true,
  548. "code": 1,
  549. "result": {
  550. "bindLink": false,
  551. "code": "aiRoot",
  552. "deleted": false,
  553. "dynamicMenuLink": "",
  554. "enableApply": false,
  555. "enableMobile": true,
  556. "fullName": "AI端",
  557. "fullPath": "aiRoot",
  558. "iconColor": "",
  559. "id": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  560. "isBindLink": false,
  561. "isDeleted": false,
  562. "isFavourite": false,
  563. "isManuallyCreate": true,
  564. "langName": "5f25ff2d-ee3f-4399-8246-41c55826ee97",
  565. "languageCulture": "zh-CN",
  566. "link": "",
  567. "linkId": "",
  568. "linkType": 0,
  569. "linkWorkflowId": "",
  570. "manuallyCreate": true,
  571. "menuDepth": 0,
  572. "menuIndex": 0,
  573. "menuType": 0,
  574. "name": "AI端",
  575. "openType": 0,
  576. "parentId": "",
  577. "subMenuList": [
  578. {
  579. "bindLink": false,
  580. "code": "sys_ai_zt_bp",
  581. "deleted": false,
  582. "dynamicMenuLink": "",
  583. "enableApply": false,
  584. "enableMobile": true,
  585. "fullName": "AI端>智能编排",
  586. "fullPath": "aiRoot>sys_ai_zt_bp",
  587. "iconColor": "",
  588. "id": "93a0ac01-0d54-441f-99ab-48be3ab21485",
  589. "isBindLink": false,
  590. "isDeleted": false,
  591. "isFavourite": false,
  592. "isManuallyCreate": true,
  593. "langName": "40a7d6b9-5e0e-4354-9743-7a2c2ec717f1",
  594. "languageCulture": "zh-CN",
  595. "link": "",
  596. "linkId": "",
  597. "linkType": 0,
  598. "linkWorkflowId": "",
  599. "manuallyCreate": true,
  600. "menuDepth": 2,
  601. "menuIndex": 1,
  602. "menuType": 0,
  603. "name": "智能编排",
  604. "openType": 3,
  605. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  606. "subMenuList": [],
  607. "target": "_self",
  608. "targetName": "",
  609. "ts": {
  610. "value": "2026-06-13 18:38:06"
  611. }
  612. },
  613. {
  614. "bindLink": false,
  615. "code": "sys_ai_knowledge_base",
  616. "deleted": false,
  617. "dynamicMenuLink": "",
  618. "enableApply": false,
  619. "enableMobile": true,
  620. "fullName": "AI端>知识库",
  621. "fullPath": "aiRoot>sys_ai_knowledge_base",
  622. "iconColor": "",
  623. "id": "35942985-8810-478f-9411-24e93ebdb8b9",
  624. "isBindLink": false,
  625. "isDeleted": false,
  626. "isFavourite": false,
  627. "isManuallyCreate": true,
  628. "langName": "9b36b6ad-56ba-441b-8fc0-5c2216033307",
  629. "languageCulture": "zh-CN",
  630. "link": "",
  631. "linkId": "",
  632. "linkType": 0,
  633. "linkWorkflowId": "",
  634. "manuallyCreate": true,
  635. "menuDepth": 2,
  636. "menuIndex": 2,
  637. "menuType": 0,
  638. "name": "知识库",
  639. "openType": 3,
  640. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  641. "subMenuList": [],
  642. "target": "_self",
  643. "targetName": "",
  644. "ts": {
  645. "value": "2026-06-13 18:38:06"
  646. }
  647. },
  648. {
  649. "bindLink": false,
  650. "code": "sys_ai_agent",
  651. "deleted": false,
  652. "dynamicMenuLink": "",
  653. "enableApply": false,
  654. "enableMobile": true,
  655. "fullName": "AI端>智能体",
  656. "fullPath": "aiRoot>sys_ai_agent",
  657. "iconColor": "",
  658. "id": "2241f858-cfd9-4592-9b98-cb0fd7deaf00",
  659. "isBindLink": false,
  660. "isDeleted": false,
  661. "isFavourite": false,
  662. "isManuallyCreate": true,
  663. "langName": "55163e16-2e12-4ff5-b47e-bb31f253d473",
  664. "languageCulture": "zh-CN",
  665. "link": "",
  666. "linkId": "",
  667. "linkType": 0,
  668. "linkWorkflowId": "",
  669. "manuallyCreate": true,
  670. "menuDepth": 2,
  671. "menuIndex": 3,
  672. "menuType": 0,
  673. "name": "智能体",
  674. "openType": 3,
  675. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  676. "subMenuList": [],
  677. "target": "_self",
  678. "targetName": "",
  679. "ts": {
  680. "value": "2026-06-13 18:38:06"
  681. }
  682. },
  683. {
  684. "bindLink": false,
  685. "code": "sys_ai_chat",
  686. "deleted": false,
  687. "dynamicMenuLink": "",
  688. "enableApply": false,
  689. "enableMobile": true,
  690. "fullName": "AI端>对话",
  691. "fullPath": "aiRoot>sys_ai_chat",
  692. "iconColor": "",
  693. "id": "9e0ee2c5-ac52-4ecc-8673-92b888181d35",
  694. "isBindLink": false,
  695. "isDeleted": false,
  696. "isFavourite": false,
  697. "isManuallyCreate": true,
  698. "langName": "7d6886e5-8254-4a55-a018-0efd03701185",
  699. "languageCulture": "zh-CN",
  700. "link": "",
  701. "linkId": "",
  702. "linkType": 0,
  703. "linkWorkflowId": "",
  704. "manuallyCreate": true,
  705. "menuDepth": 2,
  706. "menuIndex": 4,
  707. "menuType": 0,
  708. "name": "对话",
  709. "openType": 3,
  710. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  711. "subMenuList": [],
  712. "target": "_self",
  713. "targetName": "",
  714. "ts": {
  715. "value": "2026-06-13 18:38:06"
  716. }
  717. },
  718. {
  719. "bindLink": false,
  720. "code": "sys_ai_ollama",
  721. "deleted": false,
  722. "dynamicMenuLink": "",
  723. "enableApply": false,
  724. "enableMobile": true,
  725. "fullName": "AI端>Ollama",
  726. "fullPath": "aiRoot>sys_ai_ollama",
  727. "iconColor": "",
  728. "id": "e535532d-3d87-4f00-b95e-f41d2bc83ad1",
  729. "isBindLink": false,
  730. "isDeleted": false,
  731. "isFavourite": false,
  732. "isManuallyCreate": true,
  733. "langName": "4f81a757-733b-4b44-83b2-3121db0f2185",
  734. "languageCulture": "zh-CN",
  735. "link": "",
  736. "linkId": "",
  737. "linkType": 0,
  738. "linkWorkflowId": "",
  739. "manuallyCreate": true,
  740. "menuDepth": 2,
  741. "menuIndex": 5,
  742. "menuType": 0,
  743. "name": "Ollama",
  744. "openType": 3,
  745. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  746. "subMenuList": [],
  747. "target": "_self",
  748. "targetName": "",
  749. "ts": {
  750. "value": "2026-06-13 18:38:06"
  751. }
  752. },
  753. {
  754. "bindLink": false,
  755. "code": "sys_ai_models",
  756. "deleted": false,
  757. "dynamicMenuLink": "",
  758. "enableApply": false,
  759. "enableMobile": true,
  760. "fullName": "AI端>模型管理",
  761. "fullPath": "aiRoot>sys_ai_models",
  762. "iconColor": "",
  763. "id": "1ce4a64f-d882-465a-a5a2-d6b474d586d5",
  764. "isBindLink": false,
  765. "isDeleted": false,
  766. "isFavourite": false,
  767. "isManuallyCreate": true,
  768. "langName": "05fe6838-3ee6-4790-a16d-e02300c31877",
  769. "languageCulture": "zh-CN",
  770. "link": "",
  771. "linkId": "",
  772. "linkType": 0,
  773. "linkWorkflowId": "",
  774. "manuallyCreate": true,
  775. "menuDepth": 2,
  776. "menuIndex": 6,
  777. "menuType": 0,
  778. "name": "模型管理",
  779. "openType": 3,
  780. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  781. "subMenuList": [],
  782. "target": "_self",
  783. "targetName": "",
  784. "ts": {
  785. "value": "2026-06-13 18:38:06"
  786. }
  787. },
  788. {
  789. "bindLink": false,
  790. "code": "sys_ai_web_search",
  791. "deleted": false,
  792. "dynamicMenuLink": "",
  793. "enableApply": false,
  794. "enableMobile": true,
  795. "fullName": "AI端>网络搜索",
  796. "fullPath": "aiRoot>sys_ai_web_search",
  797. "iconColor": "",
  798. "id": "37e8039f-68cf-4174-9c6f-16881d666dba",
  799. "isBindLink": false,
  800. "isDeleted": false,
  801. "isFavourite": false,
  802. "isManuallyCreate": true,
  803. "langName": "ccc0620a-8a12-4dc3-9ca1-796200a63072",
  804. "languageCulture": "zh-CN",
  805. "link": "",
  806. "linkId": "",
  807. "linkType": 0,
  808. "linkWorkflowId": "",
  809. "manuallyCreate": true,
  810. "menuDepth": 2,
  811. "menuIndex": 7,
  812. "menuType": 0,
  813. "name": "网络搜索",
  814. "openType": 3,
  815. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  816. "subMenuList": [],
  817. "target": "_self",
  818. "targetName": "",
  819. "ts": {
  820. "value": "2026-06-13 18:38:06"
  821. }
  822. },
  823. {
  824. "bindLink": false,
  825. "code": "sys_ai_storage",
  826. "deleted": false,
  827. "dynamicMenuLink": "",
  828. "enableApply": false,
  829. "enableMobile": true,
  830. "fullName": "AI端>存储引擎",
  831. "fullPath": "aiRoot>sys_ai_storage",
  832. "iconColor": "",
  833. "id": "58f0a1fa-a109-40cd-bea0-2608edeabddf",
  834. "isBindLink": false,
  835. "isDeleted": false,
  836. "isFavourite": false,
  837. "isManuallyCreate": true,
  838. "langName": "ce89f453-eb67-42b8-beee-6f49a2ff9e95",
  839. "languageCulture": "zh-CN",
  840. "link": "",
  841. "linkId": "",
  842. "linkType": 0,
  843. "linkWorkflowId": "",
  844. "manuallyCreate": true,
  845. "menuDepth": 2,
  846. "menuIndex": 8,
  847. "menuType": 0,
  848. "name": "存储引擎",
  849. "openType": 3,
  850. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  851. "subMenuList": [],
  852. "target": "_self",
  853. "targetName": "",
  854. "ts": {
  855. "value": "2026-06-13 18:38:06"
  856. }
  857. },
  858. {
  859. "bindLink": false,
  860. "code": "sys_ai_vector_store",
  861. "deleted": false,
  862. "dynamicMenuLink": "",
  863. "enableApply": false,
  864. "enableMobile": true,
  865. "fullName": "AI端>向量存储",
  866. "fullPath": "aiRoot>sys_ai_vector_store",
  867. "iconColor": "",
  868. "id": "7cd06e7e-76bb-4864-8312-c264eb2fc692",
  869. "isBindLink": false,
  870. "isDeleted": false,
  871. "isFavourite": false,
  872. "isManuallyCreate": true,
  873. "langName": "c8347056-a144-4aa5-91e4-b21afdbf743c",
  874. "languageCulture": "zh-CN",
  875. "link": "",
  876. "linkId": "",
  877. "linkType": 0,
  878. "linkWorkflowId": "",
  879. "manuallyCreate": true,
  880. "menuDepth": 2,
  881. "menuIndex": 9,
  882. "menuType": 0,
  883. "name": "向量存储",
  884. "openType": 3,
  885. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  886. "subMenuList": [],
  887. "target": "_self",
  888. "targetName": "",
  889. "ts": {
  890. "value": "2026-06-13 18:38:06"
  891. }
  892. },
  893. {
  894. "bindLink": false,
  895. "code": "sys_ai_mcp",
  896. "deleted": false,
  897. "dynamicMenuLink": "",
  898. "enableApply": false,
  899. "enableMobile": true,
  900. "fullName": "AI端>MCP服务",
  901. "fullPath": "aiRoot>sys_ai_mcp",
  902. "iconColor": "",
  903. "id": "dc16b100-561c-4d71-8229-78700293a6b4",
  904. "isBindLink": false,
  905. "isDeleted": false,
  906. "isFavourite": false,
  907. "isManuallyCreate": true,
  908. "langName": "9b634097-e919-499c-bec4-d2990ec6af3d",
  909. "languageCulture": "zh-CN",
  910. "link": "",
  911. "linkId": "",
  912. "linkType": 0,
  913. "linkWorkflowId": "",
  914. "manuallyCreate": true,
  915. "menuDepth": 2,
  916. "menuIndex": 10,
  917. "menuType": 0,
  918. "name": "MCP服务",
  919. "openType": 3,
  920. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  921. "subMenuList": [],
  922. "target": "_self",
  923. "targetName": "",
  924. "ts": {
  925. "value": "2026-06-13 18:38:06"
  926. }
  927. },
  928. {
  929. "bindLink": false,
  930. "code": "sys_ai_prompts",
  931. "deleted": false,
  932. "dynamicMenuLink": "",
  933. "enableApply": false,
  934. "enableMobile": true,
  935. "fullName": "AI端>提示词与模版",
  936. "fullPath": "aiRoot>sys_ai_prompts",
  937. "iconColor": "",
  938. "id": "0667aa42-3f6a-4a30-8d2e-6ac1ee9fbf78",
  939. "isBindLink": false,
  940. "isDeleted": false,
  941. "isFavourite": false,
  942. "isManuallyCreate": true,
  943. "langName": "7ef73c2f-fcc5-485d-9924-de6e62acf8af",
  944. "languageCulture": "zh-CN",
  945. "link": "",
  946. "linkId": "",
  947. "linkType": 0,
  948. "linkWorkflowId": "",
  949. "manuallyCreate": true,
  950. "menuDepth": 2,
  951. "menuIndex": 11,
  952. "menuType": 0,
  953. "name": "提示词与模版",
  954. "openType": 3,
  955. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  956. "subMenuList": [],
  957. "target": "_self",
  958. "targetName": "",
  959. "ts": {
  960. "value": "2026-06-13 18:38:06"
  961. }
  962. },
  963. {
  964. "bindLink": false,
  965. "code": "sys_ai_skills",
  966. "deleted": false,
  967. "dynamicMenuLink": "",
  968. "enableApply": false,
  969. "enableMobile": true,
  970. "fullName": "AI端>Skills技能",
  971. "fullPath": "aiRoot>sys_ai_skills",
  972. "iconColor": "",
  973. "id": "67ff97c5-b5c9-4489-82c3-f09bcaf83c65",
  974. "isBindLink": false,
  975. "isDeleted": false,
  976. "isFavourite": false,
  977. "isManuallyCreate": true,
  978. "langName": "e2be2709-38a2-43bf-9397-adbd472576c3",
  979. "languageCulture": "zh-CN",
  980. "link": "",
  981. "linkId": "",
  982. "linkType": 0,
  983. "linkWorkflowId": "",
  984. "manuallyCreate": true,
  985. "menuDepth": 2,
  986. "menuIndex": 12,
  987. "menuType": 0,
  988. "name": "Skills技能",
  989. "openType": 3,
  990. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  991. "subMenuList": [],
  992. "target": "_self",
  993. "targetName": "",
  994. "ts": {
  995. "value": "2026-06-13 18:38:06"
  996. }
  997. },
  998. {
  999. "bindLink": false,
  1000. "code": "sys_ai_exec_logs",
  1001. "deleted": false,
  1002. "dynamicMenuLink": "",
  1003. "enableApply": false,
  1004. "enableMobile": true,
  1005. "fullName": "AI端>执行日志",
  1006. "fullPath": "aiRoot>sys_ai_exec_logs",
  1007. "iconColor": "",
  1008. "id": "efca3dad-c67d-4e3a-8bac-d172221b766c",
  1009. "isBindLink": false,
  1010. "isDeleted": false,
  1011. "isFavourite": false,
  1012. "isManuallyCreate": true,
  1013. "langName": "0b464709-70e1-43d7-8a73-1135762a1712",
  1014. "languageCulture": "zh-CN",
  1015. "link": "",
  1016. "linkId": "",
  1017. "linkType": 0,
  1018. "linkWorkflowId": "",
  1019. "manuallyCreate": true,
  1020. "menuDepth": 2,
  1021. "menuIndex": 13,
  1022. "menuType": 0,
  1023. "name": "执行日志",
  1024. "openType": 3,
  1025. "parentId": "acf48eb0-f9f7-4e7e-920b-cfd92d296629",
  1026. "subMenuList": [],
  1027. "target": "_self",
  1028. "targetName": "",
  1029. "ts": {
  1030. "value": "2026-06-13 18:38:06"
  1031. }
  1032. }
  1033. ],
  1034. "target": "",
  1035. "targetName": "",
  1036. "ts": {
  1037. "value": "2026-06-13 18:47:11"
  1038. }
  1039. },
  1040. "isAuthorized": true
  1041. }
  1042. }
  1043. },
  1044. "headers": {}
  1045. }
  1046. },
  1047. "security": []
  1048. }
  1049. },
  1050. "/api/menubutton/authorised": {
  1051. "post": {
  1052. "summary": "根据菜单编号,获取用户已授权的菜单按钮编号列表",
  1053. "deprecated": false,
  1054. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  1055. "tags": ["system"],
  1056. "parameters": [
  1057. {
  1058. "name": "Authorization",
  1059. "in": "header",
  1060. "description": "",
  1061. "example": "bpm_backend_1523343531161161728",
  1062. "schema": {
  1063. "type": "string"
  1064. }
  1065. }
  1066. ],
  1067. "requestBody": {
  1068. "content": {
  1069. "application/json": {
  1070. "schema": {
  1071. "type": "object",
  1072. "properties": {
  1073. "menuCode": {
  1074. "type": "string"
  1075. }
  1076. },
  1077. "required": ["menuCode"]
  1078. },
  1079. "example": {
  1080. "menuCode": "sys_ai_workflow"
  1081. }
  1082. }
  1083. },
  1084. "required": true
  1085. },
  1086. "responses": {
  1087. "200": {
  1088. "description": "",
  1089. "content": {
  1090. "application/json": {
  1091. "schema": {
  1092. "type": "object",
  1093. "properties": {
  1094. "isSuccess": {
  1095. "type": "boolean"
  1096. },
  1097. "code": {
  1098. "type": "integer"
  1099. },
  1100. "result": {
  1101. "type": "array",
  1102. "items": {
  1103. "type": "string"
  1104. }
  1105. },
  1106. "isAuthorized": {
  1107. "type": "boolean"
  1108. }
  1109. },
  1110. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1111. },
  1112. "example": {
  1113. "isSuccess": true,
  1114. "code": 1,
  1115. "result": ["add", "edit", "del"],
  1116. "isAuthorized": true
  1117. }
  1118. }
  1119. },
  1120. "headers": {}
  1121. }
  1122. },
  1123. "security": []
  1124. }
  1125. },
  1126. "/api/account/curUserInfo": {
  1127. "post": {
  1128. "summary": "获取当前用户信息",
  1129. "deprecated": false,
  1130. "description": "状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起",
  1131. "tags": ["system"],
  1132. "parameters": [
  1133. {
  1134. "name": "Authorization",
  1135. "in": "header",
  1136. "description": "",
  1137. "example": "bpm_backend_1523343531161161728",
  1138. "schema": {
  1139. "type": "string"
  1140. }
  1141. }
  1142. ],
  1143. "requestBody": {
  1144. "content": {
  1145. "application/json": {
  1146. "schema": {
  1147. "type": "object",
  1148. "properties": {}
  1149. },
  1150. "example": {}
  1151. }
  1152. },
  1153. "required": true
  1154. },
  1155. "responses": {
  1156. "200": {
  1157. "description": "",
  1158. "content": {
  1159. "application/json": {
  1160. "schema": {
  1161. "type": "object",
  1162. "properties": {
  1163. "isSuccess": {
  1164. "type": "boolean"
  1165. },
  1166. "code": {
  1167. "type": "integer"
  1168. },
  1169. "result": {
  1170. "type": "object",
  1171. "properties": {
  1172. "account": {
  1173. "type": "string"
  1174. },
  1175. "cellPhone": {
  1176. "type": "string"
  1177. },
  1178. "employeeNumber": {
  1179. "type": "string"
  1180. },
  1181. "enterpriseName": {
  1182. "type": "string"
  1183. },
  1184. "id": {
  1185. "type": "string"
  1186. },
  1187. "isLoginToB": {
  1188. "type": "boolean"
  1189. },
  1190. "isOut": {
  1191. "type": "integer"
  1192. },
  1193. "isSuperAdmin": {
  1194. "type": "boolean"
  1195. },
  1196. "langName": {
  1197. "type": "string"
  1198. },
  1199. "language": {
  1200. "type": "string"
  1201. },
  1202. "name": {
  1203. "type": "string"
  1204. }
  1205. },
  1206. "required": [
  1207. "account",
  1208. "cellPhone",
  1209. "employeeNumber",
  1210. "enterpriseName",
  1211. "id",
  1212. "isLoginToB",
  1213. "isOut",
  1214. "isSuperAdmin",
  1215. "langName",
  1216. "language",
  1217. "name"
  1218. ]
  1219. },
  1220. "isAuthorized": {
  1221. "type": "boolean"
  1222. }
  1223. },
  1224. "required": ["isSuccess", "code", "result", "isAuthorized"]
  1225. },
  1226. "example": {
  1227. "isSuccess": true,
  1228. "code": 1,
  1229. "result": {
  1230. "account": "superadmin",
  1231. "cellPhone": "000****0000",
  1232. "employeeNumber": "",
  1233. "enterpriseName": "平台组件示例系统",
  1234. "id": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
  1235. "isLoginToB": false,
  1236. "isOut": 0,
  1237. "isSuperAdmin": true,
  1238. "langName": "e71764c1-48a2-41f3-9a32-3005200120d7",
  1239. "language": "zh-CN",
  1240. "name": "超级管理员"
  1241. },
  1242. "isAuthorized": true
  1243. }
  1244. }
  1245. },
  1246. "headers": {}
  1247. }
  1248. },
  1249. "security": []
  1250. }
  1251. }
  1252. },
  1253. "components": {
  1254. "schemas": {
  1255. "AgentNode": {
  1256. "type": "object",
  1257. "properties": {
  1258. "appAgentId": {
  1259. "type": "string",
  1260. "format": "uuid"
  1261. },
  1262. "creationTime": {
  1263. "type": "string",
  1264. "format": "date-time"
  1265. },
  1266. "creatorUserId": {
  1267. "type": "string",
  1268. "format": "uuid"
  1269. },
  1270. "data": {
  1271. "$ref": "#/components/schemas/NodeData"
  1272. },
  1273. "height": {
  1274. "type": "integer"
  1275. },
  1276. "id": {
  1277. "type": "string",
  1278. "format": "uuid"
  1279. },
  1280. "isDeleted": {
  1281. "type": "boolean"
  1282. },
  1283. "position": {
  1284. "type": "object",
  1285. "properties": {
  1286. "x": {
  1287. "type": "integer"
  1288. },
  1289. "y": {
  1290. "type": "integer"
  1291. }
  1292. },
  1293. "required": ["x", "y"]
  1294. },
  1295. "selected": {
  1296. "type": "boolean"
  1297. },
  1298. "type": {
  1299. "type": "string",
  1300. "enum": ["custom", "start", "end", "condition", "task", "http-request"]
  1301. },
  1302. "updateTime": {
  1303. "type": "string",
  1304. "format": "date-time"
  1305. },
  1306. "width": {
  1307. "type": "integer"
  1308. },
  1309. "zIndex": {
  1310. "type": "integer"
  1311. }
  1312. },
  1313. "required": [
  1314. "appAgentId",
  1315. "creationTime",
  1316. "creatorUserId",
  1317. "data",
  1318. "id",
  1319. "position",
  1320. "type"
  1321. ]
  1322. },
  1323. "NodeData": {
  1324. "type": "object",
  1325. "properties": {
  1326. "outputs": {
  1327. "type": "array",
  1328. "items": {
  1329. "type": "object",
  1330. "properties": {
  1331. "name": {
  1332. "type": "string"
  1333. },
  1334. "describe": {
  1335. "type": "string"
  1336. },
  1337. "type": {
  1338. "type": "string",
  1339. "enum": ["string", "number", "boolean", "object", "array"]
  1340. }
  1341. },
  1342. "required": ["name", "describe", "type"]
  1343. }
  1344. },
  1345. "output_can_alter": {
  1346. "type": "boolean"
  1347. },
  1348. "variables": {
  1349. "type": "array",
  1350. "items": {
  1351. "type": "string"
  1352. }
  1353. },
  1354. "method": {
  1355. "type": "string",
  1356. "enum": ["get", "post", "put", "delete", "patch", "head", "options"]
  1357. },
  1358. "ssl_verify": {
  1359. "type": "boolean"
  1360. },
  1361. "isInIteration": {
  1362. "type": "boolean"
  1363. },
  1364. "default_value": {
  1365. "type": "array",
  1366. "items": {
  1367. "type": "string"
  1368. }
  1369. },
  1370. "body": {
  1371. "$ref": "#/components/schemas/RequestBody"
  1372. },
  1373. "params": {
  1374. "type": "array",
  1375. "items": {
  1376. "type": "string"
  1377. }
  1378. },
  1379. "title": {
  1380. "type": "string"
  1381. },
  1382. "type": {
  1383. "type": "string",
  1384. "enum": ["http-request", "condition", "task"]
  1385. },
  1386. "error_strategy": {
  1387. "type": "string",
  1388. "enum": ["none", "retry", "abort", "continue"]
  1389. },
  1390. "retry_config": {
  1391. "type": "object",
  1392. "properties": {
  1393. "max_retries": {
  1394. "type": "integer",
  1395. "minimum": 0,
  1396. "maximum": 10
  1397. },
  1398. "retry_enabled": {
  1399. "type": "boolean"
  1400. },
  1401. "retry_interval": {
  1402. "type": "integer",
  1403. "minimum": 0,
  1404. "maximum": 5000
  1405. }
  1406. },
  1407. "required": ["max_retries", "retry_enabled", "retry_interval"]
  1408. },
  1409. "url": {
  1410. "type": "string",
  1411. "format": "uri"
  1412. },
  1413. "authorization": {
  1414. "type": "object",
  1415. "properties": {
  1416. "type": {
  1417. "type": "string",
  1418. "enum": ["none", "bearer", "basic", "api-key"]
  1419. },
  1420. "config": {
  1421. "type": "object",
  1422. "properties": {
  1423. "api_key": {
  1424. "type": "string"
  1425. },
  1426. "header": {
  1427. "type": "string"
  1428. },
  1429. "type": {
  1430. "type": "string"
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "required": ["type", "config"]
  1436. },
  1437. "timeout_config": {
  1438. "type": "object",
  1439. "properties": {
  1440. "max_write_timeout": {
  1441. "type": "integer",
  1442. "minimum": 0
  1443. },
  1444. "max_read_timeout": {
  1445. "type": "integer",
  1446. "minimum": 0
  1447. },
  1448. "max_connect_timeout": {
  1449. "type": "integer",
  1450. "minimum": 0
  1451. }
  1452. },
  1453. "required": ["max_write_timeout", "max_read_timeout", "max_connect_timeout"]
  1454. },
  1455. "heads": {
  1456. "type": "array",
  1457. "items": {
  1458. "$ref": "#/components/schemas/HttpHeader"
  1459. }
  1460. },
  1461. "selected": {
  1462. "type": "boolean"
  1463. },
  1464. "desc": {
  1465. "type": "string"
  1466. },
  1467. "isInLoop": {
  1468. "type": "boolean"
  1469. }
  1470. },
  1471. "required": ["outputs", "method", "title", "type", "url"]
  1472. },
  1473. "RequestBody": {
  1474. "type": "object",
  1475. "properties": {
  1476. "data": {
  1477. "type": "array",
  1478. "items": {
  1479. "$ref": "#/components/schemas/RequestDataItem"
  1480. }
  1481. },
  1482. "type": {
  1483. "type": "string",
  1484. "enum": ["json", "form-data", "x-www-form-urlencoded", "raw", "binary"]
  1485. }
  1486. },
  1487. "required": ["data", "type"]
  1488. },
  1489. "RequestDataItem": {
  1490. "type": "object",
  1491. "properties": {
  1492. "type": {
  1493. "type": "string",
  1494. "enum": ["text", "file", "json"]
  1495. },
  1496. "value": {
  1497. "type": "string"
  1498. },
  1499. "key": {
  1500. "type": "string"
  1501. }
  1502. },
  1503. "required": ["type", "value"]
  1504. },
  1505. "HttpHeader": {
  1506. "type": "object",
  1507. "properties": {
  1508. "name": {
  1509. "type": "string"
  1510. },
  1511. "value": {
  1512. "type": "string"
  1513. }
  1514. },
  1515. "required": ["name", "value"]
  1516. }
  1517. },
  1518. "securitySchemes": {
  1519. "ApiKeyAuth": {
  1520. "type": "apiKey",
  1521. "in": "header",
  1522. "name": "Authorization"
  1523. }
  1524. }
  1525. },
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ]
  1531. }