swagger.yaml 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366
  1. definitions:
  2. apis.ContactInfoReply:
  3. properties:
  4. addr:
  5. type: string
  6. email:
  7. type: string
  8. id:
  9. type: integer
  10. phone:
  11. type: string
  12. type: object
  13. apis.JtContentItem:
  14. properties:
  15. content:
  16. type: string
  17. created_at:
  18. type: integer
  19. first_pics:
  20. items:
  21. type: string
  22. type: array
  23. id:
  24. type: integer
  25. publish_status:
  26. type: integer
  27. title:
  28. type: string
  29. type: object
  30. apis.JtContentListReply:
  31. properties:
  32. list:
  33. items:
  34. $ref: '#/definitions/apis.JtContentItem'
  35. type: array
  36. page:
  37. type: integer
  38. total:
  39. type: integer
  40. type: object
  41. apis.OperationLogItem:
  42. properties:
  43. id:
  44. type: integer
  45. module:
  46. type: string
  47. operation:
  48. type: string
  49. operation_time:
  50. type: integer
  51. origin_content:
  52. type: string
  53. target_content:
  54. type: string
  55. uid:
  56. type: integer
  57. user:
  58. type: string
  59. type: object
  60. apis.OperationLogListReply:
  61. properties:
  62. list:
  63. items:
  64. $ref: '#/definitions/apis.OperationLogItem'
  65. type: array
  66. page:
  67. type: integer
  68. total:
  69. type: integer
  70. type: object
  71. apis.PagePicItem:
  72. properties:
  73. created_at:
  74. type: integer
  75. id:
  76. type: integer
  77. pic:
  78. type: string
  79. type: object
  80. apis.PagePicListReply:
  81. properties:
  82. list:
  83. items:
  84. $ref: '#/definitions/apis.PagePicItem'
  85. type: array
  86. page:
  87. type: integer
  88. total:
  89. type: integer
  90. type: object
  91. apis.UserItem:
  92. properties:
  93. effective_end:
  94. type: integer
  95. effective_start:
  96. type: integer
  97. real_name:
  98. type: string
  99. status:
  100. description: 1有效 2 过期
  101. type: integer
  102. uid:
  103. type: integer
  104. user:
  105. type: string
  106. user_type:
  107. type: integer
  108. type: object
  109. apis.UserListReply:
  110. properties:
  111. list:
  112. items:
  113. $ref: '#/definitions/apis.UserItem'
  114. type: array
  115. page:
  116. type: integer
  117. total:
  118. type: integer
  119. type: object
  120. base.HTTPError:
  121. properties:
  122. code:
  123. example: 500
  124. format: int
  125. type: integer
  126. message:
  127. example: status bad request
  128. type: string
  129. type: object
  130. v1.ContactAddBody:
  131. properties:
  132. addr:
  133. type: string
  134. email:
  135. type: string
  136. phone:
  137. type: string
  138. type: object
  139. v1.ContactAddResponse:
  140. properties:
  141. code:
  142. default: 0
  143. description: 返回码
  144. format: int
  145. type: integer
  146. message:
  147. default: success
  148. description: 消息
  149. type: string
  150. type: object
  151. v1.ContactDelResponse:
  152. properties:
  153. code:
  154. default: 0
  155. description: 返回码
  156. format: int
  157. type: integer
  158. message:
  159. default: success
  160. description: 消息
  161. type: string
  162. type: object
  163. v1.ContactInfoResponse:
  164. properties:
  165. code:
  166. default: 0
  167. description: 返回码
  168. format: int
  169. type: integer
  170. data:
  171. $ref: '#/definitions/apis.ContactInfoReply'
  172. type: object
  173. message:
  174. default: success
  175. description: 消息
  176. type: string
  177. type: object
  178. v1.ContactUpdateBody:
  179. properties:
  180. addr:
  181. type: string
  182. email:
  183. type: string
  184. id:
  185. type: integer
  186. phone:
  187. type: string
  188. type: object
  189. v1.ContactUpdateResponse:
  190. properties:
  191. code:
  192. default: 0
  193. description: 返回码
  194. format: int
  195. type: integer
  196. message:
  197. default: success
  198. description: 消息
  199. type: string
  200. type: object
  201. v1.JtContentAddBody:
  202. properties:
  203. content:
  204. type: string
  205. first_pics:
  206. description: 标题图片
  207. items:
  208. type: string
  209. type: array
  210. publish_status:
  211. description: 1 发布 2 暂不发布
  212. type: integer
  213. title:
  214. type: string
  215. type: object
  216. v1.JtContentAddResponse:
  217. properties:
  218. code:
  219. default: 0
  220. description: 返回码
  221. format: int
  222. type: integer
  223. message:
  224. default: success
  225. description: 消息
  226. type: string
  227. type: object
  228. v1.JtContentDelResponse:
  229. properties:
  230. code:
  231. default: 0
  232. description: 返回码
  233. format: int
  234. type: integer
  235. message:
  236. default: success
  237. description: 消息
  238. type: string
  239. type: object
  240. v1.JtContentInfoData:
  241. properties:
  242. content:
  243. type: string
  244. created_at:
  245. type: integer
  246. first_pics:
  247. items:
  248. type: string
  249. type: array
  250. id:
  251. type: integer
  252. publish_status:
  253. description: 1 发布 2 暂不发布
  254. type: integer
  255. title:
  256. type: string
  257. type: object
  258. v1.JtContentInfoResponse:
  259. properties:
  260. code:
  261. default: 0
  262. description: 返回码
  263. format: int
  264. type: integer
  265. data:
  266. $ref: '#/definitions/v1.JtContentInfoData'
  267. type: object
  268. message:
  269. default: success
  270. description: 消息
  271. type: string
  272. type: object
  273. v1.JtContentListResponse:
  274. properties:
  275. code:
  276. default: 0
  277. description: 返回码
  278. format: int
  279. type: integer
  280. data:
  281. $ref: '#/definitions/apis.JtContentListReply'
  282. type: object
  283. message:
  284. default: success
  285. description: 消息
  286. type: string
  287. type: object
  288. v1.JtContentPublishBody:
  289. properties:
  290. id:
  291. type: integer
  292. publish_status:
  293. description: 1 发布 2 下架
  294. type: integer
  295. type: object
  296. v1.JtContentPublishResponse:
  297. properties:
  298. code:
  299. default: 0
  300. description: 返回码
  301. format: int
  302. type: integer
  303. message:
  304. default: success
  305. description: 消息
  306. type: string
  307. type: object
  308. v1.JtContentUpdateBody:
  309. properties:
  310. content:
  311. type: string
  312. first_pics:
  313. items:
  314. type: string
  315. type: array
  316. id:
  317. type: integer
  318. publish_status:
  319. description: 1 发布 2 暂不发布
  320. type: integer
  321. title:
  322. type: string
  323. type: object
  324. v1.JtContentUpdateResponse:
  325. properties:
  326. code:
  327. default: 0
  328. description: 返回码
  329. format: int
  330. type: integer
  331. message:
  332. default: success
  333. description: 消息
  334. type: string
  335. type: object
  336. v1.LoginBody:
  337. properties:
  338. password:
  339. type: string
  340. user:
  341. type: string
  342. type: object
  343. v1.LoginData:
  344. properties:
  345. token:
  346. type: string
  347. uid:
  348. type: integer
  349. user:
  350. type: string
  351. user_type:
  352. type: integer
  353. type: object
  354. v1.LoginResponse:
  355. properties:
  356. code:
  357. default: 0
  358. description: 返回码
  359. format: int
  360. type: integer
  361. data:
  362. $ref: '#/definitions/v1.LoginData'
  363. type: object
  364. message:
  365. default: success
  366. description: 消息
  367. type: string
  368. type: object
  369. v1.OperationLogDelResponse:
  370. properties:
  371. code:
  372. default: 0
  373. description: 返回码
  374. format: int
  375. type: integer
  376. message:
  377. default: success
  378. description: 消息
  379. type: string
  380. type: object
  381. v1.OperationLogListResponse:
  382. properties:
  383. code:
  384. default: 0
  385. description: 返回码
  386. format: int
  387. type: integer
  388. data:
  389. $ref: '#/definitions/apis.OperationLogListReply'
  390. type: object
  391. message:
  392. default: success
  393. description: 消息
  394. type: string
  395. type: object
  396. v1.PagePicAddBody:
  397. properties:
  398. pic:
  399. type: string
  400. type: object
  401. v1.PagePicAddResponse:
  402. properties:
  403. code:
  404. default: 0
  405. description: 返回码
  406. format: int
  407. type: integer
  408. message:
  409. default: success
  410. description: 消息
  411. type: string
  412. type: object
  413. v1.PagePicDelResponse:
  414. properties:
  415. code:
  416. default: 0
  417. description: 返回码
  418. format: int
  419. type: integer
  420. message:
  421. default: success
  422. description: 消息
  423. type: string
  424. type: object
  425. v1.PagePicListResponse:
  426. properties:
  427. code:
  428. default: 0
  429. description: 返回码
  430. format: int
  431. type: integer
  432. data:
  433. $ref: '#/definitions/apis.PagePicListReply'
  434. type: object
  435. message:
  436. default: success
  437. description: 消息
  438. type: string
  439. type: object
  440. v1.PagePicUpdateBody:
  441. properties:
  442. id:
  443. type: integer
  444. pic:
  445. type: string
  446. type: object
  447. v1.PagePicUpdateResponse:
  448. properties:
  449. code:
  450. default: 0
  451. description: 返回码
  452. format: int
  453. type: integer
  454. message:
  455. default: success
  456. description: 消息
  457. type: string
  458. type: object
  459. v1.TokenResponse:
  460. properties:
  461. code:
  462. default: 0
  463. description: 返回码
  464. format: int
  465. type: integer
  466. data:
  467. type: string
  468. message:
  469. default: success
  470. description: 消息
  471. type: string
  472. refresh_token:
  473. type: string
  474. type: object
  475. v1.UploadResponse:
  476. properties:
  477. code:
  478. default: 0
  479. description: 返回码
  480. format: int
  481. type: integer
  482. data:
  483. type: string
  484. message:
  485. default: success
  486. description: 消息
  487. type: string
  488. type: object
  489. v1.UserAddBody:
  490. properties:
  491. effective_end:
  492. type: integer
  493. effective_start:
  494. type: integer
  495. password:
  496. type: string
  497. real_name:
  498. type: string
  499. user:
  500. type: string
  501. user_type:
  502. type: integer
  503. type: object
  504. v1.UserAddResponse:
  505. properties:
  506. code:
  507. default: 0
  508. description: 返回码
  509. format: int
  510. type: integer
  511. message:
  512. default: success
  513. description: 消息
  514. type: string
  515. type: object
  516. v1.UserDelResponse:
  517. properties:
  518. code:
  519. default: 0
  520. description: 返回码
  521. format: int
  522. type: integer
  523. message:
  524. default: success
  525. description: 消息
  526. type: string
  527. type: object
  528. v1.UserListResponse:
  529. properties:
  530. code:
  531. default: 0
  532. description: 返回码
  533. format: int
  534. type: integer
  535. data:
  536. $ref: '#/definitions/apis.UserListReply'
  537. type: object
  538. message:
  539. default: success
  540. description: 消息
  541. type: string
  542. type: object
  543. v1.UserResetPasswordBody:
  544. properties:
  545. id:
  546. type: integer
  547. password:
  548. type: string
  549. type: object
  550. v1.UserResetPasswordResponse:
  551. properties:
  552. code:
  553. default: 0
  554. description: 返回码
  555. format: int
  556. type: integer
  557. message:
  558. default: success
  559. description: 消息
  560. type: string
  561. type: object
  562. v1.UserUpdateBody:
  563. properties:
  564. effective_end:
  565. type: integer
  566. effective_start:
  567. type: integer
  568. id:
  569. type: integer
  570. password:
  571. type: string
  572. real_name:
  573. type: string
  574. user:
  575. type: string
  576. user_type:
  577. type: integer
  578. type: object
  579. v1.UserUpdateResponse:
  580. properties:
  581. code:
  582. default: 0
  583. description: 返回码
  584. format: int
  585. type: integer
  586. message:
  587. default: success
  588. description: 消息
  589. type: string
  590. type: object
  591. info:
  592. contact: {}
  593. description: This is a gateway server. On the page, you can go to do testing for every API.
  594. license: {}
  595. title: Project xingjia-management-gateway's APIs
  596. version: "1.1"
  597. paths:
  598. /api/v1/file:
  599. get:
  600. consumes:
  601. - application/json
  602. description: 获取文件
  603. parameters:
  604. - description: jwt token
  605. in: header
  606. name: token
  607. required: true
  608. type: string
  609. - description: ' '
  610. in: query
  611. name: obj
  612. required: true
  613. type: string
  614. produces:
  615. - application/json
  616. responses:
  617. "200":
  618. description: OK
  619. schema:
  620. $ref: '#/definitions/v1.UploadResponse'
  621. "500":
  622. description: Internal Server Error
  623. schema:
  624. $ref: '#/definitions/base.HTTPError'
  625. summary: 获取文件
  626. tags:
  627. - download
  628. post:
  629. consumes:
  630. - application/json
  631. description: 上传文件
  632. parameters:
  633. - description: jwt token
  634. in: header
  635. name: token
  636. required: true
  637. type: string
  638. - description: file
  639. in: formData
  640. name: file
  641. type: file
  642. produces:
  643. - application/json
  644. responses:
  645. "200":
  646. description: OK
  647. schema:
  648. $ref: '#/definitions/v1.UploadResponse'
  649. "500":
  650. description: Internal Server Error
  651. schema:
  652. $ref: '#/definitions/base.HTTPError'
  653. summary: 上传文件
  654. tags:
  655. - upload
  656. /api/v1/jt/announcement:
  657. delete:
  658. consumes:
  659. - application/json
  660. description: 删除公示公告
  661. parameters:
  662. - description: ' '
  663. in: header
  664. name: token
  665. required: true
  666. type: string
  667. - description: ' 记录id'
  668. in: query
  669. name: id
  670. required: true
  671. type: integer
  672. produces:
  673. - application/json
  674. responses:
  675. "200":
  676. description: OK
  677. schema:
  678. $ref: '#/definitions/v1.JtContentDelResponse'
  679. "500":
  680. description: Internal Server Error
  681. schema:
  682. $ref: '#/definitions/base.HTTPError'
  683. summary: 删除公示公告
  684. tags:
  685. - 公示公告
  686. get:
  687. consumes:
  688. - application/json
  689. description: 公示公告列表
  690. parameters:
  691. - description: ' '
  692. in: header
  693. name: token
  694. required: true
  695. type: string
  696. - description: ' '
  697. in: query
  698. name: page
  699. type: integer
  700. - description: ' '
  701. in: query
  702. name: page_size
  703. type: integer
  704. produces:
  705. - application/json
  706. responses:
  707. "200":
  708. description: OK
  709. schema:
  710. $ref: '#/definitions/v1.JtContentListResponse'
  711. "500":
  712. description: Internal Server Error
  713. schema:
  714. $ref: '#/definitions/base.HTTPError'
  715. summary: 公示公告列表
  716. tags:
  717. - 公示公告
  718. post:
  719. consumes:
  720. - application/json
  721. description: 添加公示公告
  722. parameters:
  723. - description: ' '
  724. in: header
  725. name: token
  726. required: true
  727. type: string
  728. - description: ' '
  729. in: body
  730. name: body
  731. required: true
  732. schema:
  733. $ref: '#/definitions/v1.JtContentAddBody'
  734. produces:
  735. - application/json
  736. responses:
  737. "200":
  738. description: OK
  739. schema:
  740. $ref: '#/definitions/v1.JtContentAddResponse'
  741. "500":
  742. description: Internal Server Error
  743. schema:
  744. $ref: '#/definitions/base.HTTPError'
  745. summary: 添加公示公告
  746. tags:
  747. - 公示公告
  748. put:
  749. consumes:
  750. - application/json
  751. description: 修改公示公告
  752. parameters:
  753. - description: ' '
  754. in: header
  755. name: token
  756. required: true
  757. type: string
  758. - description: ' '
  759. in: body
  760. name: body
  761. required: true
  762. schema:
  763. $ref: '#/definitions/v1.JtContentUpdateBody'
  764. produces:
  765. - application/json
  766. responses:
  767. "200":
  768. description: OK
  769. schema:
  770. $ref: '#/definitions/v1.JtContentUpdateResponse'
  771. "500":
  772. description: Internal Server Error
  773. schema:
  774. $ref: '#/definitions/base.HTTPError'
  775. summary: 修改公示公告
  776. tags:
  777. - 公示公告
  778. /api/v1/jt/announcement/publish:
  779. put:
  780. consumes:
  781. - application/json
  782. description: 发布或下架公示公告
  783. parameters:
  784. - description: ' '
  785. in: header
  786. name: token
  787. required: true
  788. type: string
  789. - description: ' '
  790. in: body
  791. name: body
  792. required: true
  793. schema:
  794. $ref: '#/definitions/v1.JtContentPublishBody'
  795. produces:
  796. - application/json
  797. responses:
  798. "200":
  799. description: OK
  800. schema:
  801. $ref: '#/definitions/v1.JtContentPublishResponse'
  802. "500":
  803. description: Internal Server Error
  804. schema:
  805. $ref: '#/definitions/base.HTTPError'
  806. summary: 发布或下架公示公告
  807. tags:
  808. - 公示公告
  809. /api/v1/jt/contact:
  810. delete:
  811. consumes:
  812. - application/json
  813. description: 删除联系我们
  814. parameters:
  815. - description: ' '
  816. in: header
  817. name: token
  818. required: true
  819. type: string
  820. - description: ' 记录id'
  821. in: query
  822. name: id
  823. required: true
  824. type: integer
  825. produces:
  826. - application/json
  827. responses:
  828. "200":
  829. description: OK
  830. schema:
  831. $ref: '#/definitions/v1.ContactDelResponse'
  832. "500":
  833. description: Internal Server Error
  834. schema:
  835. $ref: '#/definitions/base.HTTPError'
  836. summary: 删除联系我们
  837. tags:
  838. - 联系我们
  839. get:
  840. consumes:
  841. - application/json
  842. description: 联系我们信息
  843. parameters:
  844. - description: ' '
  845. in: header
  846. name: token
  847. required: true
  848. type: string
  849. produces:
  850. - application/json
  851. responses:
  852. "200":
  853. description: OK
  854. schema:
  855. $ref: '#/definitions/v1.ContactInfoResponse'
  856. "500":
  857. description: Internal Server Error
  858. schema:
  859. $ref: '#/definitions/base.HTTPError'
  860. summary: 联系我们信息
  861. tags:
  862. - 联系我们
  863. post:
  864. consumes:
  865. - application/json
  866. description: 添加联系我们
  867. parameters:
  868. - description: ' '
  869. in: header
  870. name: token
  871. required: true
  872. type: string
  873. - description: ' '
  874. in: body
  875. name: body
  876. required: true
  877. schema:
  878. $ref: '#/definitions/v1.ContactAddBody'
  879. produces:
  880. - application/json
  881. responses:
  882. "200":
  883. description: OK
  884. schema:
  885. $ref: '#/definitions/v1.ContactAddResponse'
  886. "500":
  887. description: Internal Server Error
  888. schema:
  889. $ref: '#/definitions/base.HTTPError'
  890. summary: 添加联系我们
  891. tags:
  892. - 联系我们
  893. put:
  894. consumes:
  895. - application/json
  896. description: 修改联系我们
  897. parameters:
  898. - description: ' '
  899. in: header
  900. name: token
  901. required: true
  902. type: string
  903. - description: ' '
  904. in: body
  905. name: body
  906. required: true
  907. schema:
  908. $ref: '#/definitions/v1.ContactUpdateBody'
  909. produces:
  910. - application/json
  911. responses:
  912. "200":
  913. description: OK
  914. schema:
  915. $ref: '#/definitions/v1.ContactUpdateResponse'
  916. "500":
  917. description: Internal Server Error
  918. schema:
  919. $ref: '#/definitions/base.HTTPError'
  920. summary: 修改联系我们
  921. tags:
  922. - 联系我们
  923. /api/v1/jt/desc:
  924. delete:
  925. consumes:
  926. - application/json
  927. description: 删除集团简介
  928. parameters:
  929. - description: ' '
  930. in: header
  931. name: token
  932. required: true
  933. type: string
  934. - description: ' 记录id'
  935. in: query
  936. name: id
  937. required: true
  938. type: integer
  939. produces:
  940. - application/json
  941. responses:
  942. "200":
  943. description: OK
  944. schema:
  945. $ref: '#/definitions/v1.JtContentDelResponse'
  946. "500":
  947. description: Internal Server Error
  948. schema:
  949. $ref: '#/definitions/base.HTTPError'
  950. summary: 删除集团简介
  951. tags:
  952. - 集团简介
  953. get:
  954. consumes:
  955. - application/json
  956. description: 集团简介信息
  957. parameters:
  958. - description: ' '
  959. in: header
  960. name: token
  961. required: true
  962. type: string
  963. produces:
  964. - application/json
  965. responses:
  966. "200":
  967. description: OK
  968. schema:
  969. $ref: '#/definitions/v1.JtContentInfoResponse'
  970. "500":
  971. description: Internal Server Error
  972. schema:
  973. $ref: '#/definitions/base.HTTPError'
  974. summary: 集团简介信息
  975. tags:
  976. - 集团简介
  977. post:
  978. consumes:
  979. - application/json
  980. description: 添加集团简介
  981. parameters:
  982. - description: ' '
  983. in: header
  984. name: token
  985. required: true
  986. type: string
  987. - description: ' '
  988. in: body
  989. name: body
  990. required: true
  991. schema:
  992. $ref: '#/definitions/v1.JtContentAddBody'
  993. produces:
  994. - application/json
  995. responses:
  996. "200":
  997. description: OK
  998. schema:
  999. $ref: '#/definitions/v1.JtContentAddResponse'
  1000. "500":
  1001. description: Internal Server Error
  1002. schema:
  1003. $ref: '#/definitions/base.HTTPError'
  1004. summary: 添加集团简介
  1005. tags:
  1006. - 集团简介
  1007. put:
  1008. consumes:
  1009. - application/json
  1010. description: 修改集团简介
  1011. parameters:
  1012. - description: ' '
  1013. in: header
  1014. name: token
  1015. required: true
  1016. type: string
  1017. - description: ' '
  1018. in: body
  1019. name: body
  1020. required: true
  1021. schema:
  1022. $ref: '#/definitions/v1.JtContentUpdateBody'
  1023. produces:
  1024. - application/json
  1025. responses:
  1026. "200":
  1027. description: OK
  1028. schema:
  1029. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1030. "500":
  1031. description: Internal Server Error
  1032. schema:
  1033. $ref: '#/definitions/base.HTTPError'
  1034. summary: 修改集团简介
  1035. tags:
  1036. - 集团简介
  1037. /api/v1/jt/desc/publish:
  1038. put:
  1039. consumes:
  1040. - application/json
  1041. description: 发布或下架集团简介
  1042. parameters:
  1043. - description: ' '
  1044. in: header
  1045. name: token
  1046. required: true
  1047. type: string
  1048. - description: ' '
  1049. in: body
  1050. name: body
  1051. required: true
  1052. schema:
  1053. $ref: '#/definitions/v1.JtContentPublishBody'
  1054. produces:
  1055. - application/json
  1056. responses:
  1057. "200":
  1058. description: OK
  1059. schema:
  1060. $ref: '#/definitions/v1.JtContentPublishResponse'
  1061. "500":
  1062. description: Internal Server Error
  1063. schema:
  1064. $ref: '#/definitions/base.HTTPError'
  1065. summary: 发布或下架集团简介
  1066. tags:
  1067. - 集团简介
  1068. /api/v1/jt/df:
  1069. delete:
  1070. consumes:
  1071. - application/json
  1072. description: 删除党风廉洁
  1073. parameters:
  1074. - description: ' '
  1075. in: header
  1076. name: token
  1077. required: true
  1078. type: string
  1079. - description: ' 记录id'
  1080. in: query
  1081. name: id
  1082. required: true
  1083. type: integer
  1084. produces:
  1085. - application/json
  1086. responses:
  1087. "200":
  1088. description: OK
  1089. schema:
  1090. $ref: '#/definitions/v1.JtContentDelResponse'
  1091. "500":
  1092. description: Internal Server Error
  1093. schema:
  1094. $ref: '#/definitions/base.HTTPError'
  1095. summary: 删除党风廉洁
  1096. tags:
  1097. - 党风廉洁
  1098. get:
  1099. consumes:
  1100. - application/json
  1101. description: 党风廉洁列表
  1102. parameters:
  1103. - description: ' '
  1104. in: header
  1105. name: token
  1106. required: true
  1107. type: string
  1108. - description: ' '
  1109. in: query
  1110. name: page
  1111. type: integer
  1112. - description: ' '
  1113. in: query
  1114. name: page_size
  1115. type: integer
  1116. produces:
  1117. - application/json
  1118. responses:
  1119. "200":
  1120. description: OK
  1121. schema:
  1122. $ref: '#/definitions/v1.JtContentListResponse'
  1123. "500":
  1124. description: Internal Server Error
  1125. schema:
  1126. $ref: '#/definitions/base.HTTPError'
  1127. summary: 党风廉洁列表
  1128. tags:
  1129. - 党风廉洁
  1130. post:
  1131. consumes:
  1132. - application/json
  1133. description: 添加党风廉洁
  1134. parameters:
  1135. - description: ' '
  1136. in: header
  1137. name: token
  1138. required: true
  1139. type: string
  1140. - description: ' '
  1141. in: body
  1142. name: body
  1143. required: true
  1144. schema:
  1145. $ref: '#/definitions/v1.JtContentAddBody'
  1146. produces:
  1147. - application/json
  1148. responses:
  1149. "200":
  1150. description: OK
  1151. schema:
  1152. $ref: '#/definitions/v1.JtContentAddResponse'
  1153. "500":
  1154. description: Internal Server Error
  1155. schema:
  1156. $ref: '#/definitions/base.HTTPError'
  1157. summary: 添加党风廉洁
  1158. tags:
  1159. - 党风廉洁
  1160. put:
  1161. consumes:
  1162. - application/json
  1163. description: 修改党风廉洁
  1164. parameters:
  1165. - description: ' '
  1166. in: header
  1167. name: token
  1168. required: true
  1169. type: string
  1170. - description: ' '
  1171. in: body
  1172. name: body
  1173. required: true
  1174. schema:
  1175. $ref: '#/definitions/v1.JtContentUpdateBody'
  1176. produces:
  1177. - application/json
  1178. responses:
  1179. "200":
  1180. description: OK
  1181. schema:
  1182. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1183. "500":
  1184. description: Internal Server Error
  1185. schema:
  1186. $ref: '#/definitions/base.HTTPError'
  1187. summary: 修改党风廉洁
  1188. tags:
  1189. - 党风廉洁
  1190. /api/v1/jt/df/publish:
  1191. put:
  1192. consumes:
  1193. - application/json
  1194. description: 发布或下架党风廉洁
  1195. parameters:
  1196. - description: ' '
  1197. in: header
  1198. name: token
  1199. required: true
  1200. type: string
  1201. - description: ' '
  1202. in: body
  1203. name: body
  1204. required: true
  1205. schema:
  1206. $ref: '#/definitions/v1.JtContentPublishBody'
  1207. produces:
  1208. - application/json
  1209. responses:
  1210. "200":
  1211. description: OK
  1212. schema:
  1213. $ref: '#/definitions/v1.JtContentPublishResponse'
  1214. "500":
  1215. description: Internal Server Error
  1216. schema:
  1217. $ref: '#/definitions/base.HTTPError'
  1218. summary: 发布或下架党风廉洁
  1219. tags:
  1220. - 党风廉洁
  1221. /api/v1/jt/hw:
  1222. delete:
  1223. consumes:
  1224. - application/json
  1225. description: 删除会务动态
  1226. parameters:
  1227. - description: ' '
  1228. in: header
  1229. name: token
  1230. required: true
  1231. type: string
  1232. - description: ' 记录id'
  1233. in: query
  1234. name: id
  1235. required: true
  1236. type: integer
  1237. produces:
  1238. - application/json
  1239. responses:
  1240. "200":
  1241. description: OK
  1242. schema:
  1243. $ref: '#/definitions/v1.JtContentDelResponse'
  1244. "500":
  1245. description: Internal Server Error
  1246. schema:
  1247. $ref: '#/definitions/base.HTTPError'
  1248. summary: 删除会务动态
  1249. tags:
  1250. - 会务动态
  1251. get:
  1252. consumes:
  1253. - application/json
  1254. description: 会务动态列表
  1255. parameters:
  1256. - description: ' '
  1257. in: header
  1258. name: token
  1259. required: true
  1260. type: string
  1261. - description: ' '
  1262. in: query
  1263. name: page
  1264. type: integer
  1265. - description: ' '
  1266. in: query
  1267. name: page_size
  1268. type: integer
  1269. produces:
  1270. - application/json
  1271. responses:
  1272. "200":
  1273. description: OK
  1274. schema:
  1275. $ref: '#/definitions/v1.JtContentListResponse'
  1276. "500":
  1277. description: Internal Server Error
  1278. schema:
  1279. $ref: '#/definitions/base.HTTPError'
  1280. summary: 会务动态列表
  1281. tags:
  1282. - 会务动态
  1283. post:
  1284. consumes:
  1285. - application/json
  1286. description: 添加会务动态
  1287. parameters:
  1288. - description: ' '
  1289. in: header
  1290. name: token
  1291. required: true
  1292. type: string
  1293. - description: ' '
  1294. in: body
  1295. name: body
  1296. required: true
  1297. schema:
  1298. $ref: '#/definitions/v1.JtContentAddBody'
  1299. produces:
  1300. - application/json
  1301. responses:
  1302. "200":
  1303. description: OK
  1304. schema:
  1305. $ref: '#/definitions/v1.JtContentAddResponse'
  1306. "500":
  1307. description: Internal Server Error
  1308. schema:
  1309. $ref: '#/definitions/base.HTTPError'
  1310. summary: 添加会务动态
  1311. tags:
  1312. - 会务动态
  1313. put:
  1314. consumes:
  1315. - application/json
  1316. description: 修改会务动态
  1317. parameters:
  1318. - description: ' '
  1319. in: header
  1320. name: token
  1321. required: true
  1322. type: string
  1323. - description: ' '
  1324. in: body
  1325. name: body
  1326. required: true
  1327. schema:
  1328. $ref: '#/definitions/v1.JtContentUpdateBody'
  1329. produces:
  1330. - application/json
  1331. responses:
  1332. "200":
  1333. description: OK
  1334. schema:
  1335. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1336. "500":
  1337. description: Internal Server Error
  1338. schema:
  1339. $ref: '#/definitions/base.HTTPError'
  1340. summary: 修改会务动态
  1341. tags:
  1342. - 会务动态
  1343. /api/v1/jt/hw/publish:
  1344. put:
  1345. consumes:
  1346. - application/json
  1347. description: 发布或下架会务动态
  1348. parameters:
  1349. - description: ' '
  1350. in: header
  1351. name: token
  1352. required: true
  1353. type: string
  1354. - description: ' '
  1355. in: body
  1356. name: body
  1357. required: true
  1358. schema:
  1359. $ref: '#/definitions/v1.JtContentPublishBody'
  1360. produces:
  1361. - application/json
  1362. responses:
  1363. "200":
  1364. description: OK
  1365. schema:
  1366. $ref: '#/definitions/v1.JtContentPublishResponse'
  1367. "500":
  1368. description: Internal Server Error
  1369. schema:
  1370. $ref: '#/definitions/base.HTTPError'
  1371. summary: 发布或下架会务动态
  1372. tags:
  1373. - 会务动态
  1374. /api/v1/jt/lx:
  1375. delete:
  1376. consumes:
  1377. - application/json
  1378. description: 删除两学一做
  1379. parameters:
  1380. - description: ' '
  1381. in: header
  1382. name: token
  1383. required: true
  1384. type: string
  1385. - description: ' 记录id'
  1386. in: query
  1387. name: id
  1388. required: true
  1389. type: integer
  1390. produces:
  1391. - application/json
  1392. responses:
  1393. "200":
  1394. description: OK
  1395. schema:
  1396. $ref: '#/definitions/v1.JtContentDelResponse'
  1397. "500":
  1398. description: Internal Server Error
  1399. schema:
  1400. $ref: '#/definitions/base.HTTPError'
  1401. summary: 删除两学一做
  1402. tags:
  1403. - 两学一做
  1404. get:
  1405. consumes:
  1406. - application/json
  1407. description: 两学一做列表
  1408. parameters:
  1409. - description: ' '
  1410. in: header
  1411. name: token
  1412. required: true
  1413. type: string
  1414. - description: ' '
  1415. in: query
  1416. name: page
  1417. type: integer
  1418. - description: ' '
  1419. in: query
  1420. name: page_size
  1421. type: integer
  1422. produces:
  1423. - application/json
  1424. responses:
  1425. "200":
  1426. description: OK
  1427. schema:
  1428. $ref: '#/definitions/v1.JtContentListResponse'
  1429. "500":
  1430. description: Internal Server Error
  1431. schema:
  1432. $ref: '#/definitions/base.HTTPError'
  1433. summary: 两学一做列表
  1434. tags:
  1435. - 两学一做
  1436. post:
  1437. consumes:
  1438. - application/json
  1439. description: 添加两学一做
  1440. parameters:
  1441. - description: ' '
  1442. in: header
  1443. name: token
  1444. required: true
  1445. type: string
  1446. - description: ' '
  1447. in: body
  1448. name: body
  1449. required: true
  1450. schema:
  1451. $ref: '#/definitions/v1.JtContentAddBody'
  1452. produces:
  1453. - application/json
  1454. responses:
  1455. "200":
  1456. description: OK
  1457. schema:
  1458. $ref: '#/definitions/v1.JtContentAddResponse'
  1459. "500":
  1460. description: Internal Server Error
  1461. schema:
  1462. $ref: '#/definitions/base.HTTPError'
  1463. summary: 添加两学一做
  1464. tags:
  1465. - 两学一做
  1466. put:
  1467. consumes:
  1468. - application/json
  1469. description: 修改两学一做
  1470. parameters:
  1471. - description: ' '
  1472. in: header
  1473. name: token
  1474. required: true
  1475. type: string
  1476. - description: ' '
  1477. in: body
  1478. name: body
  1479. required: true
  1480. schema:
  1481. $ref: '#/definitions/v1.JtContentUpdateBody'
  1482. produces:
  1483. - application/json
  1484. responses:
  1485. "200":
  1486. description: OK
  1487. schema:
  1488. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1489. "500":
  1490. description: Internal Server Error
  1491. schema:
  1492. $ref: '#/definitions/base.HTTPError'
  1493. summary: 修改两学一做
  1494. tags:
  1495. - 两学一做
  1496. /api/v1/jt/lx/publish:
  1497. put:
  1498. consumes:
  1499. - application/json
  1500. description: 发布或下架两学一做
  1501. parameters:
  1502. - description: ' '
  1503. in: header
  1504. name: token
  1505. required: true
  1506. type: string
  1507. - description: ' '
  1508. in: body
  1509. name: body
  1510. required: true
  1511. schema:
  1512. $ref: '#/definitions/v1.JtContentPublishBody'
  1513. produces:
  1514. - application/json
  1515. responses:
  1516. "200":
  1517. description: OK
  1518. schema:
  1519. $ref: '#/definitions/v1.JtContentPublishResponse'
  1520. "500":
  1521. description: Internal Server Error
  1522. schema:
  1523. $ref: '#/definitions/base.HTTPError'
  1524. summary: 发布或下架两学一做
  1525. tags:
  1526. - 两学一做
  1527. /api/v1/jt/news:
  1528. delete:
  1529. consumes:
  1530. - application/json
  1531. description: 删除兴嘉要闻
  1532. parameters:
  1533. - description: ' '
  1534. in: header
  1535. name: token
  1536. required: true
  1537. type: string
  1538. - description: ' 记录id'
  1539. in: query
  1540. name: id
  1541. required: true
  1542. type: integer
  1543. produces:
  1544. - application/json
  1545. responses:
  1546. "200":
  1547. description: OK
  1548. schema:
  1549. $ref: '#/definitions/v1.JtContentDelResponse'
  1550. "500":
  1551. description: Internal Server Error
  1552. schema:
  1553. $ref: '#/definitions/base.HTTPError'
  1554. summary: 删除兴嘉要闻
  1555. tags:
  1556. - 兴嘉要闻
  1557. get:
  1558. consumes:
  1559. - application/json
  1560. description: 兴嘉要闻列表
  1561. parameters:
  1562. - description: ' '
  1563. in: header
  1564. name: token
  1565. required: true
  1566. type: string
  1567. - description: ' '
  1568. in: query
  1569. name: page
  1570. type: integer
  1571. - description: ' '
  1572. in: query
  1573. name: page_size
  1574. type: integer
  1575. produces:
  1576. - application/json
  1577. responses:
  1578. "200":
  1579. description: OK
  1580. schema:
  1581. $ref: '#/definitions/v1.JtContentListResponse'
  1582. "500":
  1583. description: Internal Server Error
  1584. schema:
  1585. $ref: '#/definitions/base.HTTPError'
  1586. summary: 兴嘉要闻列表
  1587. tags:
  1588. - 兴嘉要闻
  1589. post:
  1590. consumes:
  1591. - application/json
  1592. description: 添加兴嘉要闻
  1593. parameters:
  1594. - description: ' '
  1595. in: header
  1596. name: token
  1597. required: true
  1598. type: string
  1599. - description: ' '
  1600. in: body
  1601. name: body
  1602. required: true
  1603. schema:
  1604. $ref: '#/definitions/v1.JtContentAddBody'
  1605. produces:
  1606. - application/json
  1607. responses:
  1608. "200":
  1609. description: OK
  1610. schema:
  1611. $ref: '#/definitions/v1.JtContentAddResponse'
  1612. "500":
  1613. description: Internal Server Error
  1614. schema:
  1615. $ref: '#/definitions/base.HTTPError'
  1616. summary: 添加兴嘉要闻
  1617. tags:
  1618. - 兴嘉要闻
  1619. put:
  1620. consumes:
  1621. - application/json
  1622. description: 修改兴嘉要闻
  1623. parameters:
  1624. - description: ' '
  1625. in: header
  1626. name: token
  1627. required: true
  1628. type: string
  1629. - description: ' '
  1630. in: body
  1631. name: body
  1632. required: true
  1633. schema:
  1634. $ref: '#/definitions/v1.JtContentUpdateBody'
  1635. produces:
  1636. - application/json
  1637. responses:
  1638. "200":
  1639. description: OK
  1640. schema:
  1641. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1642. "500":
  1643. description: Internal Server Error
  1644. schema:
  1645. $ref: '#/definitions/base.HTTPError'
  1646. summary: 修改兴嘉要闻
  1647. tags:
  1648. - 兴嘉要闻
  1649. /api/v1/jt/news/publish:
  1650. put:
  1651. consumes:
  1652. - application/json
  1653. description: 发布或下架兴嘉要闻
  1654. parameters:
  1655. - description: ' '
  1656. in: header
  1657. name: token
  1658. required: true
  1659. type: string
  1660. - description: ' '
  1661. in: body
  1662. name: body
  1663. required: true
  1664. schema:
  1665. $ref: '#/definitions/v1.JtContentPublishBody'
  1666. produces:
  1667. - application/json
  1668. responses:
  1669. "200":
  1670. description: OK
  1671. schema:
  1672. $ref: '#/definitions/v1.JtContentPublishResponse'
  1673. "500":
  1674. description: Internal Server Error
  1675. schema:
  1676. $ref: '#/definitions/base.HTTPError'
  1677. summary: 发布或下架兴嘉要闻
  1678. tags:
  1679. - 兴嘉要闻
  1680. /api/v1/jt/page_pic:
  1681. delete:
  1682. consumes:
  1683. - application/json
  1684. description: 删除首页顶层图片
  1685. parameters:
  1686. - description: ' '
  1687. in: header
  1688. name: token
  1689. required: true
  1690. type: string
  1691. - description: ' 记录id'
  1692. in: query
  1693. name: id
  1694. required: true
  1695. type: integer
  1696. produces:
  1697. - application/json
  1698. responses:
  1699. "200":
  1700. description: OK
  1701. schema:
  1702. $ref: '#/definitions/v1.PagePicDelResponse'
  1703. "500":
  1704. description: Internal Server Error
  1705. schema:
  1706. $ref: '#/definitions/base.HTTPError'
  1707. summary: 删除首页顶层图片
  1708. tags:
  1709. - 首页顶层图片
  1710. get:
  1711. consumes:
  1712. - application/json
  1713. description: 首页顶层图片列表
  1714. parameters:
  1715. - description: ' '
  1716. in: header
  1717. name: token
  1718. required: true
  1719. type: string
  1720. - description: ' '
  1721. in: query
  1722. name: page
  1723. type: integer
  1724. - description: ' '
  1725. in: query
  1726. name: page_size
  1727. type: integer
  1728. produces:
  1729. - application/json
  1730. responses:
  1731. "200":
  1732. description: OK
  1733. schema:
  1734. $ref: '#/definitions/v1.PagePicListResponse'
  1735. "500":
  1736. description: Internal Server Error
  1737. schema:
  1738. $ref: '#/definitions/base.HTTPError'
  1739. summary: 首页顶层图片列表
  1740. tags:
  1741. - 首页顶层图片
  1742. post:
  1743. consumes:
  1744. - application/json
  1745. description: 添加首页顶层图片
  1746. parameters:
  1747. - description: ' '
  1748. in: header
  1749. name: token
  1750. required: true
  1751. type: string
  1752. - description: ' '
  1753. in: body
  1754. name: body
  1755. required: true
  1756. schema:
  1757. $ref: '#/definitions/v1.PagePicAddBody'
  1758. produces:
  1759. - application/json
  1760. responses:
  1761. "200":
  1762. description: OK
  1763. schema:
  1764. $ref: '#/definitions/v1.PagePicAddResponse'
  1765. "500":
  1766. description: Internal Server Error
  1767. schema:
  1768. $ref: '#/definitions/base.HTTPError'
  1769. summary: 添加首页顶层图片
  1770. tags:
  1771. - 首页顶层图片
  1772. put:
  1773. consumes:
  1774. - application/json
  1775. description: 修改首页顶层图片
  1776. parameters:
  1777. - description: ' '
  1778. in: header
  1779. name: token
  1780. required: true
  1781. type: string
  1782. - description: ' '
  1783. in: body
  1784. name: body
  1785. required: true
  1786. schema:
  1787. $ref: '#/definitions/v1.PagePicUpdateBody'
  1788. produces:
  1789. - application/json
  1790. responses:
  1791. "200":
  1792. description: OK
  1793. schema:
  1794. $ref: '#/definitions/v1.PagePicUpdateResponse'
  1795. "500":
  1796. description: Internal Server Error
  1797. schema:
  1798. $ref: '#/definitions/base.HTTPError'
  1799. summary: 修改首页顶层图片
  1800. tags:
  1801. - 首页顶层图片
  1802. /api/v1/jt/program:
  1803. delete:
  1804. consumes:
  1805. - application/json
  1806. description: 删除项目
  1807. parameters:
  1808. - description: ' '
  1809. in: header
  1810. name: token
  1811. required: true
  1812. type: string
  1813. - description: ' 记录id'
  1814. in: query
  1815. name: id
  1816. required: true
  1817. type: integer
  1818. produces:
  1819. - application/json
  1820. responses:
  1821. "200":
  1822. description: OK
  1823. schema:
  1824. $ref: '#/definitions/v1.JtContentDelResponse'
  1825. "500":
  1826. description: Internal Server Error
  1827. schema:
  1828. $ref: '#/definitions/base.HTTPError'
  1829. summary: 删除项目
  1830. tags:
  1831. - 项目展示
  1832. get:
  1833. consumes:
  1834. - application/json
  1835. description: 项目展示列表
  1836. parameters:
  1837. - description: ' '
  1838. in: header
  1839. name: token
  1840. required: true
  1841. type: string
  1842. - description: ' '
  1843. in: query
  1844. name: page
  1845. type: integer
  1846. - description: ' '
  1847. in: query
  1848. name: page_size
  1849. type: integer
  1850. produces:
  1851. - application/json
  1852. responses:
  1853. "200":
  1854. description: OK
  1855. schema:
  1856. $ref: '#/definitions/v1.JtContentListResponse'
  1857. "500":
  1858. description: Internal Server Error
  1859. schema:
  1860. $ref: '#/definitions/base.HTTPError'
  1861. summary: 项目展示列表
  1862. tags:
  1863. - 项目展示
  1864. post:
  1865. consumes:
  1866. - application/json
  1867. description: 添加项目展示
  1868. parameters:
  1869. - description: ' '
  1870. in: header
  1871. name: token
  1872. required: true
  1873. type: string
  1874. - description: ' '
  1875. in: body
  1876. name: body
  1877. required: true
  1878. schema:
  1879. $ref: '#/definitions/v1.JtContentAddBody'
  1880. produces:
  1881. - application/json
  1882. responses:
  1883. "200":
  1884. description: OK
  1885. schema:
  1886. $ref: '#/definitions/v1.JtContentAddResponse'
  1887. "500":
  1888. description: Internal Server Error
  1889. schema:
  1890. $ref: '#/definitions/base.HTTPError'
  1891. summary: 添加项目展示
  1892. tags:
  1893. - 项目展示
  1894. put:
  1895. consumes:
  1896. - application/json
  1897. description: 修改项目展示
  1898. parameters:
  1899. - description: ' '
  1900. in: header
  1901. name: token
  1902. required: true
  1903. type: string
  1904. - description: ' '
  1905. in: body
  1906. name: body
  1907. required: true
  1908. schema:
  1909. $ref: '#/definitions/v1.JtContentUpdateBody'
  1910. produces:
  1911. - application/json
  1912. responses:
  1913. "200":
  1914. description: OK
  1915. schema:
  1916. $ref: '#/definitions/v1.JtContentUpdateResponse'
  1917. "500":
  1918. description: Internal Server Error
  1919. schema:
  1920. $ref: '#/definitions/base.HTTPError'
  1921. summary: 修改项目展示
  1922. tags:
  1923. - 项目展示
  1924. /api/v1/jt/program/publish:
  1925. put:
  1926. consumes:
  1927. - application/json
  1928. description: 发布或下架项目展示
  1929. parameters:
  1930. - description: ' '
  1931. in: header
  1932. name: token
  1933. required: true
  1934. type: string
  1935. - description: ' '
  1936. in: body
  1937. name: body
  1938. required: true
  1939. schema:
  1940. $ref: '#/definitions/v1.JtContentPublishBody'
  1941. produces:
  1942. - application/json
  1943. responses:
  1944. "200":
  1945. description: OK
  1946. schema:
  1947. $ref: '#/definitions/v1.JtContentPublishResponse'
  1948. "500":
  1949. description: Internal Server Error
  1950. schema:
  1951. $ref: '#/definitions/base.HTTPError'
  1952. summary: 发布或下架项目展示
  1953. tags:
  1954. - 项目展示
  1955. /api/v1/jt/vision:
  1956. delete:
  1957. consumes:
  1958. - application/json
  1959. description: 删除发展愿景
  1960. parameters:
  1961. - description: ' '
  1962. in: header
  1963. name: token
  1964. required: true
  1965. type: string
  1966. - description: ' 记录id'
  1967. in: query
  1968. name: id
  1969. required: true
  1970. type: integer
  1971. produces:
  1972. - application/json
  1973. responses:
  1974. "200":
  1975. description: OK
  1976. schema:
  1977. $ref: '#/definitions/v1.JtContentDelResponse'
  1978. "500":
  1979. description: Internal Server Error
  1980. schema:
  1981. $ref: '#/definitions/base.HTTPError'
  1982. summary: 删除发展愿景
  1983. tags:
  1984. - 发展愿景
  1985. get:
  1986. consumes:
  1987. - application/json
  1988. description: 发展愿景信息
  1989. parameters:
  1990. - description: ' '
  1991. in: header
  1992. name: token
  1993. required: true
  1994. type: string
  1995. produces:
  1996. - application/json
  1997. responses:
  1998. "200":
  1999. description: OK
  2000. schema:
  2001. $ref: '#/definitions/v1.JtContentInfoResponse'
  2002. "500":
  2003. description: Internal Server Error
  2004. schema:
  2005. $ref: '#/definitions/base.HTTPError'
  2006. summary: 发展愿景信息
  2007. tags:
  2008. - 发展愿景
  2009. post:
  2010. consumes:
  2011. - application/json
  2012. description: 添加发展愿景
  2013. parameters:
  2014. - description: ' '
  2015. in: header
  2016. name: token
  2017. required: true
  2018. type: string
  2019. - description: ' '
  2020. in: body
  2021. name: body
  2022. required: true
  2023. schema:
  2024. $ref: '#/definitions/v1.JtContentAddBody'
  2025. produces:
  2026. - application/json
  2027. responses:
  2028. "200":
  2029. description: OK
  2030. schema:
  2031. $ref: '#/definitions/v1.JtContentAddResponse'
  2032. "500":
  2033. description: Internal Server Error
  2034. schema:
  2035. $ref: '#/definitions/base.HTTPError'
  2036. summary: 添加发展愿景
  2037. tags:
  2038. - 发展愿景
  2039. put:
  2040. consumes:
  2041. - application/json
  2042. description: 修改发展愿景
  2043. parameters:
  2044. - description: ' '
  2045. in: header
  2046. name: token
  2047. required: true
  2048. type: string
  2049. - description: ' '
  2050. in: body
  2051. name: body
  2052. required: true
  2053. schema:
  2054. $ref: '#/definitions/v1.JtContentUpdateBody'
  2055. produces:
  2056. - application/json
  2057. responses:
  2058. "200":
  2059. description: OK
  2060. schema:
  2061. $ref: '#/definitions/v1.JtContentUpdateResponse'
  2062. "500":
  2063. description: Internal Server Error
  2064. schema:
  2065. $ref: '#/definitions/base.HTTPError'
  2066. summary: 修改发展愿景
  2067. tags:
  2068. - 发展愿景
  2069. /api/v1/jt/vision/publish:
  2070. put:
  2071. consumes:
  2072. - application/json
  2073. description: 发布或下架发展愿景
  2074. parameters:
  2075. - description: ' '
  2076. in: header
  2077. name: token
  2078. required: true
  2079. type: string
  2080. - description: ' '
  2081. in: body
  2082. name: body
  2083. required: true
  2084. schema:
  2085. $ref: '#/definitions/v1.JtContentPublishBody'
  2086. produces:
  2087. - application/json
  2088. responses:
  2089. "200":
  2090. description: OK
  2091. schema:
  2092. $ref: '#/definitions/v1.JtContentPublishResponse'
  2093. "500":
  2094. description: Internal Server Error
  2095. schema:
  2096. $ref: '#/definitions/base.HTTPError'
  2097. summary: 发布或下架发展愿景
  2098. tags:
  2099. - 发展愿景
  2100. /api/v1/management_user:
  2101. delete:
  2102. consumes:
  2103. - application/json
  2104. description: 删除账号
  2105. parameters:
  2106. - description: ' '
  2107. in: header
  2108. name: token
  2109. required: true
  2110. type: string
  2111. - description: ' 记录id'
  2112. in: query
  2113. name: id
  2114. required: true
  2115. type: integer
  2116. produces:
  2117. - application/json
  2118. responses:
  2119. "200":
  2120. description: OK
  2121. schema:
  2122. $ref: '#/definitions/v1.UserDelResponse'
  2123. "500":
  2124. description: Internal Server Error
  2125. schema:
  2126. $ref: '#/definitions/base.HTTPError'
  2127. summary: 删除账号
  2128. tags:
  2129. - 账号
  2130. get:
  2131. consumes:
  2132. - application/json
  2133. description: 账号列表
  2134. parameters:
  2135. - description: ' '
  2136. in: header
  2137. name: token
  2138. required: true
  2139. type: string
  2140. - description: ' '
  2141. in: query
  2142. name: page
  2143. type: integer
  2144. - description: ' '
  2145. in: query
  2146. name: page_size
  2147. type: integer
  2148. produces:
  2149. - application/json
  2150. responses:
  2151. "200":
  2152. description: OK
  2153. schema:
  2154. $ref: '#/definitions/v1.UserListResponse'
  2155. "500":
  2156. description: Internal Server Error
  2157. schema:
  2158. $ref: '#/definitions/base.HTTPError'
  2159. summary: 账号列表
  2160. tags:
  2161. - 账号
  2162. post:
  2163. consumes:
  2164. - application/json
  2165. description: 添加账号
  2166. parameters:
  2167. - description: ' '
  2168. in: header
  2169. name: token
  2170. required: true
  2171. type: string
  2172. - description: ' '
  2173. in: body
  2174. name: body
  2175. required: true
  2176. schema:
  2177. $ref: '#/definitions/v1.UserAddBody'
  2178. produces:
  2179. - application/json
  2180. responses:
  2181. "200":
  2182. description: OK
  2183. schema:
  2184. $ref: '#/definitions/v1.UserAddResponse'
  2185. "500":
  2186. description: Internal Server Error
  2187. schema:
  2188. $ref: '#/definitions/base.HTTPError'
  2189. summary: 添加账号
  2190. tags:
  2191. - 账号
  2192. put:
  2193. consumes:
  2194. - application/json
  2195. description: 修改账号
  2196. parameters:
  2197. - description: ' '
  2198. in: header
  2199. name: token
  2200. required: true
  2201. type: string
  2202. - description: ' '
  2203. in: body
  2204. name: body
  2205. required: true
  2206. schema:
  2207. $ref: '#/definitions/v1.UserUpdateBody'
  2208. produces:
  2209. - application/json
  2210. responses:
  2211. "200":
  2212. description: OK
  2213. schema:
  2214. $ref: '#/definitions/v1.UserUpdateResponse'
  2215. "500":
  2216. description: Internal Server Error
  2217. schema:
  2218. $ref: '#/definitions/base.HTTPError'
  2219. summary: 修改账号
  2220. tags:
  2221. - 账号
  2222. /api/v1/management_user/password:
  2223. put:
  2224. consumes:
  2225. - application/json
  2226. description: 重置密码
  2227. parameters:
  2228. - description: ' '
  2229. in: header
  2230. name: token
  2231. required: true
  2232. type: string
  2233. - description: ' '
  2234. in: body
  2235. name: body
  2236. required: true
  2237. schema:
  2238. $ref: '#/definitions/v1.UserResetPasswordBody'
  2239. produces:
  2240. - application/json
  2241. responses:
  2242. "200":
  2243. description: OK
  2244. schema:
  2245. $ref: '#/definitions/v1.UserResetPasswordResponse'
  2246. "500":
  2247. description: Internal Server Error
  2248. schema:
  2249. $ref: '#/definitions/base.HTTPError'
  2250. summary: 重置密码
  2251. tags:
  2252. - 账号
  2253. /api/v1/operation_log:
  2254. delete:
  2255. consumes:
  2256. - application/json
  2257. description: 批量删除操作日志
  2258. parameters:
  2259. - description: ' '
  2260. in: header
  2261. name: token
  2262. required: true
  2263. type: string
  2264. - description: ' 日志id,以英文分号分割'
  2265. in: query
  2266. name: ids
  2267. required: true
  2268. type: string
  2269. produces:
  2270. - application/json
  2271. responses:
  2272. "200":
  2273. description: OK
  2274. schema:
  2275. $ref: '#/definitions/v1.OperationLogDelResponse'
  2276. "500":
  2277. description: Internal Server Error
  2278. schema:
  2279. $ref: '#/definitions/base.HTTPError'
  2280. summary: 批量删除操作日志
  2281. tags:
  2282. - 操作日志
  2283. get:
  2284. consumes:
  2285. - application/json
  2286. description: 操作日志列表
  2287. parameters:
  2288. - description: ' '
  2289. in: header
  2290. name: token
  2291. required: true
  2292. type: string
  2293. - description: ' '
  2294. in: query
  2295. name: page
  2296. type: integer
  2297. - description: ' '
  2298. in: query
  2299. name: page_size
  2300. type: integer
  2301. produces:
  2302. - application/json
  2303. responses:
  2304. "200":
  2305. description: OK
  2306. schema:
  2307. $ref: '#/definitions/v1.OperationLogListResponse'
  2308. "500":
  2309. description: Internal Server Error
  2310. schema:
  2311. $ref: '#/definitions/base.HTTPError'
  2312. summary: 操作日志列表
  2313. tags:
  2314. - 操作日志
  2315. /api/v1/token_refresh:
  2316. put:
  2317. consumes:
  2318. - application/json
  2319. description: 刷新token
  2320. parameters:
  2321. - description: token
  2322. in: header
  2323. name: token
  2324. required: true
  2325. type: string
  2326. produces:
  2327. - application/json
  2328. responses:
  2329. "200":
  2330. description: OK
  2331. schema:
  2332. $ref: '#/definitions/v1.TokenResponse'
  2333. "500":
  2334. description: Internal Server Error
  2335. schema:
  2336. $ref: '#/definitions/base.HTTPError'
  2337. summary: 刷新token
  2338. tags:
  2339. - 用户
  2340. /api/v1/user/login:
  2341. post:
  2342. consumes:
  2343. - application/json
  2344. description: 登录
  2345. parameters:
  2346. - description: 登录信息
  2347. in: body
  2348. name: body
  2349. required: true
  2350. schema:
  2351. $ref: '#/definitions/v1.LoginBody'
  2352. produces:
  2353. - application/json
  2354. responses:
  2355. "200":
  2356. description: OK
  2357. schema:
  2358. $ref: '#/definitions/v1.LoginResponse'
  2359. "500":
  2360. description: Internal Server Error
  2361. schema:
  2362. $ref: '#/definitions/base.HTTPError'
  2363. summary: 登录
  2364. tags:
  2365. - 用户
  2366. swagger: "2.0"