swagger.json 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "This is a gateway server. On the page, you can go to do testing for every API.",
  5. "title": "Project xingjia-management-gateway's APIs",
  6. "contact": {},
  7. "license": {},
  8. "version": "1.1"
  9. },
  10. "paths": {
  11. "/api/v1/file": {
  12. "get": {
  13. "description": "获取文件",
  14. "consumes": [
  15. "application/json"
  16. ],
  17. "produces": [
  18. "application/json"
  19. ],
  20. "tags": [
  21. "download"
  22. ],
  23. "summary": "获取文件",
  24. "parameters": [
  25. {
  26. "type": "string",
  27. "description": "jwt token",
  28. "name": "token",
  29. "in": "header",
  30. "required": true
  31. },
  32. {
  33. "type": "string",
  34. "description": " ",
  35. "name": "obj",
  36. "in": "query",
  37. "required": true
  38. }
  39. ],
  40. "responses": {
  41. "200": {
  42. "description": "OK",
  43. "schema": {
  44. "$ref": "#/definitions/v1.UploadResponse"
  45. }
  46. },
  47. "500": {
  48. "description": "Internal Server Error",
  49. "schema": {
  50. "$ref": "#/definitions/base.HTTPError"
  51. }
  52. }
  53. }
  54. },
  55. "post": {
  56. "description": "上传文件",
  57. "consumes": [
  58. "application/json"
  59. ],
  60. "produces": [
  61. "application/json"
  62. ],
  63. "tags": [
  64. "upload"
  65. ],
  66. "summary": "上传文件",
  67. "parameters": [
  68. {
  69. "type": "string",
  70. "description": "jwt token",
  71. "name": "token",
  72. "in": "header",
  73. "required": true
  74. },
  75. {
  76. "type": "file",
  77. "description": "file",
  78. "name": "file",
  79. "in": "formData"
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "OK",
  85. "schema": {
  86. "$ref": "#/definitions/v1.UploadResponse"
  87. }
  88. },
  89. "500": {
  90. "description": "Internal Server Error",
  91. "schema": {
  92. "$ref": "#/definitions/base.HTTPError"
  93. }
  94. }
  95. }
  96. }
  97. },
  98. "/api/v1/jt/announcement": {
  99. "get": {
  100. "description": "公示公告列表",
  101. "consumes": [
  102. "application/json"
  103. ],
  104. "produces": [
  105. "application/json"
  106. ],
  107. "tags": [
  108. "公示公告"
  109. ],
  110. "summary": "公示公告列表",
  111. "parameters": [
  112. {
  113. "type": "string",
  114. "description": " ",
  115. "name": "token",
  116. "in": "header",
  117. "required": true
  118. },
  119. {
  120. "type": "integer",
  121. "description": " ",
  122. "name": "page",
  123. "in": "query"
  124. },
  125. {
  126. "type": "integer",
  127. "description": " ",
  128. "name": "page_size",
  129. "in": "query"
  130. }
  131. ],
  132. "responses": {
  133. "200": {
  134. "description": "OK",
  135. "schema": {
  136. "$ref": "#/definitions/v1.JtContentListResponse"
  137. }
  138. },
  139. "500": {
  140. "description": "Internal Server Error",
  141. "schema": {
  142. "$ref": "#/definitions/base.HTTPError"
  143. }
  144. }
  145. }
  146. },
  147. "put": {
  148. "description": "修改公示公告",
  149. "consumes": [
  150. "application/json"
  151. ],
  152. "produces": [
  153. "application/json"
  154. ],
  155. "tags": [
  156. "公示公告"
  157. ],
  158. "summary": "修改公示公告",
  159. "parameters": [
  160. {
  161. "type": "string",
  162. "description": " ",
  163. "name": "token",
  164. "in": "header",
  165. "required": true
  166. },
  167. {
  168. "description": " ",
  169. "name": "body",
  170. "in": "body",
  171. "required": true,
  172. "schema": {
  173. "$ref": "#/definitions/v1.JtContentUpdateBody"
  174. }
  175. }
  176. ],
  177. "responses": {
  178. "200": {
  179. "description": "OK",
  180. "schema": {
  181. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  182. }
  183. },
  184. "500": {
  185. "description": "Internal Server Error",
  186. "schema": {
  187. "$ref": "#/definitions/base.HTTPError"
  188. }
  189. }
  190. }
  191. },
  192. "post": {
  193. "description": "添加公示公告",
  194. "consumes": [
  195. "application/json"
  196. ],
  197. "produces": [
  198. "application/json"
  199. ],
  200. "tags": [
  201. "公示公告"
  202. ],
  203. "summary": "添加公示公告",
  204. "parameters": [
  205. {
  206. "type": "string",
  207. "description": " ",
  208. "name": "token",
  209. "in": "header",
  210. "required": true
  211. },
  212. {
  213. "description": " ",
  214. "name": "body",
  215. "in": "body",
  216. "required": true,
  217. "schema": {
  218. "$ref": "#/definitions/v1.JtContentAddBody"
  219. }
  220. }
  221. ],
  222. "responses": {
  223. "200": {
  224. "description": "OK",
  225. "schema": {
  226. "$ref": "#/definitions/v1.JtContentAddResponse"
  227. }
  228. },
  229. "500": {
  230. "description": "Internal Server Error",
  231. "schema": {
  232. "$ref": "#/definitions/base.HTTPError"
  233. }
  234. }
  235. }
  236. },
  237. "delete": {
  238. "description": "删除公示公告",
  239. "consumes": [
  240. "application/json"
  241. ],
  242. "produces": [
  243. "application/json"
  244. ],
  245. "tags": [
  246. "公示公告"
  247. ],
  248. "summary": "删除公示公告",
  249. "parameters": [
  250. {
  251. "type": "string",
  252. "description": " ",
  253. "name": "token",
  254. "in": "header",
  255. "required": true
  256. },
  257. {
  258. "type": "integer",
  259. "description": " 记录id",
  260. "name": "id",
  261. "in": "query",
  262. "required": true
  263. }
  264. ],
  265. "responses": {
  266. "200": {
  267. "description": "OK",
  268. "schema": {
  269. "$ref": "#/definitions/v1.JtContentDelResponse"
  270. }
  271. },
  272. "500": {
  273. "description": "Internal Server Error",
  274. "schema": {
  275. "$ref": "#/definitions/base.HTTPError"
  276. }
  277. }
  278. }
  279. }
  280. },
  281. "/api/v1/jt/announcement/publish": {
  282. "put": {
  283. "description": "发布或下架公示公告",
  284. "consumes": [
  285. "application/json"
  286. ],
  287. "produces": [
  288. "application/json"
  289. ],
  290. "tags": [
  291. "公示公告"
  292. ],
  293. "summary": "发布或下架公示公告",
  294. "parameters": [
  295. {
  296. "type": "string",
  297. "description": " ",
  298. "name": "token",
  299. "in": "header",
  300. "required": true
  301. },
  302. {
  303. "description": " ",
  304. "name": "body",
  305. "in": "body",
  306. "required": true,
  307. "schema": {
  308. "$ref": "#/definitions/v1.JtContentPublishBody"
  309. }
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/v1.JtContentPublishResponse"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/base.HTTPError"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/api/v1/jt/contact": {
  329. "get": {
  330. "description": "联系我们信息",
  331. "consumes": [
  332. "application/json"
  333. ],
  334. "produces": [
  335. "application/json"
  336. ],
  337. "tags": [
  338. "联系我们"
  339. ],
  340. "summary": "联系我们信息",
  341. "parameters": [
  342. {
  343. "type": "string",
  344. "description": " ",
  345. "name": "token",
  346. "in": "header",
  347. "required": true
  348. }
  349. ],
  350. "responses": {
  351. "200": {
  352. "description": "OK",
  353. "schema": {
  354. "$ref": "#/definitions/v1.ContactInfoResponse"
  355. }
  356. },
  357. "500": {
  358. "description": "Internal Server Error",
  359. "schema": {
  360. "$ref": "#/definitions/base.HTTPError"
  361. }
  362. }
  363. }
  364. },
  365. "put": {
  366. "description": "修改联系我们",
  367. "consumes": [
  368. "application/json"
  369. ],
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "联系我们"
  375. ],
  376. "summary": "修改联系我们",
  377. "parameters": [
  378. {
  379. "type": "string",
  380. "description": " ",
  381. "name": "token",
  382. "in": "header",
  383. "required": true
  384. },
  385. {
  386. "description": " ",
  387. "name": "body",
  388. "in": "body",
  389. "required": true,
  390. "schema": {
  391. "$ref": "#/definitions/v1.ContactUpdateBody"
  392. }
  393. }
  394. ],
  395. "responses": {
  396. "200": {
  397. "description": "OK",
  398. "schema": {
  399. "$ref": "#/definitions/v1.ContactUpdateResponse"
  400. }
  401. },
  402. "500": {
  403. "description": "Internal Server Error",
  404. "schema": {
  405. "$ref": "#/definitions/base.HTTPError"
  406. }
  407. }
  408. }
  409. },
  410. "post": {
  411. "description": "添加联系我们",
  412. "consumes": [
  413. "application/json"
  414. ],
  415. "produces": [
  416. "application/json"
  417. ],
  418. "tags": [
  419. "联系我们"
  420. ],
  421. "summary": "添加联系我们",
  422. "parameters": [
  423. {
  424. "type": "string",
  425. "description": " ",
  426. "name": "token",
  427. "in": "header",
  428. "required": true
  429. },
  430. {
  431. "description": " ",
  432. "name": "body",
  433. "in": "body",
  434. "required": true,
  435. "schema": {
  436. "$ref": "#/definitions/v1.ContactAddBody"
  437. }
  438. }
  439. ],
  440. "responses": {
  441. "200": {
  442. "description": "OK",
  443. "schema": {
  444. "$ref": "#/definitions/v1.ContactAddResponse"
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/base.HTTPError"
  451. }
  452. }
  453. }
  454. },
  455. "delete": {
  456. "description": "删除联系我们",
  457. "consumes": [
  458. "application/json"
  459. ],
  460. "produces": [
  461. "application/json"
  462. ],
  463. "tags": [
  464. "联系我们"
  465. ],
  466. "summary": "删除联系我们",
  467. "parameters": [
  468. {
  469. "type": "string",
  470. "description": " ",
  471. "name": "token",
  472. "in": "header",
  473. "required": true
  474. },
  475. {
  476. "type": "integer",
  477. "description": " 记录id",
  478. "name": "id",
  479. "in": "query",
  480. "required": true
  481. }
  482. ],
  483. "responses": {
  484. "200": {
  485. "description": "OK",
  486. "schema": {
  487. "$ref": "#/definitions/v1.ContactDelResponse"
  488. }
  489. },
  490. "500": {
  491. "description": "Internal Server Error",
  492. "schema": {
  493. "$ref": "#/definitions/base.HTTPError"
  494. }
  495. }
  496. }
  497. }
  498. },
  499. "/api/v1/jt/desc": {
  500. "get": {
  501. "description": "集团简介信息",
  502. "consumes": [
  503. "application/json"
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "集团简介"
  510. ],
  511. "summary": "集团简介信息",
  512. "parameters": [
  513. {
  514. "type": "string",
  515. "description": " ",
  516. "name": "token",
  517. "in": "header",
  518. "required": true
  519. }
  520. ],
  521. "responses": {
  522. "200": {
  523. "description": "OK",
  524. "schema": {
  525. "$ref": "#/definitions/v1.JtContentInfoResponse"
  526. }
  527. },
  528. "500": {
  529. "description": "Internal Server Error",
  530. "schema": {
  531. "$ref": "#/definitions/base.HTTPError"
  532. }
  533. }
  534. }
  535. },
  536. "put": {
  537. "description": "修改集团简介",
  538. "consumes": [
  539. "application/json"
  540. ],
  541. "produces": [
  542. "application/json"
  543. ],
  544. "tags": [
  545. "集团简介"
  546. ],
  547. "summary": "修改集团简介",
  548. "parameters": [
  549. {
  550. "type": "string",
  551. "description": " ",
  552. "name": "token",
  553. "in": "header",
  554. "required": true
  555. },
  556. {
  557. "description": " ",
  558. "name": "body",
  559. "in": "body",
  560. "required": true,
  561. "schema": {
  562. "$ref": "#/definitions/v1.JtContentUpdateBody"
  563. }
  564. }
  565. ],
  566. "responses": {
  567. "200": {
  568. "description": "OK",
  569. "schema": {
  570. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  571. }
  572. },
  573. "500": {
  574. "description": "Internal Server Error",
  575. "schema": {
  576. "$ref": "#/definitions/base.HTTPError"
  577. }
  578. }
  579. }
  580. },
  581. "post": {
  582. "description": "添加集团简介",
  583. "consumes": [
  584. "application/json"
  585. ],
  586. "produces": [
  587. "application/json"
  588. ],
  589. "tags": [
  590. "集团简介"
  591. ],
  592. "summary": "添加集团简介",
  593. "parameters": [
  594. {
  595. "type": "string",
  596. "description": " ",
  597. "name": "token",
  598. "in": "header",
  599. "required": true
  600. },
  601. {
  602. "description": " ",
  603. "name": "body",
  604. "in": "body",
  605. "required": true,
  606. "schema": {
  607. "$ref": "#/definitions/v1.JtContentAddBody"
  608. }
  609. }
  610. ],
  611. "responses": {
  612. "200": {
  613. "description": "OK",
  614. "schema": {
  615. "$ref": "#/definitions/v1.JtContentAddResponse"
  616. }
  617. },
  618. "500": {
  619. "description": "Internal Server Error",
  620. "schema": {
  621. "$ref": "#/definitions/base.HTTPError"
  622. }
  623. }
  624. }
  625. },
  626. "delete": {
  627. "description": "删除集团简介",
  628. "consumes": [
  629. "application/json"
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "集团简介"
  636. ],
  637. "summary": "删除集团简介",
  638. "parameters": [
  639. {
  640. "type": "string",
  641. "description": " ",
  642. "name": "token",
  643. "in": "header",
  644. "required": true
  645. },
  646. {
  647. "type": "integer",
  648. "description": " 记录id",
  649. "name": "id",
  650. "in": "query",
  651. "required": true
  652. }
  653. ],
  654. "responses": {
  655. "200": {
  656. "description": "OK",
  657. "schema": {
  658. "$ref": "#/definitions/v1.JtContentDelResponse"
  659. }
  660. },
  661. "500": {
  662. "description": "Internal Server Error",
  663. "schema": {
  664. "$ref": "#/definitions/base.HTTPError"
  665. }
  666. }
  667. }
  668. }
  669. },
  670. "/api/v1/jt/desc/publish": {
  671. "put": {
  672. "description": "发布或下架集团简介",
  673. "consumes": [
  674. "application/json"
  675. ],
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "集团简介"
  681. ],
  682. "summary": "发布或下架集团简介",
  683. "parameters": [
  684. {
  685. "type": "string",
  686. "description": " ",
  687. "name": "token",
  688. "in": "header",
  689. "required": true
  690. },
  691. {
  692. "description": " ",
  693. "name": "body",
  694. "in": "body",
  695. "required": true,
  696. "schema": {
  697. "$ref": "#/definitions/v1.JtContentPublishBody"
  698. }
  699. }
  700. ],
  701. "responses": {
  702. "200": {
  703. "description": "OK",
  704. "schema": {
  705. "$ref": "#/definitions/v1.JtContentPublishResponse"
  706. }
  707. },
  708. "500": {
  709. "description": "Internal Server Error",
  710. "schema": {
  711. "$ref": "#/definitions/base.HTTPError"
  712. }
  713. }
  714. }
  715. }
  716. },
  717. "/api/v1/jt/df": {
  718. "get": {
  719. "description": "党风廉洁列表",
  720. "consumes": [
  721. "application/json"
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "党风廉洁"
  728. ],
  729. "summary": "党风廉洁列表",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": " ",
  734. "name": "token",
  735. "in": "header",
  736. "required": true
  737. },
  738. {
  739. "type": "integer",
  740. "description": " ",
  741. "name": "page",
  742. "in": "query"
  743. },
  744. {
  745. "type": "integer",
  746. "description": " ",
  747. "name": "page_size",
  748. "in": "query"
  749. }
  750. ],
  751. "responses": {
  752. "200": {
  753. "description": "OK",
  754. "schema": {
  755. "$ref": "#/definitions/v1.JtContentListResponse"
  756. }
  757. },
  758. "500": {
  759. "description": "Internal Server Error",
  760. "schema": {
  761. "$ref": "#/definitions/base.HTTPError"
  762. }
  763. }
  764. }
  765. },
  766. "put": {
  767. "description": "修改党风廉洁",
  768. "consumes": [
  769. "application/json"
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "党风廉洁"
  776. ],
  777. "summary": "修改党风廉洁",
  778. "parameters": [
  779. {
  780. "type": "string",
  781. "description": " ",
  782. "name": "token",
  783. "in": "header",
  784. "required": true
  785. },
  786. {
  787. "description": " ",
  788. "name": "body",
  789. "in": "body",
  790. "required": true,
  791. "schema": {
  792. "$ref": "#/definitions/v1.JtContentUpdateBody"
  793. }
  794. }
  795. ],
  796. "responses": {
  797. "200": {
  798. "description": "OK",
  799. "schema": {
  800. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  801. }
  802. },
  803. "500": {
  804. "description": "Internal Server Error",
  805. "schema": {
  806. "$ref": "#/definitions/base.HTTPError"
  807. }
  808. }
  809. }
  810. },
  811. "post": {
  812. "description": "添加党风廉洁",
  813. "consumes": [
  814. "application/json"
  815. ],
  816. "produces": [
  817. "application/json"
  818. ],
  819. "tags": [
  820. "党风廉洁"
  821. ],
  822. "summary": "添加党风廉洁",
  823. "parameters": [
  824. {
  825. "type": "string",
  826. "description": " ",
  827. "name": "token",
  828. "in": "header",
  829. "required": true
  830. },
  831. {
  832. "description": " ",
  833. "name": "body",
  834. "in": "body",
  835. "required": true,
  836. "schema": {
  837. "$ref": "#/definitions/v1.JtContentAddBody"
  838. }
  839. }
  840. ],
  841. "responses": {
  842. "200": {
  843. "description": "OK",
  844. "schema": {
  845. "$ref": "#/definitions/v1.JtContentAddResponse"
  846. }
  847. },
  848. "500": {
  849. "description": "Internal Server Error",
  850. "schema": {
  851. "$ref": "#/definitions/base.HTTPError"
  852. }
  853. }
  854. }
  855. },
  856. "delete": {
  857. "description": "删除党风廉洁",
  858. "consumes": [
  859. "application/json"
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "党风廉洁"
  866. ],
  867. "summary": "删除党风廉洁",
  868. "parameters": [
  869. {
  870. "type": "string",
  871. "description": " ",
  872. "name": "token",
  873. "in": "header",
  874. "required": true
  875. },
  876. {
  877. "type": "integer",
  878. "description": " 记录id",
  879. "name": "id",
  880. "in": "query",
  881. "required": true
  882. }
  883. ],
  884. "responses": {
  885. "200": {
  886. "description": "OK",
  887. "schema": {
  888. "$ref": "#/definitions/v1.JtContentDelResponse"
  889. }
  890. },
  891. "500": {
  892. "description": "Internal Server Error",
  893. "schema": {
  894. "$ref": "#/definitions/base.HTTPError"
  895. }
  896. }
  897. }
  898. }
  899. },
  900. "/api/v1/jt/df/publish": {
  901. "put": {
  902. "description": "发布或下架党风廉洁",
  903. "consumes": [
  904. "application/json"
  905. ],
  906. "produces": [
  907. "application/json"
  908. ],
  909. "tags": [
  910. "党风廉洁"
  911. ],
  912. "summary": "发布或下架党风廉洁",
  913. "parameters": [
  914. {
  915. "type": "string",
  916. "description": " ",
  917. "name": "token",
  918. "in": "header",
  919. "required": true
  920. },
  921. {
  922. "description": " ",
  923. "name": "body",
  924. "in": "body",
  925. "required": true,
  926. "schema": {
  927. "$ref": "#/definitions/v1.JtContentPublishBody"
  928. }
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "$ref": "#/definitions/v1.JtContentPublishResponse"
  936. }
  937. },
  938. "500": {
  939. "description": "Internal Server Error",
  940. "schema": {
  941. "$ref": "#/definitions/base.HTTPError"
  942. }
  943. }
  944. }
  945. }
  946. },
  947. "/api/v1/jt/hw": {
  948. "get": {
  949. "description": "会务动态列表",
  950. "consumes": [
  951. "application/json"
  952. ],
  953. "produces": [
  954. "application/json"
  955. ],
  956. "tags": [
  957. "会务动态"
  958. ],
  959. "summary": "会务动态列表",
  960. "parameters": [
  961. {
  962. "type": "string",
  963. "description": " ",
  964. "name": "token",
  965. "in": "header",
  966. "required": true
  967. },
  968. {
  969. "type": "integer",
  970. "description": " ",
  971. "name": "page",
  972. "in": "query"
  973. },
  974. {
  975. "type": "integer",
  976. "description": " ",
  977. "name": "page_size",
  978. "in": "query"
  979. }
  980. ],
  981. "responses": {
  982. "200": {
  983. "description": "OK",
  984. "schema": {
  985. "$ref": "#/definitions/v1.JtContentListResponse"
  986. }
  987. },
  988. "500": {
  989. "description": "Internal Server Error",
  990. "schema": {
  991. "$ref": "#/definitions/base.HTTPError"
  992. }
  993. }
  994. }
  995. },
  996. "put": {
  997. "description": "修改会务动态",
  998. "consumes": [
  999. "application/json"
  1000. ],
  1001. "produces": [
  1002. "application/json"
  1003. ],
  1004. "tags": [
  1005. "会务动态"
  1006. ],
  1007. "summary": "修改会务动态",
  1008. "parameters": [
  1009. {
  1010. "type": "string",
  1011. "description": " ",
  1012. "name": "token",
  1013. "in": "header",
  1014. "required": true
  1015. },
  1016. {
  1017. "description": " ",
  1018. "name": "body",
  1019. "in": "body",
  1020. "required": true,
  1021. "schema": {
  1022. "$ref": "#/definitions/v1.JtContentUpdateBody"
  1023. }
  1024. }
  1025. ],
  1026. "responses": {
  1027. "200": {
  1028. "description": "OK",
  1029. "schema": {
  1030. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  1031. }
  1032. },
  1033. "500": {
  1034. "description": "Internal Server Error",
  1035. "schema": {
  1036. "$ref": "#/definitions/base.HTTPError"
  1037. }
  1038. }
  1039. }
  1040. },
  1041. "post": {
  1042. "description": "添加会务动态",
  1043. "consumes": [
  1044. "application/json"
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "会务动态"
  1051. ],
  1052. "summary": "添加会务动态",
  1053. "parameters": [
  1054. {
  1055. "type": "string",
  1056. "description": " ",
  1057. "name": "token",
  1058. "in": "header",
  1059. "required": true
  1060. },
  1061. {
  1062. "description": " ",
  1063. "name": "body",
  1064. "in": "body",
  1065. "required": true,
  1066. "schema": {
  1067. "$ref": "#/definitions/v1.JtContentAddBody"
  1068. }
  1069. }
  1070. ],
  1071. "responses": {
  1072. "200": {
  1073. "description": "OK",
  1074. "schema": {
  1075. "$ref": "#/definitions/v1.JtContentAddResponse"
  1076. }
  1077. },
  1078. "500": {
  1079. "description": "Internal Server Error",
  1080. "schema": {
  1081. "$ref": "#/definitions/base.HTTPError"
  1082. }
  1083. }
  1084. }
  1085. },
  1086. "delete": {
  1087. "description": "删除会务动态",
  1088. "consumes": [
  1089. "application/json"
  1090. ],
  1091. "produces": [
  1092. "application/json"
  1093. ],
  1094. "tags": [
  1095. "会务动态"
  1096. ],
  1097. "summary": "删除会务动态",
  1098. "parameters": [
  1099. {
  1100. "type": "string",
  1101. "description": " ",
  1102. "name": "token",
  1103. "in": "header",
  1104. "required": true
  1105. },
  1106. {
  1107. "type": "integer",
  1108. "description": " 记录id",
  1109. "name": "id",
  1110. "in": "query",
  1111. "required": true
  1112. }
  1113. ],
  1114. "responses": {
  1115. "200": {
  1116. "description": "OK",
  1117. "schema": {
  1118. "$ref": "#/definitions/v1.JtContentDelResponse"
  1119. }
  1120. },
  1121. "500": {
  1122. "description": "Internal Server Error",
  1123. "schema": {
  1124. "$ref": "#/definitions/base.HTTPError"
  1125. }
  1126. }
  1127. }
  1128. }
  1129. },
  1130. "/api/v1/jt/hw/publish": {
  1131. "put": {
  1132. "description": "发布或下架会务动态",
  1133. "consumes": [
  1134. "application/json"
  1135. ],
  1136. "produces": [
  1137. "application/json"
  1138. ],
  1139. "tags": [
  1140. "会务动态"
  1141. ],
  1142. "summary": "发布或下架会务动态",
  1143. "parameters": [
  1144. {
  1145. "type": "string",
  1146. "description": " ",
  1147. "name": "token",
  1148. "in": "header",
  1149. "required": true
  1150. },
  1151. {
  1152. "description": " ",
  1153. "name": "body",
  1154. "in": "body",
  1155. "required": true,
  1156. "schema": {
  1157. "$ref": "#/definitions/v1.JtContentPublishBody"
  1158. }
  1159. }
  1160. ],
  1161. "responses": {
  1162. "200": {
  1163. "description": "OK",
  1164. "schema": {
  1165. "$ref": "#/definitions/v1.JtContentPublishResponse"
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/base.HTTPError"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/api/v1/jt/lx": {
  1178. "get": {
  1179. "description": "两学一做列表",
  1180. "consumes": [
  1181. "application/json"
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "两学一做"
  1188. ],
  1189. "summary": "两学一做列表",
  1190. "parameters": [
  1191. {
  1192. "type": "string",
  1193. "description": " ",
  1194. "name": "token",
  1195. "in": "header",
  1196. "required": true
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": " ",
  1201. "name": "page",
  1202. "in": "query"
  1203. },
  1204. {
  1205. "type": "integer",
  1206. "description": " ",
  1207. "name": "page_size",
  1208. "in": "query"
  1209. }
  1210. ],
  1211. "responses": {
  1212. "200": {
  1213. "description": "OK",
  1214. "schema": {
  1215. "$ref": "#/definitions/v1.JtContentListResponse"
  1216. }
  1217. },
  1218. "500": {
  1219. "description": "Internal Server Error",
  1220. "schema": {
  1221. "$ref": "#/definitions/base.HTTPError"
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "put": {
  1227. "description": "修改两学一做",
  1228. "consumes": [
  1229. "application/json"
  1230. ],
  1231. "produces": [
  1232. "application/json"
  1233. ],
  1234. "tags": [
  1235. "两学一做"
  1236. ],
  1237. "summary": "修改两学一做",
  1238. "parameters": [
  1239. {
  1240. "type": "string",
  1241. "description": " ",
  1242. "name": "token",
  1243. "in": "header",
  1244. "required": true
  1245. },
  1246. {
  1247. "description": " ",
  1248. "name": "body",
  1249. "in": "body",
  1250. "required": true,
  1251. "schema": {
  1252. "$ref": "#/definitions/v1.JtContentUpdateBody"
  1253. }
  1254. }
  1255. ],
  1256. "responses": {
  1257. "200": {
  1258. "description": "OK",
  1259. "schema": {
  1260. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  1261. }
  1262. },
  1263. "500": {
  1264. "description": "Internal Server Error",
  1265. "schema": {
  1266. "$ref": "#/definitions/base.HTTPError"
  1267. }
  1268. }
  1269. }
  1270. },
  1271. "post": {
  1272. "description": "添加两学一做",
  1273. "consumes": [
  1274. "application/json"
  1275. ],
  1276. "produces": [
  1277. "application/json"
  1278. ],
  1279. "tags": [
  1280. "两学一做"
  1281. ],
  1282. "summary": "添加两学一做",
  1283. "parameters": [
  1284. {
  1285. "type": "string",
  1286. "description": " ",
  1287. "name": "token",
  1288. "in": "header",
  1289. "required": true
  1290. },
  1291. {
  1292. "description": " ",
  1293. "name": "body",
  1294. "in": "body",
  1295. "required": true,
  1296. "schema": {
  1297. "$ref": "#/definitions/v1.JtContentAddBody"
  1298. }
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/v1.JtContentAddResponse"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/base.HTTPError"
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "delete": {
  1317. "description": "删除两学一做",
  1318. "consumes": [
  1319. "application/json"
  1320. ],
  1321. "produces": [
  1322. "application/json"
  1323. ],
  1324. "tags": [
  1325. "两学一做"
  1326. ],
  1327. "summary": "删除两学一做",
  1328. "parameters": [
  1329. {
  1330. "type": "string",
  1331. "description": " ",
  1332. "name": "token",
  1333. "in": "header",
  1334. "required": true
  1335. },
  1336. {
  1337. "type": "integer",
  1338. "description": " 记录id",
  1339. "name": "id",
  1340. "in": "query",
  1341. "required": true
  1342. }
  1343. ],
  1344. "responses": {
  1345. "200": {
  1346. "description": "OK",
  1347. "schema": {
  1348. "$ref": "#/definitions/v1.JtContentDelResponse"
  1349. }
  1350. },
  1351. "500": {
  1352. "description": "Internal Server Error",
  1353. "schema": {
  1354. "$ref": "#/definitions/base.HTTPError"
  1355. }
  1356. }
  1357. }
  1358. }
  1359. },
  1360. "/api/v1/jt/lx/publish": {
  1361. "put": {
  1362. "description": "发布或下架两学一做",
  1363. "consumes": [
  1364. "application/json"
  1365. ],
  1366. "produces": [
  1367. "application/json"
  1368. ],
  1369. "tags": [
  1370. "两学一做"
  1371. ],
  1372. "summary": "发布或下架两学一做",
  1373. "parameters": [
  1374. {
  1375. "type": "string",
  1376. "description": " ",
  1377. "name": "token",
  1378. "in": "header",
  1379. "required": true
  1380. },
  1381. {
  1382. "description": " ",
  1383. "name": "body",
  1384. "in": "body",
  1385. "required": true,
  1386. "schema": {
  1387. "$ref": "#/definitions/v1.JtContentPublishBody"
  1388. }
  1389. }
  1390. ],
  1391. "responses": {
  1392. "200": {
  1393. "description": "OK",
  1394. "schema": {
  1395. "$ref": "#/definitions/v1.JtContentPublishResponse"
  1396. }
  1397. },
  1398. "500": {
  1399. "description": "Internal Server Error",
  1400. "schema": {
  1401. "$ref": "#/definitions/base.HTTPError"
  1402. }
  1403. }
  1404. }
  1405. }
  1406. },
  1407. "/api/v1/jt/news": {
  1408. "get": {
  1409. "description": "兴嘉要闻列表",
  1410. "consumes": [
  1411. "application/json"
  1412. ],
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "兴嘉要闻"
  1418. ],
  1419. "summary": "兴嘉要闻列表",
  1420. "parameters": [
  1421. {
  1422. "type": "string",
  1423. "description": " ",
  1424. "name": "token",
  1425. "in": "header",
  1426. "required": true
  1427. },
  1428. {
  1429. "type": "integer",
  1430. "description": " ",
  1431. "name": "page",
  1432. "in": "query"
  1433. },
  1434. {
  1435. "type": "integer",
  1436. "description": " ",
  1437. "name": "page_size",
  1438. "in": "query"
  1439. }
  1440. ],
  1441. "responses": {
  1442. "200": {
  1443. "description": "OK",
  1444. "schema": {
  1445. "$ref": "#/definitions/v1.JtContentListResponse"
  1446. }
  1447. },
  1448. "500": {
  1449. "description": "Internal Server Error",
  1450. "schema": {
  1451. "$ref": "#/definitions/base.HTTPError"
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "put": {
  1457. "description": "修改兴嘉要闻",
  1458. "consumes": [
  1459. "application/json"
  1460. ],
  1461. "produces": [
  1462. "application/json"
  1463. ],
  1464. "tags": [
  1465. "兴嘉要闻"
  1466. ],
  1467. "summary": "修改兴嘉要闻",
  1468. "parameters": [
  1469. {
  1470. "type": "string",
  1471. "description": " ",
  1472. "name": "token",
  1473. "in": "header",
  1474. "required": true
  1475. },
  1476. {
  1477. "description": " ",
  1478. "name": "body",
  1479. "in": "body",
  1480. "required": true,
  1481. "schema": {
  1482. "$ref": "#/definitions/v1.JtContentUpdateBody"
  1483. }
  1484. }
  1485. ],
  1486. "responses": {
  1487. "200": {
  1488. "description": "OK",
  1489. "schema": {
  1490. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/base.HTTPError"
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "post": {
  1502. "description": "添加兴嘉要闻",
  1503. "consumes": [
  1504. "application/json"
  1505. ],
  1506. "produces": [
  1507. "application/json"
  1508. ],
  1509. "tags": [
  1510. "兴嘉要闻"
  1511. ],
  1512. "summary": "添加兴嘉要闻",
  1513. "parameters": [
  1514. {
  1515. "type": "string",
  1516. "description": " ",
  1517. "name": "token",
  1518. "in": "header",
  1519. "required": true
  1520. },
  1521. {
  1522. "description": " ",
  1523. "name": "body",
  1524. "in": "body",
  1525. "required": true,
  1526. "schema": {
  1527. "$ref": "#/definitions/v1.JtContentAddBody"
  1528. }
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "$ref": "#/definitions/v1.JtContentAddResponse"
  1536. }
  1537. },
  1538. "500": {
  1539. "description": "Internal Server Error",
  1540. "schema": {
  1541. "$ref": "#/definitions/base.HTTPError"
  1542. }
  1543. }
  1544. }
  1545. },
  1546. "delete": {
  1547. "description": "删除兴嘉要闻",
  1548. "consumes": [
  1549. "application/json"
  1550. ],
  1551. "produces": [
  1552. "application/json"
  1553. ],
  1554. "tags": [
  1555. "兴嘉要闻"
  1556. ],
  1557. "summary": "删除兴嘉要闻",
  1558. "parameters": [
  1559. {
  1560. "type": "string",
  1561. "description": " ",
  1562. "name": "token",
  1563. "in": "header",
  1564. "required": true
  1565. },
  1566. {
  1567. "type": "integer",
  1568. "description": " 记录id",
  1569. "name": "id",
  1570. "in": "query",
  1571. "required": true
  1572. }
  1573. ],
  1574. "responses": {
  1575. "200": {
  1576. "description": "OK",
  1577. "schema": {
  1578. "$ref": "#/definitions/v1.JtContentDelResponse"
  1579. }
  1580. },
  1581. "500": {
  1582. "description": "Internal Server Error",
  1583. "schema": {
  1584. "$ref": "#/definitions/base.HTTPError"
  1585. }
  1586. }
  1587. }
  1588. }
  1589. },
  1590. "/api/v1/jt/news/publish": {
  1591. "put": {
  1592. "description": "发布或下架兴嘉要闻",
  1593. "consumes": [
  1594. "application/json"
  1595. ],
  1596. "produces": [
  1597. "application/json"
  1598. ],
  1599. "tags": [
  1600. "兴嘉要闻"
  1601. ],
  1602. "summary": "发布或下架兴嘉要闻",
  1603. "parameters": [
  1604. {
  1605. "type": "string",
  1606. "description": " ",
  1607. "name": "token",
  1608. "in": "header",
  1609. "required": true
  1610. },
  1611. {
  1612. "description": " ",
  1613. "name": "body",
  1614. "in": "body",
  1615. "required": true,
  1616. "schema": {
  1617. "$ref": "#/definitions/v1.JtContentPublishBody"
  1618. }
  1619. }
  1620. ],
  1621. "responses": {
  1622. "200": {
  1623. "description": "OK",
  1624. "schema": {
  1625. "$ref": "#/definitions/v1.JtContentPublishResponse"
  1626. }
  1627. },
  1628. "500": {
  1629. "description": "Internal Server Error",
  1630. "schema": {
  1631. "$ref": "#/definitions/base.HTTPError"
  1632. }
  1633. }
  1634. }
  1635. }
  1636. },
  1637. "/api/v1/jt/page_pic": {
  1638. "get": {
  1639. "description": "首页顶层图片列表",
  1640. "consumes": [
  1641. "application/json"
  1642. ],
  1643. "produces": [
  1644. "application/json"
  1645. ],
  1646. "tags": [
  1647. "首页顶层图片"
  1648. ],
  1649. "summary": "首页顶层图片列表",
  1650. "parameters": [
  1651. {
  1652. "type": "string",
  1653. "description": " ",
  1654. "name": "token",
  1655. "in": "header",
  1656. "required": true
  1657. },
  1658. {
  1659. "type": "integer",
  1660. "description": " ",
  1661. "name": "page",
  1662. "in": "query"
  1663. },
  1664. {
  1665. "type": "integer",
  1666. "description": " ",
  1667. "name": "page_size",
  1668. "in": "query"
  1669. }
  1670. ],
  1671. "responses": {
  1672. "200": {
  1673. "description": "OK",
  1674. "schema": {
  1675. "$ref": "#/definitions/v1.PagePicListResponse"
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/base.HTTPError"
  1682. }
  1683. }
  1684. }
  1685. },
  1686. "put": {
  1687. "description": "修改首页顶层图片",
  1688. "consumes": [
  1689. "application/json"
  1690. ],
  1691. "produces": [
  1692. "application/json"
  1693. ],
  1694. "tags": [
  1695. "首页顶层图片"
  1696. ],
  1697. "summary": "修改首页顶层图片",
  1698. "parameters": [
  1699. {
  1700. "type": "string",
  1701. "description": " ",
  1702. "name": "token",
  1703. "in": "header",
  1704. "required": true
  1705. },
  1706. {
  1707. "description": " ",
  1708. "name": "body",
  1709. "in": "body",
  1710. "required": true,
  1711. "schema": {
  1712. "$ref": "#/definitions/v1.PagePicUpdateBody"
  1713. }
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "$ref": "#/definitions/v1.PagePicUpdateResponse"
  1721. }
  1722. },
  1723. "500": {
  1724. "description": "Internal Server Error",
  1725. "schema": {
  1726. "$ref": "#/definitions/base.HTTPError"
  1727. }
  1728. }
  1729. }
  1730. },
  1731. "post": {
  1732. "description": "添加首页顶层图片",
  1733. "consumes": [
  1734. "application/json"
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "首页顶层图片"
  1741. ],
  1742. "summary": "添加首页顶层图片",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": " ",
  1747. "name": "token",
  1748. "in": "header",
  1749. "required": true
  1750. },
  1751. {
  1752. "description": " ",
  1753. "name": "body",
  1754. "in": "body",
  1755. "required": true,
  1756. "schema": {
  1757. "$ref": "#/definitions/v1.PagePicAddBody"
  1758. }
  1759. }
  1760. ],
  1761. "responses": {
  1762. "200": {
  1763. "description": "OK",
  1764. "schema": {
  1765. "$ref": "#/definitions/v1.PagePicAddResponse"
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/base.HTTPError"
  1772. }
  1773. }
  1774. }
  1775. },
  1776. "delete": {
  1777. "description": "删除首页顶层图片",
  1778. "consumes": [
  1779. "application/json"
  1780. ],
  1781. "produces": [
  1782. "application/json"
  1783. ],
  1784. "tags": [
  1785. "首页顶层图片"
  1786. ],
  1787. "summary": "删除首页顶层图片",
  1788. "parameters": [
  1789. {
  1790. "type": "string",
  1791. "description": " ",
  1792. "name": "token",
  1793. "in": "header",
  1794. "required": true
  1795. },
  1796. {
  1797. "type": "integer",
  1798. "description": " 记录id",
  1799. "name": "id",
  1800. "in": "query",
  1801. "required": true
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/v1.PagePicDelResponse"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/base.HTTPError"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/api/v1/jt/program": {
  1821. "get": {
  1822. "description": "项目展示列表",
  1823. "consumes": [
  1824. "application/json"
  1825. ],
  1826. "produces": [
  1827. "application/json"
  1828. ],
  1829. "tags": [
  1830. "项目展示"
  1831. ],
  1832. "summary": "项目展示列表",
  1833. "parameters": [
  1834. {
  1835. "type": "string",
  1836. "description": " ",
  1837. "name": "token",
  1838. "in": "header",
  1839. "required": true
  1840. },
  1841. {
  1842. "type": "integer",
  1843. "description": " ",
  1844. "name": "page",
  1845. "in": "query"
  1846. },
  1847. {
  1848. "type": "integer",
  1849. "description": " ",
  1850. "name": "page_size",
  1851. "in": "query"
  1852. }
  1853. ],
  1854. "responses": {
  1855. "200": {
  1856. "description": "OK",
  1857. "schema": {
  1858. "$ref": "#/definitions/v1.JtContentListResponse"
  1859. }
  1860. },
  1861. "500": {
  1862. "description": "Internal Server Error",
  1863. "schema": {
  1864. "$ref": "#/definitions/base.HTTPError"
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "put": {
  1870. "description": "修改项目展示",
  1871. "consumes": [
  1872. "application/json"
  1873. ],
  1874. "produces": [
  1875. "application/json"
  1876. ],
  1877. "tags": [
  1878. "项目展示"
  1879. ],
  1880. "summary": "修改项目展示",
  1881. "parameters": [
  1882. {
  1883. "type": "string",
  1884. "description": " ",
  1885. "name": "token",
  1886. "in": "header",
  1887. "required": true
  1888. },
  1889. {
  1890. "description": " ",
  1891. "name": "body",
  1892. "in": "body",
  1893. "required": true,
  1894. "schema": {
  1895. "$ref": "#/definitions/v1.JtContentUpdateBody"
  1896. }
  1897. }
  1898. ],
  1899. "responses": {
  1900. "200": {
  1901. "description": "OK",
  1902. "schema": {
  1903. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/base.HTTPError"
  1910. }
  1911. }
  1912. }
  1913. },
  1914. "post": {
  1915. "description": "添加项目展示",
  1916. "consumes": [
  1917. "application/json"
  1918. ],
  1919. "produces": [
  1920. "application/json"
  1921. ],
  1922. "tags": [
  1923. "项目展示"
  1924. ],
  1925. "summary": "添加项目展示",
  1926. "parameters": [
  1927. {
  1928. "type": "string",
  1929. "description": " ",
  1930. "name": "token",
  1931. "in": "header",
  1932. "required": true
  1933. },
  1934. {
  1935. "description": " ",
  1936. "name": "body",
  1937. "in": "body",
  1938. "required": true,
  1939. "schema": {
  1940. "$ref": "#/definitions/v1.JtContentAddBody"
  1941. }
  1942. }
  1943. ],
  1944. "responses": {
  1945. "200": {
  1946. "description": "OK",
  1947. "schema": {
  1948. "$ref": "#/definitions/v1.JtContentAddResponse"
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/base.HTTPError"
  1955. }
  1956. }
  1957. }
  1958. },
  1959. "delete": {
  1960. "description": "删除项目",
  1961. "consumes": [
  1962. "application/json"
  1963. ],
  1964. "produces": [
  1965. "application/json"
  1966. ],
  1967. "tags": [
  1968. "项目展示"
  1969. ],
  1970. "summary": "删除项目",
  1971. "parameters": [
  1972. {
  1973. "type": "string",
  1974. "description": " ",
  1975. "name": "token",
  1976. "in": "header",
  1977. "required": true
  1978. },
  1979. {
  1980. "type": "integer",
  1981. "description": " 记录id",
  1982. "name": "id",
  1983. "in": "query",
  1984. "required": true
  1985. }
  1986. ],
  1987. "responses": {
  1988. "200": {
  1989. "description": "OK",
  1990. "schema": {
  1991. "$ref": "#/definitions/v1.JtContentDelResponse"
  1992. }
  1993. },
  1994. "500": {
  1995. "description": "Internal Server Error",
  1996. "schema": {
  1997. "$ref": "#/definitions/base.HTTPError"
  1998. }
  1999. }
  2000. }
  2001. }
  2002. },
  2003. "/api/v1/jt/program/publish": {
  2004. "put": {
  2005. "description": "发布或下架项目展示",
  2006. "consumes": [
  2007. "application/json"
  2008. ],
  2009. "produces": [
  2010. "application/json"
  2011. ],
  2012. "tags": [
  2013. "项目展示"
  2014. ],
  2015. "summary": "发布或下架项目展示",
  2016. "parameters": [
  2017. {
  2018. "type": "string",
  2019. "description": " ",
  2020. "name": "token",
  2021. "in": "header",
  2022. "required": true
  2023. },
  2024. {
  2025. "description": " ",
  2026. "name": "body",
  2027. "in": "body",
  2028. "required": true,
  2029. "schema": {
  2030. "$ref": "#/definitions/v1.JtContentPublishBody"
  2031. }
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/v1.JtContentPublishResponse"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/base.HTTPError"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/api/v1/jt/vision": {
  2051. "get": {
  2052. "description": "发展愿景信息",
  2053. "consumes": [
  2054. "application/json"
  2055. ],
  2056. "produces": [
  2057. "application/json"
  2058. ],
  2059. "tags": [
  2060. "发展愿景"
  2061. ],
  2062. "summary": "发展愿景信息",
  2063. "parameters": [
  2064. {
  2065. "type": "string",
  2066. "description": " ",
  2067. "name": "token",
  2068. "in": "header",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "$ref": "#/definitions/v1.JtContentInfoResponse"
  2077. }
  2078. },
  2079. "500": {
  2080. "description": "Internal Server Error",
  2081. "schema": {
  2082. "$ref": "#/definitions/base.HTTPError"
  2083. }
  2084. }
  2085. }
  2086. },
  2087. "put": {
  2088. "description": "修改发展愿景",
  2089. "consumes": [
  2090. "application/json"
  2091. ],
  2092. "produces": [
  2093. "application/json"
  2094. ],
  2095. "tags": [
  2096. "发展愿景"
  2097. ],
  2098. "summary": "修改发展愿景",
  2099. "parameters": [
  2100. {
  2101. "type": "string",
  2102. "description": " ",
  2103. "name": "token",
  2104. "in": "header",
  2105. "required": true
  2106. },
  2107. {
  2108. "description": " ",
  2109. "name": "body",
  2110. "in": "body",
  2111. "required": true,
  2112. "schema": {
  2113. "$ref": "#/definitions/v1.JtContentUpdateBody"
  2114. }
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/v1.JtContentUpdateResponse"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/base.HTTPError"
  2128. }
  2129. }
  2130. }
  2131. },
  2132. "post": {
  2133. "description": "添加发展愿景",
  2134. "consumes": [
  2135. "application/json"
  2136. ],
  2137. "produces": [
  2138. "application/json"
  2139. ],
  2140. "tags": [
  2141. "发展愿景"
  2142. ],
  2143. "summary": "添加发展愿景",
  2144. "parameters": [
  2145. {
  2146. "type": "string",
  2147. "description": " ",
  2148. "name": "token",
  2149. "in": "header",
  2150. "required": true
  2151. },
  2152. {
  2153. "description": " ",
  2154. "name": "body",
  2155. "in": "body",
  2156. "required": true,
  2157. "schema": {
  2158. "$ref": "#/definitions/v1.JtContentAddBody"
  2159. }
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "$ref": "#/definitions/v1.JtContentAddResponse"
  2167. }
  2168. },
  2169. "500": {
  2170. "description": "Internal Server Error",
  2171. "schema": {
  2172. "$ref": "#/definitions/base.HTTPError"
  2173. }
  2174. }
  2175. }
  2176. },
  2177. "delete": {
  2178. "description": "删除发展愿景",
  2179. "consumes": [
  2180. "application/json"
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "发展愿景"
  2187. ],
  2188. "summary": "删除发展愿景",
  2189. "parameters": [
  2190. {
  2191. "type": "string",
  2192. "description": " ",
  2193. "name": "token",
  2194. "in": "header",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": " 记录id",
  2200. "name": "id",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "$ref": "#/definitions/v1.JtContentDelResponse"
  2210. }
  2211. },
  2212. "500": {
  2213. "description": "Internal Server Error",
  2214. "schema": {
  2215. "$ref": "#/definitions/base.HTTPError"
  2216. }
  2217. }
  2218. }
  2219. }
  2220. },
  2221. "/api/v1/jt/vision/publish": {
  2222. "put": {
  2223. "description": "发布或下架发展愿景",
  2224. "consumes": [
  2225. "application/json"
  2226. ],
  2227. "produces": [
  2228. "application/json"
  2229. ],
  2230. "tags": [
  2231. "发展愿景"
  2232. ],
  2233. "summary": "发布或下架发展愿景",
  2234. "parameters": [
  2235. {
  2236. "type": "string",
  2237. "description": " ",
  2238. "name": "token",
  2239. "in": "header",
  2240. "required": true
  2241. },
  2242. {
  2243. "description": " ",
  2244. "name": "body",
  2245. "in": "body",
  2246. "required": true,
  2247. "schema": {
  2248. "$ref": "#/definitions/v1.JtContentPublishBody"
  2249. }
  2250. }
  2251. ],
  2252. "responses": {
  2253. "200": {
  2254. "description": "OK",
  2255. "schema": {
  2256. "$ref": "#/definitions/v1.JtContentPublishResponse"
  2257. }
  2258. },
  2259. "500": {
  2260. "description": "Internal Server Error",
  2261. "schema": {
  2262. "$ref": "#/definitions/base.HTTPError"
  2263. }
  2264. }
  2265. }
  2266. }
  2267. },
  2268. "/api/v1/management_user": {
  2269. "get": {
  2270. "description": "账号列表",
  2271. "consumes": [
  2272. "application/json"
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "账号"
  2279. ],
  2280. "summary": "账号列表",
  2281. "parameters": [
  2282. {
  2283. "type": "string",
  2284. "description": " ",
  2285. "name": "token",
  2286. "in": "header",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": " ",
  2292. "name": "page",
  2293. "in": "query"
  2294. },
  2295. {
  2296. "type": "integer",
  2297. "description": " ",
  2298. "name": "page_size",
  2299. "in": "query"
  2300. }
  2301. ],
  2302. "responses": {
  2303. "200": {
  2304. "description": "OK",
  2305. "schema": {
  2306. "$ref": "#/definitions/v1.UserListResponse"
  2307. }
  2308. },
  2309. "500": {
  2310. "description": "Internal Server Error",
  2311. "schema": {
  2312. "$ref": "#/definitions/base.HTTPError"
  2313. }
  2314. }
  2315. }
  2316. },
  2317. "put": {
  2318. "description": "修改账号",
  2319. "consumes": [
  2320. "application/json"
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "账号"
  2327. ],
  2328. "summary": "修改账号",
  2329. "parameters": [
  2330. {
  2331. "type": "string",
  2332. "description": " ",
  2333. "name": "token",
  2334. "in": "header",
  2335. "required": true
  2336. },
  2337. {
  2338. "description": " ",
  2339. "name": "body",
  2340. "in": "body",
  2341. "required": true,
  2342. "schema": {
  2343. "$ref": "#/definitions/v1.UserUpdateBody"
  2344. }
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "OK",
  2350. "schema": {
  2351. "$ref": "#/definitions/v1.UserUpdateResponse"
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/base.HTTPError"
  2358. }
  2359. }
  2360. }
  2361. },
  2362. "post": {
  2363. "description": "添加账号",
  2364. "consumes": [
  2365. "application/json"
  2366. ],
  2367. "produces": [
  2368. "application/json"
  2369. ],
  2370. "tags": [
  2371. "账号"
  2372. ],
  2373. "summary": "添加账号",
  2374. "parameters": [
  2375. {
  2376. "type": "string",
  2377. "description": " ",
  2378. "name": "token",
  2379. "in": "header",
  2380. "required": true
  2381. },
  2382. {
  2383. "description": " ",
  2384. "name": "body",
  2385. "in": "body",
  2386. "required": true,
  2387. "schema": {
  2388. "$ref": "#/definitions/v1.UserAddBody"
  2389. }
  2390. }
  2391. ],
  2392. "responses": {
  2393. "200": {
  2394. "description": "OK",
  2395. "schema": {
  2396. "$ref": "#/definitions/v1.UserAddResponse"
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/base.HTTPError"
  2403. }
  2404. }
  2405. }
  2406. },
  2407. "delete": {
  2408. "description": "删除账号",
  2409. "consumes": [
  2410. "application/json"
  2411. ],
  2412. "produces": [
  2413. "application/json"
  2414. ],
  2415. "tags": [
  2416. "账号"
  2417. ],
  2418. "summary": "删除账号",
  2419. "parameters": [
  2420. {
  2421. "type": "string",
  2422. "description": " ",
  2423. "name": "token",
  2424. "in": "header",
  2425. "required": true
  2426. },
  2427. {
  2428. "type": "integer",
  2429. "description": " 记录id",
  2430. "name": "id",
  2431. "in": "query",
  2432. "required": true
  2433. }
  2434. ],
  2435. "responses": {
  2436. "200": {
  2437. "description": "OK",
  2438. "schema": {
  2439. "$ref": "#/definitions/v1.UserDelResponse"
  2440. }
  2441. },
  2442. "500": {
  2443. "description": "Internal Server Error",
  2444. "schema": {
  2445. "$ref": "#/definitions/base.HTTPError"
  2446. }
  2447. }
  2448. }
  2449. }
  2450. },
  2451. "/api/v1/management_user/password": {
  2452. "put": {
  2453. "description": "重置密码",
  2454. "consumes": [
  2455. "application/json"
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "账号"
  2462. ],
  2463. "summary": "重置密码",
  2464. "parameters": [
  2465. {
  2466. "type": "string",
  2467. "description": " ",
  2468. "name": "token",
  2469. "in": "header",
  2470. "required": true
  2471. },
  2472. {
  2473. "description": " ",
  2474. "name": "body",
  2475. "in": "body",
  2476. "required": true,
  2477. "schema": {
  2478. "$ref": "#/definitions/v1.UserResetPasswordBody"
  2479. }
  2480. }
  2481. ],
  2482. "responses": {
  2483. "200": {
  2484. "description": "OK",
  2485. "schema": {
  2486. "$ref": "#/definitions/v1.UserResetPasswordResponse"
  2487. }
  2488. },
  2489. "500": {
  2490. "description": "Internal Server Error",
  2491. "schema": {
  2492. "$ref": "#/definitions/base.HTTPError"
  2493. }
  2494. }
  2495. }
  2496. }
  2497. },
  2498. "/api/v1/operation_log": {
  2499. "get": {
  2500. "description": "操作日志列表",
  2501. "consumes": [
  2502. "application/json"
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "操作日志"
  2509. ],
  2510. "summary": "操作日志列表",
  2511. "parameters": [
  2512. {
  2513. "type": "string",
  2514. "description": " ",
  2515. "name": "token",
  2516. "in": "header",
  2517. "required": true
  2518. },
  2519. {
  2520. "type": "integer",
  2521. "description": " ",
  2522. "name": "page",
  2523. "in": "query"
  2524. },
  2525. {
  2526. "type": "integer",
  2527. "description": " ",
  2528. "name": "page_size",
  2529. "in": "query"
  2530. }
  2531. ],
  2532. "responses": {
  2533. "200": {
  2534. "description": "OK",
  2535. "schema": {
  2536. "$ref": "#/definitions/v1.OperationLogListResponse"
  2537. }
  2538. },
  2539. "500": {
  2540. "description": "Internal Server Error",
  2541. "schema": {
  2542. "$ref": "#/definitions/base.HTTPError"
  2543. }
  2544. }
  2545. }
  2546. },
  2547. "delete": {
  2548. "description": "批量删除操作日志",
  2549. "consumes": [
  2550. "application/json"
  2551. ],
  2552. "produces": [
  2553. "application/json"
  2554. ],
  2555. "tags": [
  2556. "操作日志"
  2557. ],
  2558. "summary": "批量删除操作日志",
  2559. "parameters": [
  2560. {
  2561. "type": "string",
  2562. "description": " ",
  2563. "name": "token",
  2564. "in": "header",
  2565. "required": true
  2566. },
  2567. {
  2568. "type": "string",
  2569. "description": " 日志id,以英文分号分割",
  2570. "name": "ids",
  2571. "in": "query",
  2572. "required": true
  2573. }
  2574. ],
  2575. "responses": {
  2576. "200": {
  2577. "description": "OK",
  2578. "schema": {
  2579. "$ref": "#/definitions/v1.OperationLogDelResponse"
  2580. }
  2581. },
  2582. "500": {
  2583. "description": "Internal Server Error",
  2584. "schema": {
  2585. "$ref": "#/definitions/base.HTTPError"
  2586. }
  2587. }
  2588. }
  2589. }
  2590. },
  2591. "/api/v1/token_refresh": {
  2592. "put": {
  2593. "description": "刷新token",
  2594. "consumes": [
  2595. "application/json"
  2596. ],
  2597. "produces": [
  2598. "application/json"
  2599. ],
  2600. "tags": [
  2601. "用户"
  2602. ],
  2603. "summary": "刷新token",
  2604. "parameters": [
  2605. {
  2606. "type": "string",
  2607. "description": "token",
  2608. "name": "token",
  2609. "in": "header",
  2610. "required": true
  2611. }
  2612. ],
  2613. "responses": {
  2614. "200": {
  2615. "description": "OK",
  2616. "schema": {
  2617. "$ref": "#/definitions/v1.TokenResponse"
  2618. }
  2619. },
  2620. "500": {
  2621. "description": "Internal Server Error",
  2622. "schema": {
  2623. "$ref": "#/definitions/base.HTTPError"
  2624. }
  2625. }
  2626. }
  2627. }
  2628. },
  2629. "/api/v1/user/login": {
  2630. "post": {
  2631. "description": "登录",
  2632. "consumes": [
  2633. "application/json"
  2634. ],
  2635. "produces": [
  2636. "application/json"
  2637. ],
  2638. "tags": [
  2639. "用户"
  2640. ],
  2641. "summary": "登录",
  2642. "parameters": [
  2643. {
  2644. "description": "登录信息",
  2645. "name": "body",
  2646. "in": "body",
  2647. "required": true,
  2648. "schema": {
  2649. "$ref": "#/definitions/v1.LoginBody"
  2650. }
  2651. }
  2652. ],
  2653. "responses": {
  2654. "200": {
  2655. "description": "OK",
  2656. "schema": {
  2657. "$ref": "#/definitions/v1.LoginResponse"
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/base.HTTPError"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. }
  2669. },
  2670. "definitions": {
  2671. "apis.ContactInfoReply": {
  2672. "type": "object",
  2673. "properties": {
  2674. "addr": {
  2675. "type": "string"
  2676. },
  2677. "email": {
  2678. "type": "string"
  2679. },
  2680. "id": {
  2681. "type": "integer"
  2682. },
  2683. "phone": {
  2684. "type": "string"
  2685. }
  2686. }
  2687. },
  2688. "apis.JtContentItem": {
  2689. "type": "object",
  2690. "properties": {
  2691. "content": {
  2692. "type": "string"
  2693. },
  2694. "created_at": {
  2695. "type": "integer"
  2696. },
  2697. "first_pics": {
  2698. "type": "array",
  2699. "items": {
  2700. "type": "string"
  2701. }
  2702. },
  2703. "id": {
  2704. "type": "integer"
  2705. },
  2706. "publish_status": {
  2707. "type": "integer"
  2708. },
  2709. "title": {
  2710. "type": "string"
  2711. }
  2712. }
  2713. },
  2714. "apis.JtContentListReply": {
  2715. "type": "object",
  2716. "properties": {
  2717. "list": {
  2718. "type": "array",
  2719. "items": {
  2720. "$ref": "#/definitions/apis.JtContentItem"
  2721. }
  2722. },
  2723. "page": {
  2724. "type": "integer"
  2725. },
  2726. "total": {
  2727. "type": "integer"
  2728. }
  2729. }
  2730. },
  2731. "apis.OperationLogItem": {
  2732. "type": "object",
  2733. "properties": {
  2734. "id": {
  2735. "type": "integer"
  2736. },
  2737. "module": {
  2738. "type": "string"
  2739. },
  2740. "operation": {
  2741. "type": "string"
  2742. },
  2743. "operation_time": {
  2744. "type": "integer"
  2745. },
  2746. "origin_content": {
  2747. "type": "string"
  2748. },
  2749. "target_content": {
  2750. "type": "string"
  2751. },
  2752. "uid": {
  2753. "type": "integer"
  2754. },
  2755. "user": {
  2756. "type": "string"
  2757. }
  2758. }
  2759. },
  2760. "apis.OperationLogListReply": {
  2761. "type": "object",
  2762. "properties": {
  2763. "list": {
  2764. "type": "array",
  2765. "items": {
  2766. "$ref": "#/definitions/apis.OperationLogItem"
  2767. }
  2768. },
  2769. "page": {
  2770. "type": "integer"
  2771. },
  2772. "total": {
  2773. "type": "integer"
  2774. }
  2775. }
  2776. },
  2777. "apis.PagePicItem": {
  2778. "type": "object",
  2779. "properties": {
  2780. "created_at": {
  2781. "type": "integer"
  2782. },
  2783. "id": {
  2784. "type": "integer"
  2785. },
  2786. "pic": {
  2787. "type": "string"
  2788. }
  2789. }
  2790. },
  2791. "apis.PagePicListReply": {
  2792. "type": "object",
  2793. "properties": {
  2794. "list": {
  2795. "type": "array",
  2796. "items": {
  2797. "$ref": "#/definitions/apis.PagePicItem"
  2798. }
  2799. },
  2800. "page": {
  2801. "type": "integer"
  2802. },
  2803. "total": {
  2804. "type": "integer"
  2805. }
  2806. }
  2807. },
  2808. "apis.UserItem": {
  2809. "type": "object",
  2810. "properties": {
  2811. "effective_end": {
  2812. "type": "integer"
  2813. },
  2814. "effective_start": {
  2815. "type": "integer"
  2816. },
  2817. "real_name": {
  2818. "type": "string"
  2819. },
  2820. "status": {
  2821. "description": "1有效 2 过期",
  2822. "type": "integer"
  2823. },
  2824. "uid": {
  2825. "type": "integer"
  2826. },
  2827. "user": {
  2828. "type": "string"
  2829. },
  2830. "user_type": {
  2831. "type": "integer"
  2832. }
  2833. }
  2834. },
  2835. "apis.UserListReply": {
  2836. "type": "object",
  2837. "properties": {
  2838. "list": {
  2839. "type": "array",
  2840. "items": {
  2841. "$ref": "#/definitions/apis.UserItem"
  2842. }
  2843. },
  2844. "page": {
  2845. "type": "integer"
  2846. },
  2847. "total": {
  2848. "type": "integer"
  2849. }
  2850. }
  2851. },
  2852. "base.HTTPError": {
  2853. "type": "object",
  2854. "properties": {
  2855. "code": {
  2856. "type": "integer",
  2857. "format": "int",
  2858. "example": 500
  2859. },
  2860. "message": {
  2861. "type": "string",
  2862. "example": "status bad request"
  2863. }
  2864. }
  2865. },
  2866. "v1.ContactAddBody": {
  2867. "type": "object",
  2868. "properties": {
  2869. "addr": {
  2870. "type": "string"
  2871. },
  2872. "email": {
  2873. "type": "string"
  2874. },
  2875. "phone": {
  2876. "type": "string"
  2877. }
  2878. }
  2879. },
  2880. "v1.ContactAddResponse": {
  2881. "type": "object",
  2882. "properties": {
  2883. "code": {
  2884. "description": "返回码",
  2885. "type": "integer",
  2886. "format": "int",
  2887. "default": 0
  2888. },
  2889. "message": {
  2890. "description": "消息",
  2891. "type": "string",
  2892. "default": "success"
  2893. }
  2894. }
  2895. },
  2896. "v1.ContactDelResponse": {
  2897. "type": "object",
  2898. "properties": {
  2899. "code": {
  2900. "description": "返回码",
  2901. "type": "integer",
  2902. "format": "int",
  2903. "default": 0
  2904. },
  2905. "message": {
  2906. "description": "消息",
  2907. "type": "string",
  2908. "default": "success"
  2909. }
  2910. }
  2911. },
  2912. "v1.ContactInfoResponse": {
  2913. "type": "object",
  2914. "properties": {
  2915. "code": {
  2916. "description": "返回码",
  2917. "type": "integer",
  2918. "format": "int",
  2919. "default": 0
  2920. },
  2921. "data": {
  2922. "type": "object",
  2923. "$ref": "#/definitions/apis.ContactInfoReply"
  2924. },
  2925. "message": {
  2926. "description": "消息",
  2927. "type": "string",
  2928. "default": "success"
  2929. }
  2930. }
  2931. },
  2932. "v1.ContactUpdateBody": {
  2933. "type": "object",
  2934. "properties": {
  2935. "addr": {
  2936. "type": "string"
  2937. },
  2938. "email": {
  2939. "type": "string"
  2940. },
  2941. "id": {
  2942. "type": "integer"
  2943. },
  2944. "phone": {
  2945. "type": "string"
  2946. }
  2947. }
  2948. },
  2949. "v1.ContactUpdateResponse": {
  2950. "type": "object",
  2951. "properties": {
  2952. "code": {
  2953. "description": "返回码",
  2954. "type": "integer",
  2955. "format": "int",
  2956. "default": 0
  2957. },
  2958. "message": {
  2959. "description": "消息",
  2960. "type": "string",
  2961. "default": "success"
  2962. }
  2963. }
  2964. },
  2965. "v1.JtContentAddBody": {
  2966. "type": "object",
  2967. "properties": {
  2968. "content": {
  2969. "type": "string"
  2970. },
  2971. "first_pics": {
  2972. "description": "标题图片",
  2973. "type": "array",
  2974. "items": {
  2975. "type": "string"
  2976. }
  2977. },
  2978. "publish_status": {
  2979. "description": "1 发布 2 暂不发布",
  2980. "type": "integer"
  2981. },
  2982. "title": {
  2983. "type": "string"
  2984. }
  2985. }
  2986. },
  2987. "v1.JtContentAddResponse": {
  2988. "type": "object",
  2989. "properties": {
  2990. "code": {
  2991. "description": "返回码",
  2992. "type": "integer",
  2993. "format": "int",
  2994. "default": 0
  2995. },
  2996. "message": {
  2997. "description": "消息",
  2998. "type": "string",
  2999. "default": "success"
  3000. }
  3001. }
  3002. },
  3003. "v1.JtContentDelResponse": {
  3004. "type": "object",
  3005. "properties": {
  3006. "code": {
  3007. "description": "返回码",
  3008. "type": "integer",
  3009. "format": "int",
  3010. "default": 0
  3011. },
  3012. "message": {
  3013. "description": "消息",
  3014. "type": "string",
  3015. "default": "success"
  3016. }
  3017. }
  3018. },
  3019. "v1.JtContentInfoData": {
  3020. "type": "object",
  3021. "properties": {
  3022. "content": {
  3023. "type": "string"
  3024. },
  3025. "created_at": {
  3026. "type": "integer"
  3027. },
  3028. "first_pics": {
  3029. "type": "array",
  3030. "items": {
  3031. "type": "string"
  3032. }
  3033. },
  3034. "id": {
  3035. "type": "integer"
  3036. },
  3037. "publish_status": {
  3038. "description": "1 发布 2 暂不发布",
  3039. "type": "integer"
  3040. },
  3041. "title": {
  3042. "type": "string"
  3043. }
  3044. }
  3045. },
  3046. "v1.JtContentInfoResponse": {
  3047. "type": "object",
  3048. "properties": {
  3049. "code": {
  3050. "description": "返回码",
  3051. "type": "integer",
  3052. "format": "int",
  3053. "default": 0
  3054. },
  3055. "data": {
  3056. "type": "object",
  3057. "$ref": "#/definitions/v1.JtContentInfoData"
  3058. },
  3059. "message": {
  3060. "description": "消息",
  3061. "type": "string",
  3062. "default": "success"
  3063. }
  3064. }
  3065. },
  3066. "v1.JtContentListResponse": {
  3067. "type": "object",
  3068. "properties": {
  3069. "code": {
  3070. "description": "返回码",
  3071. "type": "integer",
  3072. "format": "int",
  3073. "default": 0
  3074. },
  3075. "data": {
  3076. "type": "object",
  3077. "$ref": "#/definitions/apis.JtContentListReply"
  3078. },
  3079. "message": {
  3080. "description": "消息",
  3081. "type": "string",
  3082. "default": "success"
  3083. }
  3084. }
  3085. },
  3086. "v1.JtContentPublishBody": {
  3087. "type": "object",
  3088. "properties": {
  3089. "id": {
  3090. "type": "integer"
  3091. },
  3092. "publish_status": {
  3093. "description": "1 发布 2 下架",
  3094. "type": "integer"
  3095. }
  3096. }
  3097. },
  3098. "v1.JtContentPublishResponse": {
  3099. "type": "object",
  3100. "properties": {
  3101. "code": {
  3102. "description": "返回码",
  3103. "type": "integer",
  3104. "format": "int",
  3105. "default": 0
  3106. },
  3107. "message": {
  3108. "description": "消息",
  3109. "type": "string",
  3110. "default": "success"
  3111. }
  3112. }
  3113. },
  3114. "v1.JtContentUpdateBody": {
  3115. "type": "object",
  3116. "properties": {
  3117. "content": {
  3118. "type": "string"
  3119. },
  3120. "first_pics": {
  3121. "type": "array",
  3122. "items": {
  3123. "type": "string"
  3124. }
  3125. },
  3126. "id": {
  3127. "type": "integer"
  3128. },
  3129. "publish_status": {
  3130. "description": "1 发布 2 暂不发布",
  3131. "type": "integer"
  3132. },
  3133. "title": {
  3134. "type": "string"
  3135. }
  3136. }
  3137. },
  3138. "v1.JtContentUpdateResponse": {
  3139. "type": "object",
  3140. "properties": {
  3141. "code": {
  3142. "description": "返回码",
  3143. "type": "integer",
  3144. "format": "int",
  3145. "default": 0
  3146. },
  3147. "message": {
  3148. "description": "消息",
  3149. "type": "string",
  3150. "default": "success"
  3151. }
  3152. }
  3153. },
  3154. "v1.LoginBody": {
  3155. "type": "object",
  3156. "properties": {
  3157. "password": {
  3158. "type": "string"
  3159. },
  3160. "user": {
  3161. "type": "string"
  3162. }
  3163. }
  3164. },
  3165. "v1.LoginData": {
  3166. "type": "object",
  3167. "properties": {
  3168. "token": {
  3169. "type": "string"
  3170. },
  3171. "uid": {
  3172. "type": "integer"
  3173. },
  3174. "user": {
  3175. "type": "string"
  3176. },
  3177. "user_type": {
  3178. "type": "integer"
  3179. }
  3180. }
  3181. },
  3182. "v1.LoginResponse": {
  3183. "type": "object",
  3184. "properties": {
  3185. "code": {
  3186. "description": "返回码",
  3187. "type": "integer",
  3188. "format": "int",
  3189. "default": 0
  3190. },
  3191. "data": {
  3192. "type": "object",
  3193. "$ref": "#/definitions/v1.LoginData"
  3194. },
  3195. "message": {
  3196. "description": "消息",
  3197. "type": "string",
  3198. "default": "success"
  3199. }
  3200. }
  3201. },
  3202. "v1.OperationLogDelResponse": {
  3203. "type": "object",
  3204. "properties": {
  3205. "code": {
  3206. "description": "返回码",
  3207. "type": "integer",
  3208. "format": "int",
  3209. "default": 0
  3210. },
  3211. "message": {
  3212. "description": "消息",
  3213. "type": "string",
  3214. "default": "success"
  3215. }
  3216. }
  3217. },
  3218. "v1.OperationLogListResponse": {
  3219. "type": "object",
  3220. "properties": {
  3221. "code": {
  3222. "description": "返回码",
  3223. "type": "integer",
  3224. "format": "int",
  3225. "default": 0
  3226. },
  3227. "data": {
  3228. "type": "object",
  3229. "$ref": "#/definitions/apis.OperationLogListReply"
  3230. },
  3231. "message": {
  3232. "description": "消息",
  3233. "type": "string",
  3234. "default": "success"
  3235. }
  3236. }
  3237. },
  3238. "v1.PagePicAddBody": {
  3239. "type": "object",
  3240. "properties": {
  3241. "pic": {
  3242. "type": "string"
  3243. }
  3244. }
  3245. },
  3246. "v1.PagePicAddResponse": {
  3247. "type": "object",
  3248. "properties": {
  3249. "code": {
  3250. "description": "返回码",
  3251. "type": "integer",
  3252. "format": "int",
  3253. "default": 0
  3254. },
  3255. "message": {
  3256. "description": "消息",
  3257. "type": "string",
  3258. "default": "success"
  3259. }
  3260. }
  3261. },
  3262. "v1.PagePicDelResponse": {
  3263. "type": "object",
  3264. "properties": {
  3265. "code": {
  3266. "description": "返回码",
  3267. "type": "integer",
  3268. "format": "int",
  3269. "default": 0
  3270. },
  3271. "message": {
  3272. "description": "消息",
  3273. "type": "string",
  3274. "default": "success"
  3275. }
  3276. }
  3277. },
  3278. "v1.PagePicListResponse": {
  3279. "type": "object",
  3280. "properties": {
  3281. "code": {
  3282. "description": "返回码",
  3283. "type": "integer",
  3284. "format": "int",
  3285. "default": 0
  3286. },
  3287. "data": {
  3288. "type": "object",
  3289. "$ref": "#/definitions/apis.PagePicListReply"
  3290. },
  3291. "message": {
  3292. "description": "消息",
  3293. "type": "string",
  3294. "default": "success"
  3295. }
  3296. }
  3297. },
  3298. "v1.PagePicUpdateBody": {
  3299. "type": "object",
  3300. "properties": {
  3301. "id": {
  3302. "type": "integer"
  3303. },
  3304. "pic": {
  3305. "type": "string"
  3306. }
  3307. }
  3308. },
  3309. "v1.PagePicUpdateResponse": {
  3310. "type": "object",
  3311. "properties": {
  3312. "code": {
  3313. "description": "返回码",
  3314. "type": "integer",
  3315. "format": "int",
  3316. "default": 0
  3317. },
  3318. "message": {
  3319. "description": "消息",
  3320. "type": "string",
  3321. "default": "success"
  3322. }
  3323. }
  3324. },
  3325. "v1.TokenResponse": {
  3326. "type": "object",
  3327. "properties": {
  3328. "code": {
  3329. "description": "返回码",
  3330. "type": "integer",
  3331. "format": "int",
  3332. "default": 0
  3333. },
  3334. "data": {
  3335. "type": "string"
  3336. },
  3337. "message": {
  3338. "description": "消息",
  3339. "type": "string",
  3340. "default": "success"
  3341. },
  3342. "refresh_token": {
  3343. "type": "string"
  3344. }
  3345. }
  3346. },
  3347. "v1.UploadResponse": {
  3348. "type": "object",
  3349. "properties": {
  3350. "code": {
  3351. "description": "返回码",
  3352. "type": "integer",
  3353. "format": "int",
  3354. "default": 0
  3355. },
  3356. "data": {
  3357. "type": "string"
  3358. },
  3359. "message": {
  3360. "description": "消息",
  3361. "type": "string",
  3362. "default": "success"
  3363. }
  3364. }
  3365. },
  3366. "v1.UserAddBody": {
  3367. "type": "object",
  3368. "properties": {
  3369. "effective_end": {
  3370. "type": "integer"
  3371. },
  3372. "effective_start": {
  3373. "type": "integer"
  3374. },
  3375. "password": {
  3376. "type": "string"
  3377. },
  3378. "real_name": {
  3379. "type": "string"
  3380. },
  3381. "user": {
  3382. "type": "string"
  3383. },
  3384. "user_type": {
  3385. "type": "integer"
  3386. }
  3387. }
  3388. },
  3389. "v1.UserAddResponse": {
  3390. "type": "object",
  3391. "properties": {
  3392. "code": {
  3393. "description": "返回码",
  3394. "type": "integer",
  3395. "format": "int",
  3396. "default": 0
  3397. },
  3398. "message": {
  3399. "description": "消息",
  3400. "type": "string",
  3401. "default": "success"
  3402. }
  3403. }
  3404. },
  3405. "v1.UserDelResponse": {
  3406. "type": "object",
  3407. "properties": {
  3408. "code": {
  3409. "description": "返回码",
  3410. "type": "integer",
  3411. "format": "int",
  3412. "default": 0
  3413. },
  3414. "message": {
  3415. "description": "消息",
  3416. "type": "string",
  3417. "default": "success"
  3418. }
  3419. }
  3420. },
  3421. "v1.UserListResponse": {
  3422. "type": "object",
  3423. "properties": {
  3424. "code": {
  3425. "description": "返回码",
  3426. "type": "integer",
  3427. "format": "int",
  3428. "default": 0
  3429. },
  3430. "data": {
  3431. "type": "object",
  3432. "$ref": "#/definitions/apis.UserListReply"
  3433. },
  3434. "message": {
  3435. "description": "消息",
  3436. "type": "string",
  3437. "default": "success"
  3438. }
  3439. }
  3440. },
  3441. "v1.UserResetPasswordBody": {
  3442. "type": "object",
  3443. "properties": {
  3444. "id": {
  3445. "type": "integer"
  3446. },
  3447. "password": {
  3448. "type": "string"
  3449. }
  3450. }
  3451. },
  3452. "v1.UserResetPasswordResponse": {
  3453. "type": "object",
  3454. "properties": {
  3455. "code": {
  3456. "description": "返回码",
  3457. "type": "integer",
  3458. "format": "int",
  3459. "default": 0
  3460. },
  3461. "message": {
  3462. "description": "消息",
  3463. "type": "string",
  3464. "default": "success"
  3465. }
  3466. }
  3467. },
  3468. "v1.UserUpdateBody": {
  3469. "type": "object",
  3470. "properties": {
  3471. "effective_end": {
  3472. "type": "integer"
  3473. },
  3474. "effective_start": {
  3475. "type": "integer"
  3476. },
  3477. "id": {
  3478. "type": "integer"
  3479. },
  3480. "password": {
  3481. "type": "string"
  3482. },
  3483. "real_name": {
  3484. "type": "string"
  3485. },
  3486. "user": {
  3487. "type": "string"
  3488. },
  3489. "user_type": {
  3490. "type": "integer"
  3491. }
  3492. }
  3493. },
  3494. "v1.UserUpdateResponse": {
  3495. "type": "object",
  3496. "properties": {
  3497. "code": {
  3498. "description": "返回码",
  3499. "type": "integer",
  3500. "format": "int",
  3501. "default": 0
  3502. },
  3503. "message": {
  3504. "description": "消息",
  3505. "type": "string",
  3506. "default": "success"
  3507. }
  3508. }
  3509. }
  3510. }
  3511. }