swagger.json 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "工程项目管理系统-接口",
  5. "title": "工程项目管理系统 API",
  6. "contact": {
  7. "name": "CP Support"
  8. },
  9. "license": {},
  10. "version": "1.0"
  11. },
  12. "paths": {
  13. "/api/bidsection/create": {
  14. "post": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "description": "新增标段",
  21. "consumes": [
  22. "application/json"
  23. ],
  24. "produces": [
  25. "application/json"
  26. ],
  27. "tags": [
  28. "目录相关-管理员"
  29. ],
  30. "summary": "新增标段",
  31. "parameters": [
  32. {
  33. "description": "目录ID",
  34. "name": "folderId",
  35. "in": "body",
  36. "required": true,
  37. "schema": {
  38. "type": "string"
  39. }
  40. },
  41. {
  42. "description": "名称",
  43. "name": "name",
  44. "in": "body",
  45. "required": true,
  46. "schema": {
  47. "type": "string"
  48. }
  49. }
  50. ],
  51. "responses": {
  52. "200": {
  53. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  54. "schema": {
  55. "type": "string"
  56. }
  57. }
  58. }
  59. }
  60. },
  61. "/api/contract/folder": {
  62. "get": {
  63. "security": [
  64. {
  65. "ApiKeyAuth": []
  66. }
  67. ],
  68. "description": "获得合同目录和标段",
  69. "consumes": [
  70. "application/json"
  71. ],
  72. "produces": [
  73. "application/json"
  74. ],
  75. "tags": [
  76. "合同管理"
  77. ],
  78. "summary": "获得合同目录和标段",
  79. "responses": {
  80. "200": {
  81. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  82. "schema": {
  83. "$ref": "#/definitions/viewmodels.FolderContract"
  84. }
  85. }
  86. }
  87. }
  88. },
  89. "/api/contract/income": {
  90. "get": {
  91. "security": [
  92. {
  93. "ApiKeyAuth": []
  94. }
  95. ],
  96. "description": "获得合同详情和项目节详情",
  97. "consumes": [
  98. "application/json"
  99. ],
  100. "produces": [
  101. "application/json"
  102. ],
  103. "tags": [
  104. "合同管理"
  105. ],
  106. "summary": "单个合同详情和项目节详情",
  107. "parameters": [
  108. {
  109. "type": "string",
  110. "description": "项目节ID",
  111. "name": "id",
  112. "in": "path",
  113. "required": true
  114. },
  115. {
  116. "type": "string",
  117. "description": "标段ID",
  118. "name": "bidsectionId",
  119. "in": "path",
  120. "required": true
  121. }
  122. ],
  123. "responses": {
  124. "200": {
  125. "description": "{code:0成功,-1参数类错误,isContract:是否有合同(包含孩子们),section:viewmodels.TreeSectionContract,msg:错误信息}",
  126. "schema": {
  127. "$ref": "#/definitions/viewmodels.TreeSectionContract"
  128. }
  129. }
  130. }
  131. }
  132. },
  133. "/api/contract/income/section/all": {
  134. "get": {
  135. "security": [
  136. {
  137. "ApiKeyAuth": []
  138. }
  139. ],
  140. "description": "未设置合同项目节 返回项目节模板信息",
  141. "consumes": [
  142. "application/json"
  143. ],
  144. "produces": [
  145. "application/json"
  146. ],
  147. "tags": [
  148. "合同管理"
  149. ],
  150. "summary": "获得标段收入-项目节信息",
  151. "parameters": [
  152. {
  153. "type": "string",
  154. "description": "标段ID",
  155. "name": "bidsectionId",
  156. "in": "path",
  157. "required": true
  158. }
  159. ],
  160. "responses": {
  161. "200": {
  162. "description": "{code:0成功,-1参数类错误,data:viewmodels.TreeSectionContract,msg:错误信息}",
  163. "schema": {
  164. "$ref": "#/definitions/viewmodels.TreeSectionContract"
  165. }
  166. }
  167. }
  168. }
  169. },
  170. "/api/contract/section": {
  171. "delete": {
  172. "security": [
  173. {
  174. "ApiKeyAuth": []
  175. }
  176. ],
  177. "description": "删除 合同项目节",
  178. "consumes": [
  179. "application/json"
  180. ],
  181. "produces": [
  182. "application/json"
  183. ],
  184. "tags": [
  185. "合同管理"
  186. ],
  187. "summary": "删除 合同项目节",
  188. "parameters": [
  189. {
  190. "description": "项目节ID",
  191. "name": "id",
  192. "in": "body",
  193. "required": true,
  194. "schema": {
  195. "type": "string"
  196. }
  197. },
  198. {
  199. "description": "标段ID",
  200. "name": "bidsectionId",
  201. "in": "body",
  202. "required": true,
  203. "schema": {
  204. "type": "string"
  205. }
  206. }
  207. ],
  208. "responses": {
  209. "200": {
  210. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  211. "schema": {
  212. "type": "string"
  213. }
  214. }
  215. }
  216. }
  217. },
  218. "/api/contract/section/add": {
  219. "post": {
  220. "security": [
  221. {
  222. "ApiKeyAuth": []
  223. }
  224. ],
  225. "description": "新增 合同项目节",
  226. "consumes": [
  227. "application/json"
  228. ],
  229. "produces": [
  230. "application/json"
  231. ],
  232. "tags": [
  233. "合同管理"
  234. ],
  235. "summary": "新增 合同项目节",
  236. "parameters": [
  237. {
  238. "description": "项目节ID",
  239. "name": "id",
  240. "in": "body",
  241. "required": true,
  242. "schema": {
  243. "type": "string"
  244. }
  245. },
  246. {
  247. "description": "标段ID",
  248. "name": "bidsectionId",
  249. "in": "body",
  250. "required": true,
  251. "schema": {
  252. "type": "string"
  253. }
  254. },
  255. {
  256. "description": "项目节名称",
  257. "name": "name",
  258. "in": "body",
  259. "required": true,
  260. "schema": {
  261. "type": "string"
  262. }
  263. }
  264. ],
  265. "responses": {
  266. "200": {
  267. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  268. "schema": {
  269. "type": "string"
  270. }
  271. }
  272. }
  273. }
  274. },
  275. "/api/contract/section/depth": {
  276. "post": {
  277. "security": [
  278. {
  279. "ApiKeyAuth": []
  280. }
  281. ],
  282. "description": "operation{upDepth,downDepth}",
  283. "consumes": [
  284. "application/json"
  285. ],
  286. "produces": [
  287. "application/json"
  288. ],
  289. "tags": [
  290. "合同管理"
  291. ],
  292. "summary": "升级降级合同项目节",
  293. "parameters": [
  294. {
  295. "description": "项目节ID",
  296. "name": "id",
  297. "in": "body",
  298. "required": true,
  299. "schema": {
  300. "type": "string"
  301. }
  302. },
  303. {
  304. "description": "标段ID",
  305. "name": "bidsectionId",
  306. "in": "body",
  307. "required": true,
  308. "schema": {
  309. "type": "string"
  310. }
  311. },
  312. {
  313. "default": "upDepth",
  314. "description": "操作名称",
  315. "name": "operation",
  316. "in": "body",
  317. "required": true,
  318. "schema": {
  319. "type": "string"
  320. }
  321. }
  322. ],
  323. "responses": {
  324. "200": {
  325. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  326. "schema": {
  327. "type": "string"
  328. }
  329. }
  330. }
  331. }
  332. },
  333. "/api/contract/section/save": {
  334. "post": {
  335. "security": [
  336. {
  337. "ApiKeyAuth": []
  338. }
  339. ],
  340. "description": "修改合同项目节 名称",
  341. "consumes": [
  342. "application/json"
  343. ],
  344. "produces": [
  345. "application/json"
  346. ],
  347. "tags": [
  348. "合同管理"
  349. ],
  350. "summary": "修改合同项目节 名称",
  351. "parameters": [
  352. {
  353. "description": "项目节ID",
  354. "name": "id",
  355. "in": "body",
  356. "required": true,
  357. "schema": {
  358. "type": "string"
  359. }
  360. },
  361. {
  362. "description": "标段ID",
  363. "name": "bidsectionId",
  364. "in": "body",
  365. "required": true,
  366. "schema": {
  367. "type": "string"
  368. }
  369. },
  370. {
  371. "description": "项目节名称",
  372. "name": "name",
  373. "in": "body",
  374. "required": true,
  375. "schema": {
  376. "type": "string"
  377. }
  378. }
  379. ],
  380. "responses": {
  381. "200": {
  382. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  383. "schema": {
  384. "type": "string"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/api/contract/section/serial": {
  391. "post": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "description": "operation{upSerial,downSerial}",
  398. "consumes": [
  399. "application/json"
  400. ],
  401. "produces": [
  402. "application/json"
  403. ],
  404. "tags": [
  405. "合同管理"
  406. ],
  407. "summary": "上移下移合同项目节",
  408. "parameters": [
  409. {
  410. "description": "项目节ID",
  411. "name": "id",
  412. "in": "body",
  413. "required": true,
  414. "schema": {
  415. "type": "string"
  416. }
  417. },
  418. {
  419. "description": "标段ID",
  420. "name": "bidsectionId",
  421. "in": "body",
  422. "required": true,
  423. "schema": {
  424. "type": "string"
  425. }
  426. },
  427. {
  428. "default": "upSerial",
  429. "description": "操作名称",
  430. "name": "operation",
  431. "in": "body",
  432. "required": true,
  433. "schema": {
  434. "type": "string"
  435. }
  436. }
  437. ],
  438. "responses": {
  439. "200": {
  440. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  441. "schema": {
  442. "type": "string"
  443. }
  444. }
  445. }
  446. }
  447. },
  448. "/api/contract/section/serial/update": {
  449. "post": {
  450. "security": [
  451. {
  452. "ApiKeyAuth": []
  453. }
  454. ],
  455. "consumes": [
  456. "application/json"
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "合同管理"
  463. ],
  464. "summary": "更新合同节序号",
  465. "parameters": [
  466. {
  467. "description": "项目节ID",
  468. "name": "id",
  469. "in": "body",
  470. "required": true,
  471. "schema": {
  472. "type": "string"
  473. }
  474. },
  475. {
  476. "description": "标段ID",
  477. "name": "bidsectionId",
  478. "in": "body",
  479. "required": true,
  480. "schema": {
  481. "type": "string"
  482. }
  483. },
  484. {
  485. "description": "操作名称",
  486. "name": "serial",
  487. "in": "body",
  488. "required": true,
  489. "schema": {
  490. "type": "integer"
  491. }
  492. }
  493. ],
  494. "responses": {
  495. "200": {
  496. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  497. "schema": {
  498. "type": "string"
  499. }
  500. }
  501. }
  502. }
  503. },
  504. "/api/contract/section/template": {
  505. "post": {
  506. "security": [
  507. {
  508. "ApiKeyAuth": []
  509. }
  510. ],
  511. "description": "设置合同项目节模板",
  512. "consumes": [
  513. "application/json"
  514. ],
  515. "produces": [
  516. "application/json"
  517. ],
  518. "tags": [
  519. "合同管理"
  520. ],
  521. "summary": "设置合同项目节模板",
  522. "parameters": [
  523. {
  524. "default": 1,
  525. "description": "模板号",
  526. "name": "templateNumber",
  527. "in": "body",
  528. "required": true,
  529. "schema": {
  530. "type": "integer"
  531. }
  532. },
  533. {
  534. "description": "标段ID",
  535. "name": "bidsectionId",
  536. "in": "body",
  537. "required": true,
  538. "schema": {
  539. "type": "string"
  540. }
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  546. "schema": {
  547. "type": "string"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/api/login": {
  554. "post": {
  555. "description": "登录接口",
  556. "consumes": [
  557. "application/json"
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "登录/登出"
  564. ],
  565. "summary": "登录",
  566. "parameters": [
  567. {
  568. "default": "234",
  569. "description": "项目编号",
  570. "name": "code",
  571. "in": "body",
  572. "required": true,
  573. "schema": {
  574. "type": "string"
  575. }
  576. },
  577. {
  578. "default": "caipin",
  579. "description": "项目账号",
  580. "name": "account",
  581. "in": "body",
  582. "required": true,
  583. "schema": {
  584. "type": "string"
  585. }
  586. },
  587. {
  588. "default": "123456",
  589. "description": "密码",
  590. "name": "password",
  591. "in": "body",
  592. "required": true,
  593. "schema": {
  594. "type": "string"
  595. }
  596. }
  597. ],
  598. "responses": {
  599. "200": {
  600. "description": "{code:0成功,data:viewmodels.ProjectAccount,msg:}",
  601. "schema": {
  602. "$ref": "#/definitions/viewmodels.ProjectAccount"
  603. }
  604. },
  605. "400": {
  606. "description": "{code:-1参数类错误,msg:错误信息}",
  607. "schema": {
  608. "type": "string"
  609. }
  610. }
  611. }
  612. }
  613. },
  614. "/api/login/out": {
  615. "post": {
  616. "consumes": [
  617. "application/json"
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "登录/登出"
  624. ],
  625. "summary": "登出",
  626. "responses": {
  627. "200": {
  628. "description": "{code:0,msg:string}",
  629. "schema": {
  630. "type": "string"
  631. }
  632. },
  633. "400": {
  634. "description": "{code:-1,msg:string}",
  635. "schema": {
  636. "type": "string"
  637. }
  638. }
  639. }
  640. }
  641. },
  642. "/api/login/project/name": {
  643. "get": {
  644. "consumes": [
  645. "application/json"
  646. ],
  647. "produces": [
  648. "application/json"
  649. ],
  650. "tags": [
  651. "登录/登出"
  652. ],
  653. "summary": "获得项目名称",
  654. "parameters": [
  655. {
  656. "type": "string",
  657. "default": "{code:2}",
  658. "description": "项目编号",
  659. "name": "code",
  660. "in": "query",
  661. "required": true
  662. }
  663. ],
  664. "responses": {
  665. "200": {
  666. "description": "{code:0成功,data:viewmodels.Project,msg:}",
  667. "schema": {
  668. "$ref": "#/definitions/viewmodels.Project"
  669. }
  670. },
  671. "400": {
  672. "description": "{code:-1,msg:string}",
  673. "schema": {
  674. "type": "string"
  675. }
  676. }
  677. }
  678. }
  679. },
  680. "/api/project": {
  681. "get": {
  682. "security": [
  683. {
  684. "ApiKeyAuth": []
  685. }
  686. ],
  687. "description": "获得登陆项目信息",
  688. "consumes": [
  689. "application/json"
  690. ],
  691. "produces": [
  692. "application/json"
  693. ],
  694. "tags": [
  695. "项目相关"
  696. ],
  697. "summary": "获得登陆项目信息",
  698. "responses": {
  699. "200": {
  700. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  701. "schema": {
  702. "$ref": "#/definitions/viewmodels.Project"
  703. }
  704. }
  705. }
  706. }
  707. },
  708. "/api/projectAccount": {
  709. "get": {
  710. "security": [
  711. {
  712. "ApiKeyAuth": []
  713. }
  714. ],
  715. "description": "获得登陆账号相关信息",
  716. "tags": [
  717. "项目账号相关"
  718. ],
  719. "summary": "获得登陆账号信息相关",
  720. "responses": {
  721. "200": {
  722. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  723. "schema": {
  724. "type": "string"
  725. }
  726. }
  727. }
  728. }
  729. },
  730. "/api/projectAccount/list": {
  731. "get": {
  732. "security": [
  733. {
  734. "ApiKeyAuth": []
  735. }
  736. ],
  737. "description": "获得项目账号列表",
  738. "tags": [
  739. "项目账号相关"
  740. ],
  741. "summary": "获得项目账号列表",
  742. "responses": {
  743. "200": {
  744. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  745. "schema": {
  746. "type": "string"
  747. }
  748. }
  749. }
  750. }
  751. },
  752. "/api/projectSetting/account": {
  753. "get": {
  754. "security": [
  755. {
  756. "ApiKeyAuth": []
  757. }
  758. ],
  759. "description": "id获得单条信息\u003cbr/\u003e",
  760. "consumes": [
  761. "application/json"
  762. ],
  763. "produces": [
  764. "application/json"
  765. ],
  766. "tags": [
  767. "项目设置-管理员"
  768. ],
  769. "summary": "获得项目账号列表",
  770. "parameters": [
  771. {
  772. "description": "账号ID",
  773. "name": "id",
  774. "in": "body",
  775. "schema": {
  776. "type": "string"
  777. }
  778. }
  779. ],
  780. "responses": {
  781. "200": {
  782. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  783. "schema": {
  784. "$ref": "#/definitions/viewmodels.ProjectAccount"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/api/projectSetting/account/change": {
  791. "post": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "description": "设置账号密码",
  798. "consumes": [
  799. "application/json"
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "项目设置-管理员"
  806. ],
  807. "summary": "设置账号密码",
  808. "parameters": [
  809. {
  810. "default": "PcqqGsn1O0jBSmLqkuOTwQ",
  811. "description": "账号ID",
  812. "name": "id",
  813. "in": "body",
  814. "required": true,
  815. "schema": {
  816. "type": "string"
  817. }
  818. },
  819. {
  820. "default": "textoopd",
  821. "description": "账号",
  822. "name": "account",
  823. "in": "body",
  824. "required": true,
  825. "schema": {
  826. "type": "string"
  827. }
  828. },
  829. {
  830. "default": "ww123456",
  831. "description": "密码",
  832. "name": "password",
  833. "in": "body",
  834. "required": true,
  835. "schema": {
  836. "type": "string"
  837. }
  838. },
  839. {
  840. "type": "string",
  841. "description": "csrf",
  842. "name": "X-CSRF-Token",
  843. "in": "header",
  844. "required": true
  845. }
  846. ],
  847. "responses": {
  848. "200": {
  849. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  850. "schema": {
  851. "type": "string"
  852. }
  853. }
  854. }
  855. }
  856. },
  857. "/api/projectSetting/account/create": {
  858. "post": {
  859. "security": [
  860. {
  861. "ApiKeyAuth": []
  862. }
  863. ],
  864. "description": "新增账号",
  865. "consumes": [
  866. "application/json"
  867. ],
  868. "produces": [
  869. "application/json"
  870. ],
  871. "tags": [
  872. "项目设置-管理员"
  873. ],
  874. "summary": "创建账号",
  875. "parameters": [
  876. {
  877. "description": "账号",
  878. "name": "account",
  879. "in": "body",
  880. "required": true,
  881. "schema": {
  882. "type": "string"
  883. }
  884. },
  885. {
  886. "description": "密码",
  887. "name": "password",
  888. "in": "body",
  889. "required": true,
  890. "schema": {
  891. "type": "string"
  892. }
  893. },
  894. {
  895. "description": "姓名",
  896. "name": "name",
  897. "in": "body",
  898. "required": true,
  899. "schema": {
  900. "type": "string"
  901. }
  902. },
  903. {
  904. "description": "公司",
  905. "name": "company",
  906. "in": "body",
  907. "required": true,
  908. "schema": {
  909. "type": "string"
  910. }
  911. },
  912. {
  913. "description": "职位",
  914. "name": "position",
  915. "in": "body",
  916. "required": true,
  917. "schema": {
  918. "type": "string"
  919. }
  920. },
  921. {
  922. "description": "手机",
  923. "name": "mobile",
  924. "in": "body",
  925. "required": true,
  926. "schema": {
  927. "type": "string"
  928. }
  929. },
  930. {
  931. "description": "座机",
  932. "name": "telephone",
  933. "in": "body",
  934. "required": true,
  935. "schema": {
  936. "type": "string"
  937. }
  938. },
  939. {
  940. "description": "账号组",
  941. "name": "accountGroup",
  942. "in": "body",
  943. "required": true,
  944. "schema": {
  945. "type": "integer"
  946. }
  947. },
  948. {
  949. "type": "string",
  950. "description": "csrf",
  951. "name": "X-CSRF-Token",
  952. "in": "header",
  953. "required": true
  954. }
  955. ],
  956. "responses": {
  957. "200": {
  958. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  959. "schema": {
  960. "type": "string"
  961. }
  962. }
  963. }
  964. }
  965. },
  966. "/api/projectSetting/account/delete": {
  967. "post": {
  968. "security": [
  969. {
  970. "ApiKeyAuth": []
  971. }
  972. ],
  973. "description": "删除账号",
  974. "consumes": [
  975. "application/json"
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "项目设置-管理员"
  982. ],
  983. "summary": "删除账号",
  984. "parameters": [
  985. {
  986. "default": "PcqqGsn1O0jBSmLqkuOTwQ",
  987. "description": "账号ID",
  988. "name": "id",
  989. "in": "body",
  990. "required": true,
  991. "schema": {
  992. "type": "string"
  993. }
  994. },
  995. {
  996. "type": "string",
  997. "description": "csrf",
  998. "name": "X-CSRF-Token",
  999. "in": "header",
  1000. "required": true
  1001. }
  1002. ],
  1003. "responses": {
  1004. "200": {
  1005. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1006. "schema": {
  1007. "type": "string"
  1008. }
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "/api/projectSetting/account/enable": {
  1014. "post": {
  1015. "security": [
  1016. {
  1017. "ApiKeyAuth": []
  1018. }
  1019. ],
  1020. "description": "账号启用/禁用",
  1021. "consumes": [
  1022. "application/json"
  1023. ],
  1024. "produces": [
  1025. "application/json"
  1026. ],
  1027. "tags": [
  1028. "项目设置-管理员"
  1029. ],
  1030. "summary": "账号启用/禁用",
  1031. "parameters": [
  1032. {
  1033. "default": "PcqqGsn1O0jBSmLqkuOTwQ",
  1034. "description": "账号ID",
  1035. "name": "id",
  1036. "in": "body",
  1037. "required": true,
  1038. "schema": {
  1039. "type": "string"
  1040. }
  1041. },
  1042. {
  1043. "description": "启用/禁用",
  1044. "name": "enable",
  1045. "in": "body",
  1046. "required": true,
  1047. "schema": {
  1048. "type": "integer"
  1049. }
  1050. },
  1051. {
  1052. "type": "string",
  1053. "description": "csrf",
  1054. "name": "X-CSRF-Token",
  1055. "in": "header",
  1056. "required": true
  1057. }
  1058. ],
  1059. "responses": {
  1060. "200": {
  1061. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1062. "schema": {
  1063. "type": "string"
  1064. }
  1065. }
  1066. }
  1067. }
  1068. },
  1069. "/api/projectSetting/account/save": {
  1070. "post": {
  1071. "security": [
  1072. {
  1073. "ApiKeyAuth": []
  1074. }
  1075. ],
  1076. "description": "编辑账号",
  1077. "consumes": [
  1078. "application/json"
  1079. ],
  1080. "produces": [
  1081. "application/json"
  1082. ],
  1083. "tags": [
  1084. "项目设置-管理员"
  1085. ],
  1086. "summary": "编辑账号",
  1087. "parameters": [
  1088. {
  1089. "default": "PcqqGsn1O0jBSmLqkuOTwQ",
  1090. "description": "账号ID",
  1091. "name": "id",
  1092. "in": "body",
  1093. "required": true,
  1094. "schema": {
  1095. "type": "string"
  1096. }
  1097. },
  1098. {
  1099. "description": "姓名",
  1100. "name": "name",
  1101. "in": "body",
  1102. "required": true,
  1103. "schema": {
  1104. "type": "string"
  1105. }
  1106. },
  1107. {
  1108. "description": "公司",
  1109. "name": "company",
  1110. "in": "body",
  1111. "required": true,
  1112. "schema": {
  1113. "type": "string"
  1114. }
  1115. },
  1116. {
  1117. "description": "职位",
  1118. "name": "position",
  1119. "in": "body",
  1120. "required": true,
  1121. "schema": {
  1122. "type": "string"
  1123. }
  1124. },
  1125. {
  1126. "description": "座机",
  1127. "name": "telephone",
  1128. "in": "body",
  1129. "required": true,
  1130. "schema": {
  1131. "type": "string"
  1132. }
  1133. },
  1134. {
  1135. "description": "账号组",
  1136. "name": "accountGroup",
  1137. "in": "body",
  1138. "required": true,
  1139. "schema": {
  1140. "type": "integer"
  1141. }
  1142. },
  1143. {
  1144. "type": "string",
  1145. "description": "csrf",
  1146. "name": "X-CSRF-Token",
  1147. "in": "header",
  1148. "required": true
  1149. }
  1150. ],
  1151. "responses": {
  1152. "200": {
  1153. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1154. "schema": {
  1155. "type": "string"
  1156. }
  1157. }
  1158. }
  1159. }
  1160. },
  1161. "/api/projectSetting/account/search": {
  1162. "get": {
  1163. "security": [
  1164. {
  1165. "ApiKeyAuth": []
  1166. }
  1167. ],
  1168. "description": "检索字段:账号 姓名 单位 手机 前匹配",
  1169. "consumes": [
  1170. "application/json"
  1171. ],
  1172. "produces": [
  1173. "application/json"
  1174. ],
  1175. "tags": [
  1176. "项目设置-管理员"
  1177. ],
  1178. "summary": "检索账号信息",
  1179. "parameters": [
  1180. {
  1181. "description": "检索内容",
  1182. "name": "name",
  1183. "in": "body",
  1184. "required": true,
  1185. "schema": {
  1186. "type": "string"
  1187. }
  1188. }
  1189. ],
  1190. "responses": {
  1191. "200": {
  1192. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1193. "schema": {
  1194. "$ref": "#/definitions/viewmodels.ProjectAccount"
  1195. }
  1196. }
  1197. }
  1198. }
  1199. },
  1200. "/api/projectSetting/bid/account": {
  1201. "get": {
  1202. "security": [
  1203. {
  1204. "ApiKeyAuth": []
  1205. }
  1206. ],
  1207. "description": "获得标段账号",
  1208. "consumes": [
  1209. "application/json"
  1210. ],
  1211. "produces": [
  1212. "application/json"
  1213. ],
  1214. "tags": [
  1215. "项目设置-标段成员权限-管理员"
  1216. ],
  1217. "summary": "获得标段账号",
  1218. "parameters": [
  1219. {
  1220. "type": "string",
  1221. "description": "标段ID",
  1222. "name": "bidsectionId",
  1223. "in": "path"
  1224. }
  1225. ],
  1226. "responses": {
  1227. "200": {
  1228. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1229. "schema": {
  1230. "$ref": "#/definitions/viewmodels.ProjectAccount"
  1231. }
  1232. }
  1233. }
  1234. },
  1235. "delete": {
  1236. "security": [
  1237. {
  1238. "ApiKeyAuth": []
  1239. }
  1240. ],
  1241. "description": "移除标段成员-账号",
  1242. "consumes": [
  1243. "application/json"
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "项目设置-标段成员权限-管理员"
  1250. ],
  1251. "summary": "移除标段成员-账号",
  1252. "parameters": [
  1253. {
  1254. "description": "标段ID",
  1255. "name": "bidsectionId",
  1256. "in": "body",
  1257. "schema": {
  1258. "type": "string"
  1259. }
  1260. },
  1261. {
  1262. "description": "账号ID",
  1263. "name": "accountId",
  1264. "in": "body",
  1265. "schema": {
  1266. "type": "string"
  1267. }
  1268. }
  1269. ],
  1270. "responses": {
  1271. "200": {
  1272. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1273. "schema": {
  1274. "type": "string"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/api/projectSetting/bid/account/create": {
  1281. "post": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "description": "标段中添加成员-账号",
  1288. "consumes": [
  1289. "application/json"
  1290. ],
  1291. "produces": [
  1292. "application/json"
  1293. ],
  1294. "tags": [
  1295. "项目设置-标段成员权限-管理员"
  1296. ],
  1297. "summary": "标段中添加成员-账号",
  1298. "parameters": [
  1299. {
  1300. "description": "标段ID",
  1301. "name": "bidsectionId",
  1302. "in": "body",
  1303. "schema": {
  1304. "type": "string"
  1305. }
  1306. },
  1307. {
  1308. "description": "账号ID",
  1309. "name": "accountId",
  1310. "in": "body",
  1311. "schema": {
  1312. "type": "string"
  1313. }
  1314. }
  1315. ],
  1316. "responses": {
  1317. "200": {
  1318. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1319. "schema": {
  1320. "type": "string"
  1321. }
  1322. }
  1323. }
  1324. }
  1325. },
  1326. "/api/projectSetting/project/save": {
  1327. "post": {
  1328. "security": [
  1329. {
  1330. "ApiKeyAuth": []
  1331. }
  1332. ],
  1333. "description": "保存项目信息",
  1334. "consumes": [
  1335. "application/json"
  1336. ],
  1337. "produces": [
  1338. "application/json"
  1339. ],
  1340. "tags": [
  1341. "项目设置-管理员"
  1342. ],
  1343. "summary": "保存项目信息",
  1344. "parameters": [
  1345. {
  1346. "default": "红旗大桥",
  1347. "description": "账号ID",
  1348. "name": "name",
  1349. "in": "body",
  1350. "required": true,
  1351. "schema": {
  1352. "type": "string"
  1353. }
  1354. },
  1355. {
  1356. "type": "string",
  1357. "description": "csrf",
  1358. "name": "X-CSRF-Token",
  1359. "in": "header",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "{code:0成功,-1参数类错误,data:viewmodels.ProjectAccount,msg:错误信息}",
  1366. "schema": {
  1367. "type": "string"
  1368. }
  1369. }
  1370. }
  1371. }
  1372. },
  1373. "/api/tree": {
  1374. "get": {
  1375. "security": [
  1376. {
  1377. "ApiKeyAuth": []
  1378. }
  1379. ],
  1380. "description": "获得目录和数据",
  1381. "consumes": [
  1382. "application/json"
  1383. ],
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "目录相关-管理员"
  1389. ],
  1390. "summary": "获得目录和数据",
  1391. "responses": {
  1392. "200": {
  1393. "description": "{code:0成功,data:viewmodels.Tree,msg:}",
  1394. "schema": {
  1395. "$ref": "#/definitions/viewmodels.Tree"
  1396. }
  1397. },
  1398. "400": {
  1399. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  1400. "schema": {
  1401. "type": "string"
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "delete": {
  1407. "security": [
  1408. {
  1409. "ApiKeyAuth": []
  1410. }
  1411. ],
  1412. "description": "删除目录下的目录以及其他内容",
  1413. "consumes": [
  1414. "application/json"
  1415. ],
  1416. "produces": [
  1417. "application/json"
  1418. ],
  1419. "tags": [
  1420. "目录相关-管理员"
  1421. ],
  1422. "summary": "删除目录",
  1423. "parameters": [
  1424. {
  1425. "description": "目录ID",
  1426. "name": "id",
  1427. "in": "body",
  1428. "required": true,
  1429. "schema": {
  1430. "type": "string"
  1431. }
  1432. }
  1433. ],
  1434. "responses": {
  1435. "200": {
  1436. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  1437. "schema": {
  1438. "type": "string"
  1439. }
  1440. }
  1441. }
  1442. }
  1443. },
  1444. "/api/tree/create": {
  1445. "post": {
  1446. "security": [
  1447. {
  1448. "ApiKeyAuth": []
  1449. }
  1450. ],
  1451. "description": "新增目录",
  1452. "consumes": [
  1453. "application/json"
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "目录相关-管理员"
  1460. ],
  1461. "summary": "新增目录",
  1462. "parameters": [
  1463. {
  1464. "description": "目录ID",
  1465. "name": "id",
  1466. "in": "body",
  1467. "required": true,
  1468. "schema": {
  1469. "type": "string"
  1470. }
  1471. },
  1472. {
  1473. "description": "目录深度 顶级目录(-1)其他级目录(0)",
  1474. "name": "depth",
  1475. "in": "body",
  1476. "required": true,
  1477. "schema": {
  1478. "type": "integer"
  1479. }
  1480. },
  1481. {
  1482. "description": "目录名称",
  1483. "name": "name",
  1484. "in": "body",
  1485. "required": true,
  1486. "schema": {
  1487. "type": "string"
  1488. }
  1489. }
  1490. ],
  1491. "responses": {
  1492. "200": {
  1493. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  1494. "schema": {
  1495. "type": "string"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/api/tree/move": {
  1502. "post": {
  1503. "security": [
  1504. {
  1505. "ApiKeyAuth": []
  1506. }
  1507. ],
  1508. "description": "移动文件夹",
  1509. "consumes": [
  1510. "application/json"
  1511. ],
  1512. "produces": [
  1513. "application/json"
  1514. ],
  1515. "tags": [
  1516. "目录相关-管理员"
  1517. ],
  1518. "summary": "移动文件夹",
  1519. "parameters": [
  1520. {
  1521. "description": "目录ID",
  1522. "name": "id",
  1523. "in": "body",
  1524. "required": true,
  1525. "schema": {
  1526. "type": "string"
  1527. }
  1528. },
  1529. {
  1530. "description": "被放置的目录ID",
  1531. "name": "moveId",
  1532. "in": "body",
  1533. "required": true,
  1534. "schema": {
  1535. "type": "string"
  1536. }
  1537. }
  1538. ],
  1539. "responses": {
  1540. "200": {
  1541. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  1542. "schema": {
  1543. "type": "string"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/api/tree/rename": {
  1550. "post": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "description": "重命名-文件夹或者标段",
  1557. "consumes": [
  1558. "application/json"
  1559. ],
  1560. "produces": [
  1561. "application/json"
  1562. ],
  1563. "tags": [
  1564. "目录相关-管理员"
  1565. ],
  1566. "summary": "重命名",
  1567. "parameters": [
  1568. {
  1569. "description": "treeId",
  1570. "name": "id",
  1571. "in": "body",
  1572. "required": true,
  1573. "schema": {
  1574. "type": "string"
  1575. }
  1576. },
  1577. {
  1578. "description": "重命名的名称",
  1579. "name": "name",
  1580. "in": "body",
  1581. "required": true,
  1582. "schema": {
  1583. "type": "string"
  1584. }
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "{code:0成功,-1参数类错误,-2服务端内部错误,msg:错误信息}",
  1590. "schema": {
  1591. "type": "string"
  1592. }
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "definitions": {
  1599. "viewmodels.FolderContract": {
  1600. "type": "object",
  1601. "properties": {
  1602. "bidsectionId": {
  1603. "type": "string"
  1604. },
  1605. "children": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/viewmodels.FolderContract"
  1609. }
  1610. },
  1611. "childsTotal": {
  1612. "type": "integer"
  1613. },
  1614. "contracts": {
  1615. "type": "integer"
  1616. },
  1617. "contractsIncome": {
  1618. "type": "string"
  1619. },
  1620. "contractsIncomeProgress": {
  1621. "type": "string"
  1622. },
  1623. "contractsPaid": {
  1624. "type": "string"
  1625. },
  1626. "contractsPay": {
  1627. "type": "string"
  1628. },
  1629. "contractsPayProgress": {
  1630. "type": "string"
  1631. },
  1632. "contractsReturned": {
  1633. "type": "string"
  1634. },
  1635. "csrf": {
  1636. "type": "string"
  1637. },
  1638. "hasFolder": {
  1639. "description": "Leaf bool `json:\"leaf\" `",
  1640. "type": "boolean"
  1641. },
  1642. "id": {
  1643. "type": "string"
  1644. },
  1645. "isBid": {
  1646. "type": "boolean"
  1647. },
  1648. "isEnd": {
  1649. "type": "boolean"
  1650. },
  1651. "isfolder": {
  1652. "type": "integer"
  1653. },
  1654. "name": {
  1655. "type": "string"
  1656. },
  1657. "parentId": {
  1658. "type": "string"
  1659. },
  1660. "projectId": {
  1661. "type": "string"
  1662. }
  1663. }
  1664. },
  1665. "viewmodels.Project": {
  1666. "type": "object",
  1667. "properties": {
  1668. "code": {
  1669. "type": "string"
  1670. },
  1671. "id": {
  1672. "type": "string"
  1673. },
  1674. "name": {
  1675. "type": "string"
  1676. }
  1677. }
  1678. },
  1679. "viewmodels.ProjectAccount": {
  1680. "type": "object",
  1681. "properties": {
  1682. "account": {
  1683. "type": "string"
  1684. },
  1685. "accountGroup": {
  1686. "type": "integer"
  1687. },
  1688. "company": {
  1689. "type": "string"
  1690. },
  1691. "csrf": {
  1692. "type": "string"
  1693. },
  1694. "enable": {
  1695. "type": "integer"
  1696. },
  1697. "id": {
  1698. "type": "string"
  1699. },
  1700. "isAdmin": {
  1701. "type": "integer"
  1702. },
  1703. "mobile": {
  1704. "type": "string"
  1705. },
  1706. "name": {
  1707. "type": "string"
  1708. },
  1709. "password": {
  1710. "type": "string"
  1711. },
  1712. "position": {
  1713. "type": "string"
  1714. },
  1715. "projectId": {
  1716. "type": "string"
  1717. },
  1718. "role": {
  1719. "type": "string"
  1720. },
  1721. "telephone": {
  1722. "type": "string"
  1723. }
  1724. }
  1725. },
  1726. "viewmodels.Tree": {
  1727. "type": "object",
  1728. "properties": {
  1729. "ancounts": {
  1730. "type": "integer"
  1731. },
  1732. "attribution": {
  1733. "type": "string"
  1734. },
  1735. "bidsectionId": {
  1736. "type": "string"
  1737. },
  1738. "children": {
  1739. "type": "array",
  1740. "items": {
  1741. "$ref": "#/definitions/viewmodels.Tree"
  1742. }
  1743. },
  1744. "childsTotal": {
  1745. "type": "integer"
  1746. },
  1747. "createTime": {
  1748. "type": "string"
  1749. },
  1750. "csrf": {
  1751. "type": "string"
  1752. },
  1753. "depth": {
  1754. "type": "integer"
  1755. },
  1756. "hasFolder": {
  1757. "description": "Leaf bool `json:\"leaf\" `",
  1758. "type": "boolean"
  1759. },
  1760. "id": {
  1761. "type": "string"
  1762. },
  1763. "isBid": {
  1764. "type": "boolean"
  1765. },
  1766. "isEnd": {
  1767. "type": "boolean"
  1768. },
  1769. "isfolder": {
  1770. "type": "integer"
  1771. },
  1772. "name": {
  1773. "type": "string"
  1774. },
  1775. "parentId": {
  1776. "type": "string"
  1777. },
  1778. "projectId": {
  1779. "type": "string"
  1780. },
  1781. "serial": {
  1782. "type": "string"
  1783. },
  1784. "targetFolderId": {
  1785. "type": "string"
  1786. },
  1787. "updateTime": {
  1788. "type": "string"
  1789. }
  1790. }
  1791. },
  1792. "viewmodels.TreeSectionContract": {
  1793. "type": "object",
  1794. "properties": {
  1795. "attribution": {
  1796. "type": "string"
  1797. },
  1798. "bidsectionId": {
  1799. "type": "string"
  1800. },
  1801. "children": {
  1802. "type": "array",
  1803. "items": {
  1804. "$ref": "#/definitions/viewmodels.TreeSectionContract"
  1805. }
  1806. },
  1807. "code": {
  1808. "type": "string"
  1809. },
  1810. "contractCode": {
  1811. "type": "string"
  1812. },
  1813. "contractId": {
  1814. "type": "string"
  1815. },
  1816. "contractName": {
  1817. "type": "string"
  1818. },
  1819. "contractPrice": {
  1820. "type": "string"
  1821. },
  1822. "contractReturned": {
  1823. "type": "string"
  1824. },
  1825. "contractStatus": {
  1826. "type": "integer"
  1827. },
  1828. "contractsPaid": {
  1829. "type": "string"
  1830. },
  1831. "createTime": {
  1832. "type": "string"
  1833. },
  1834. "depth": {
  1835. "type": "integer"
  1836. },
  1837. "elderBrother": {
  1838. "type": "boolean"
  1839. },
  1840. "id": {
  1841. "type": "string"
  1842. },
  1843. "isEnd": {
  1844. "type": "boolean"
  1845. },
  1846. "name": {
  1847. "type": "string"
  1848. },
  1849. "operation": {
  1850. "type": "string"
  1851. },
  1852. "parentId": {
  1853. "type": "string"
  1854. },
  1855. "projectId": {
  1856. "type": "string"
  1857. },
  1858. "serial": {
  1859. "type": "integer"
  1860. },
  1861. "templateNumber": {
  1862. "type": "integer"
  1863. }
  1864. }
  1865. }
  1866. },
  1867. "securityDefinitions": {
  1868. "ApiKeyAuth": {
  1869. "type": "apiKey",
  1870. "name": "X-CSRF-Token",
  1871. "in": "header"
  1872. }
  1873. }
  1874. }