swagger.json 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "这是弘则研报API接口文档",
  5. "title": "弘则研报API接口文档",
  6. "termsOfService": "https://www.hzinsights.com/",
  7. "contact": {
  8. "name": "www.hzinsights.com/",
  9. "url": "https://www.hzinsights.com/",
  10. "email": "pyan@hzinsights.com"
  11. },
  12. "license": {
  13. "name": "Apache 2.0",
  14. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  15. },
  16. "version": "1.0"
  17. },
  18. "host": "127.0.0.1:8607",
  19. "basePath": "/",
  20. "paths": {
  21. "/activity/addRemind": {
  22. "post": {
  23. "security": [
  24. {
  25. "ApiKeyAuth": []
  26. }
  27. ],
  28. "description": "添加提醒",
  29. "consumes": [
  30. "application/json"
  31. ],
  32. "tags": [
  33. "活动模块"
  34. ],
  35. "summary": "添加提醒",
  36. "parameters": [
  37. {
  38. "type": "string",
  39. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  40. "name": "Authorization",
  41. "in": "header",
  42. "required": true
  43. },
  44. {
  45. "type": "integer",
  46. "description": "活动ID",
  47. "name": "activity_id",
  48. "in": "query",
  49. "required": true
  50. }
  51. ],
  52. "responses": {
  53. "200": {
  54. "description": "操作成功",
  55. "schema": {
  56. "type": "string"
  57. }
  58. },
  59. "400": {
  60. "description": "操作失败",
  61. "schema": {
  62. "type": "string"
  63. }
  64. },
  65. "4001": {
  66. "description": "指定错误",
  67. "schema": {
  68. "$ref": "#/definitions/activity.RemindCheckInfo"
  69. }
  70. }
  71. }
  72. }
  73. },
  74. "/activity/cancelRegister": {
  75. "post": {
  76. "security": [
  77. {
  78. "ApiKeyAuth": []
  79. }
  80. ],
  81. "description": "取消报名",
  82. "consumes": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "活动模块"
  87. ],
  88. "summary": "取消报名",
  89. "parameters": [
  90. {
  91. "type": "string",
  92. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  93. "name": "Authorization",
  94. "in": "header",
  95. "required": true
  96. },
  97. {
  98. "type": "integer",
  99. "description": "活动ID",
  100. "name": "activity_id",
  101. "in": "query",
  102. "required": true
  103. }
  104. ],
  105. "responses": {
  106. "200": {
  107. "description": "操作成功",
  108. "schema": {
  109. "type": "string"
  110. }
  111. },
  112. "400": {
  113. "description": "操作失败",
  114. "schema": {
  115. "type": "string"
  116. }
  117. }
  118. }
  119. }
  120. },
  121. "/activity/cancelRemind": {
  122. "post": {
  123. "security": [
  124. {
  125. "ApiKeyAuth": []
  126. }
  127. ],
  128. "description": "取消提醒",
  129. "consumes": [
  130. "application/json"
  131. ],
  132. "tags": [
  133. "活动模块"
  134. ],
  135. "summary": "取消提醒",
  136. "parameters": [
  137. {
  138. "type": "string",
  139. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  140. "name": "Authorization",
  141. "in": "header",
  142. "required": true
  143. },
  144. {
  145. "type": "integer",
  146. "description": "活动ID",
  147. "name": "activity_id",
  148. "in": "query",
  149. "required": true
  150. }
  151. ],
  152. "responses": {
  153. "200": {
  154. "description": "操作成功",
  155. "schema": {
  156. "type": "string"
  157. }
  158. },
  159. "400": {
  160. "description": "操作失败",
  161. "schema": {
  162. "type": "string"
  163. }
  164. }
  165. }
  166. }
  167. },
  168. "/activity/getActivityDetail": {
  169. "get": {
  170. "security": [
  171. {
  172. "ApiKeyAuth": []
  173. }
  174. ],
  175. "description": "获取活动详情",
  176. "consumes": [
  177. "application/json"
  178. ],
  179. "tags": [
  180. "活动模块"
  181. ],
  182. "summary": "获取活动详情",
  183. "parameters": [
  184. {
  185. "type": "string",
  186. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  187. "name": "Authorization",
  188. "in": "header",
  189. "required": true
  190. },
  191. {
  192. "type": "integer",
  193. "description": "活动ID",
  194. "name": "activity_id",
  195. "in": "query",
  196. "required": true
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/yb_activity.ActivityDetail"
  204. }
  205. },
  206. "400": {
  207. "description": "获取失败",
  208. "schema": {
  209. "type": "string"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/activity/getActivityShareImg": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "description": "生成活动分享图片",
  223. "consumes": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "活动模块"
  228. ],
  229. "summary": "生成活动分享图片",
  230. "parameters": [
  231. {
  232. "type": "string",
  233. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  234. "name": "Authorization",
  235. "in": "header",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "活动ID",
  241. "name": "activity_id",
  242. "in": "query",
  243. "required": true
  244. }
  245. ],
  246. "responses": {
  247. "200": {
  248. "description": "获取成功",
  249. "schema": {
  250. "type": "string"
  251. }
  252. },
  253. "400": {
  254. "description": "获取失败",
  255. "schema": {
  256. "type": "string"
  257. }
  258. }
  259. }
  260. }
  261. },
  262. "/activity/getActivityVoices": {
  263. "get": {
  264. "security": [
  265. {
  266. "ApiKeyAuth": []
  267. }
  268. ],
  269. "description": "获取活动录音",
  270. "consumes": [
  271. "application/json"
  272. ],
  273. "tags": [
  274. "活动模块"
  275. ],
  276. "summary": "获取活动录音",
  277. "parameters": [
  278. {
  279. "type": "string",
  280. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  281. "name": "Authorization",
  282. "in": "header",
  283. "required": true
  284. },
  285. {
  286. "type": "integer",
  287. "description": "活动ID",
  288. "name": "activity_id",
  289. "in": "query",
  290. "required": true
  291. }
  292. ],
  293. "responses": {
  294. "200": {
  295. "description": "OK",
  296. "schema": {
  297. "type": "array",
  298. "items": {
  299. "$ref": "#/definitions/yb_activity_voice.YbActivityVoice"
  300. }
  301. }
  302. },
  303. "400": {
  304. "description": "获取失败",
  305. "schema": {
  306. "type": "string"
  307. }
  308. }
  309. }
  310. }
  311. },
  312. "/activity/getPageList": {
  313. "get": {
  314. "security": [
  315. {
  316. "ApiKeyAuth": []
  317. }
  318. ],
  319. "description": "获取活动列表",
  320. "consumes": [
  321. "application/json"
  322. ],
  323. "tags": [
  324. "活动模块"
  325. ],
  326. "summary": "活动列表",
  327. "parameters": [
  328. {
  329. "type": "string",
  330. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  331. "name": "Authorization",
  332. "in": "header",
  333. "required": true
  334. },
  335. {
  336. "type": "string",
  337. "description": "活动类别/标题",
  338. "name": "title",
  339. "in": "query"
  340. },
  341. {
  342. "type": "integer",
  343. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  344. "name": "active_state",
  345. "in": "query"
  346. },
  347. {
  348. "type": "integer",
  349. "description": "活动类型 1-线上会议 3-线下沙龙",
  350. "name": "activity_type",
  351. "in": "query"
  352. },
  353. {
  354. "type": "integer",
  355. "description": "是否查看仅有权限的 0-否 1-是",
  356. "name": "has_permission",
  357. "in": "query"
  358. },
  359. {
  360. "type": "integer",
  361. "description": "当前页码",
  362. "name": "page",
  363. "in": "query"
  364. },
  365. {
  366. "type": "integer",
  367. "description": "每页数量",
  368. "name": "limit",
  369. "in": "query"
  370. }
  371. ],
  372. "responses": {
  373. "200": {
  374. "description": "OK",
  375. "schema": {
  376. "type": "array",
  377. "items": {
  378. "$ref": "#/definitions/activity.ActivityList"
  379. }
  380. }
  381. },
  382. "400": {
  383. "description": "活动获取失败",
  384. "schema": {
  385. "type": "string"
  386. }
  387. }
  388. }
  389. }
  390. },
  391. "/activity/registerActivity": {
  392. "post": {
  393. "security": [
  394. {
  395. "ApiKeyAuth": []
  396. }
  397. ],
  398. "description": "报名活动",
  399. "consumes": [
  400. "application/json"
  401. ],
  402. "tags": [
  403. "活动模块"
  404. ],
  405. "summary": "报名活动",
  406. "parameters": [
  407. {
  408. "type": "string",
  409. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  410. "name": "Authorization",
  411. "in": "header",
  412. "required": true
  413. },
  414. {
  415. "type": "integer",
  416. "description": "活动ID",
  417. "name": "activity_id",
  418. "in": "query",
  419. "required": true
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "操作成功",
  425. "schema": {
  426. "type": "string"
  427. }
  428. },
  429. "400": {
  430. "description": "操作失败",
  431. "schema": {
  432. "type": "string"
  433. }
  434. },
  435. "4001": {
  436. "description": "指定错误",
  437. "schema": {
  438. "$ref": "#/definitions/activity.RegisterCheckInfo"
  439. }
  440. }
  441. }
  442. }
  443. },
  444. "/chart/getChartChassify": {
  445. "get": {
  446. "security": [
  447. {
  448. "ApiKeyAuth": []
  449. }
  450. ],
  451. "description": "获取图表分类列表",
  452. "consumes": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "图库模块"
  457. ],
  458. "summary": "获取图表分类",
  459. "parameters": [
  460. {
  461. "type": "string",
  462. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  463. "name": "Authorization",
  464. "in": "header",
  465. "required": true
  466. },
  467. {
  468. "type": "string",
  469. "description": "分类名称关键词",
  470. "name": "Keywords",
  471. "in": "query"
  472. }
  473. ],
  474. "responses": {
  475. "200": {
  476. "description": "OK",
  477. "schema": {
  478. "$ref": "#/definitions/my_chart.MyChartClassifyListResp"
  479. }
  480. },
  481. "400": {
  482. "description": "分类列表获取失败",
  483. "schema": {
  484. "type": "string"
  485. }
  486. }
  487. }
  488. }
  489. },
  490. "/chart/getChartList": {
  491. "get": {
  492. "security": [
  493. {
  494. "ApiKeyAuth": []
  495. }
  496. ],
  497. "description": "获取图表列表",
  498. "consumes": [
  499. "application/json"
  500. ],
  501. "tags": [
  502. "图库模块"
  503. ],
  504. "summary": "获取图表列表",
  505. "parameters": [
  506. {
  507. "type": "string",
  508. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  509. "name": "Authorization",
  510. "in": "header",
  511. "required": true
  512. },
  513. {
  514. "type": "string",
  515. "description": "图表名称关键词",
  516. "name": "Keywords",
  517. "in": "query"
  518. },
  519. {
  520. "type": "string",
  521. "description": "图表分类ID",
  522. "name": "ClassifyId",
  523. "in": "query"
  524. },
  525. {
  526. "type": "integer",
  527. "description": "当前页页码,从1开始",
  528. "name": "Page",
  529. "in": "query"
  530. },
  531. {
  532. "type": "integer",
  533. "description": "每页数据量",
  534. "name": "Limit",
  535. "in": "query"
  536. }
  537. ],
  538. "responses": {
  539. "200": {
  540. "description": "OK",
  541. "schema": {
  542. "type": "array",
  543. "items": {
  544. "$ref": "#/definitions/my_chart.MyChartList"
  545. }
  546. }
  547. },
  548. "400": {
  549. "description": "图库列表获取失败",
  550. "schema": {
  551. "type": "string"
  552. }
  553. }
  554. }
  555. }
  556. },
  557. "/my_chart/editChartInfo": {
  558. "post": {
  559. "security": [
  560. {
  561. "ApiKeyAuth": []
  562. }
  563. ],
  564. "description": "编辑图表信息",
  565. "consumes": [
  566. "application/json"
  567. ],
  568. "tags": [
  569. "图库模块"
  570. ],
  571. "summary": "编辑图表信息",
  572. "parameters": [
  573. {
  574. "type": "string",
  575. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  576. "name": "Authorization",
  577. "in": "header",
  578. "required": true
  579. },
  580. {
  581. "description": "请求参数",
  582. "name": "data",
  583. "in": "body",
  584. "required": true,
  585. "schema": {
  586. "$ref": "#/definitions/chart_info.SaveChartInfoReq"
  587. }
  588. }
  589. ],
  590. "responses": {
  591. "200": {
  592. "description": "操作成功",
  593. "schema": {
  594. "type": "string"
  595. }
  596. },
  597. "400": {
  598. "description": "操作失败",
  599. "schema": {
  600. "type": "string"
  601. }
  602. }
  603. }
  604. }
  605. },
  606. "/my_chart/getChartInfoDetail": {
  607. "get": {
  608. "security": [
  609. {
  610. "ApiKeyAuth": []
  611. }
  612. ],
  613. "description": "获取图表详情",
  614. "consumes": [
  615. "application/json"
  616. ],
  617. "tags": [
  618. "图库模块"
  619. ],
  620. "summary": "获取图表详情",
  621. "parameters": [
  622. {
  623. "type": "string",
  624. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  625. "name": "Authorization",
  626. "in": "header",
  627. "required": true
  628. },
  629. {
  630. "type": "string",
  631. "description": "时间段:1-00年至今; 2-10年至今; 3-15年至今; 4-21年至今; 5-指定区间; 6-指定年月至今; 7-18年至今; 8-19年至今; 9-20年至今",
  632. "name": "DateType",
  633. "in": "query"
  634. },
  635. {
  636. "type": "string",
  637. "description": "图表分类ID",
  638. "name": "ClassifyId",
  639. "in": "query"
  640. }
  641. ],
  642. "responses": {
  643. "200": {
  644. "description": "OK",
  645. "schema": {
  646. "$ref": "#/definitions/chart_info.ChartInfoDetailResp"
  647. }
  648. },
  649. "400": {
  650. "description": "图表详情获取失败",
  651. "schema": {
  652. "type": "string"
  653. }
  654. }
  655. }
  656. }
  657. },
  658. "/my_chart/moveMyChart": {
  659. "post": {
  660. "security": [
  661. {
  662. "ApiKeyAuth": []
  663. }
  664. ],
  665. "description": "移动我的图表",
  666. "consumes": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "图库模块"
  671. ],
  672. "summary": "移动我的图表",
  673. "parameters": [
  674. {
  675. "type": "string",
  676. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  677. "name": "Authorization",
  678. "in": "header",
  679. "required": true
  680. },
  681. {
  682. "description": "请求参数",
  683. "name": "data",
  684. "in": "body",
  685. "required": true,
  686. "schema": {
  687. "$ref": "#/definitions/my_chart.MoveMyChartReq"
  688. }
  689. }
  690. ],
  691. "responses": {
  692. "200": {
  693. "description": "操作成功",
  694. "schema": {
  695. "type": "string"
  696. }
  697. },
  698. "400": {
  699. "description": "操作失败",
  700. "schema": {
  701. "type": "string"
  702. }
  703. }
  704. }
  705. }
  706. },
  707. "/my_chart/moveMyChartClassify": {
  708. "post": {
  709. "security": [
  710. {
  711. "ApiKeyAuth": []
  712. }
  713. ],
  714. "description": "移动我的图表分类",
  715. "consumes": [
  716. "application/json"
  717. ],
  718. "tags": [
  719. "图库模块"
  720. ],
  721. "summary": "移动我的图表分类",
  722. "parameters": [
  723. {
  724. "type": "string",
  725. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  726. "name": "Authorization",
  727. "in": "header",
  728. "required": true
  729. },
  730. {
  731. "description": "请求参数",
  732. "name": "data",
  733. "in": "body",
  734. "required": true,
  735. "schema": {
  736. "$ref": "#/definitions/my_chart.MoveMyChartClassifyReq"
  737. }
  738. }
  739. ],
  740. "responses": {
  741. "200": {
  742. "description": "操作成功",
  743. "schema": {
  744. "type": "string"
  745. }
  746. },
  747. "400": {
  748. "description": "操作失败",
  749. "schema": {
  750. "type": "string"
  751. }
  752. }
  753. }
  754. }
  755. },
  756. "/public/get_apply_variety_list": {
  757. "get": {
  758. "security": [
  759. {
  760. "ApiKeyAuth": []
  761. }
  762. ],
  763. "description": "获取所有可以申请的品种权限列表",
  764. "consumes": [
  765. "application/json"
  766. ],
  767. "tags": [
  768. "公共模块"
  769. ],
  770. "summary": "获取所有可以申请的品种权限列表",
  771. "parameters": [
  772. {
  773. "type": "string",
  774. "description": "微信登录后获取到的token",
  775. "name": "Authorization",
  776. "in": "header",
  777. "required": true
  778. }
  779. ],
  780. "responses": {
  781. "200": {
  782. "description": "获取成功",
  783. "schema": {
  784. "type": "array",
  785. "items": {
  786. "$ref": "#/definitions/logic.ApplyVariety"
  787. }
  788. }
  789. },
  790. "400": {
  791. "description": "获取失败",
  792. "schema": {
  793. "type": "string"
  794. }
  795. }
  796. }
  797. }
  798. },
  799. "/public/upload": {
  800. "post": {
  801. "security": [
  802. {
  803. "ApiKeyAuth": []
  804. }
  805. ],
  806. "description": "文件上传",
  807. "consumes": [
  808. "multipart/form-data"
  809. ],
  810. "tags": [
  811. "公共模块"
  812. ],
  813. "summary": "文件上传",
  814. "parameters": [
  815. {
  816. "type": "string",
  817. "description": "微信登录后获取到的token",
  818. "name": "Authorization",
  819. "in": "header",
  820. "required": true
  821. },
  822. {
  823. "type": "file",
  824. "description": "操作描述",
  825. "name": "file",
  826. "in": "formData"
  827. }
  828. ],
  829. "responses": {
  830. "200": {
  831. "description": "上传成功",
  832. "schema": {
  833. "type": "string"
  834. }
  835. },
  836. "400": {
  837. "description": "上传失败,存储目录创建失败",
  838. "schema": {
  839. "type": "string"
  840. }
  841. }
  842. }
  843. }
  844. },
  845. "/report/research_report": {
  846. "get": {
  847. "security": [
  848. {
  849. "ApiKeyAuth": []
  850. }
  851. ],
  852. "description": "获取报告详情",
  853. "consumes": [
  854. "application/json"
  855. ],
  856. "tags": [
  857. "报告接口"
  858. ],
  859. "summary": "获取报告详情",
  860. "parameters": [
  861. {
  862. "type": "string",
  863. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  864. "name": "Authorization",
  865. "in": "header",
  866. "required": true
  867. },
  868. {
  869. "type": "integer",
  870. "description": "活动ID",
  871. "name": "research_report_id",
  872. "in": "query",
  873. "required": true
  874. }
  875. ],
  876. "responses": {
  877. "200": {
  878. "description": "OK",
  879. "schema": {
  880. "$ref": "#/definitions/yb_activity.ActivityDetail"
  881. }
  882. },
  883. "400": {
  884. "description": "获取失败",
  885. "schema": {
  886. "type": "string"
  887. }
  888. }
  889. }
  890. }
  891. },
  892. "/user/apply": {
  893. "post": {
  894. "security": [
  895. {
  896. "ApiKeyAuth": []
  897. }
  898. ],
  899. "description": "用户申请",
  900. "consumes": [
  901. "application/json"
  902. ],
  903. "tags": [
  904. "用户模块"
  905. ],
  906. "summary": "用户申请",
  907. "parameters": [
  908. {
  909. "type": "string",
  910. "description": "微信登录后获取到的token",
  911. "name": "Authorization",
  912. "in": "header",
  913. "required": true
  914. },
  915. {
  916. "description": "请求参数",
  917. "name": "data",
  918. "in": "body",
  919. "required": true,
  920. "schema": {
  921. "$ref": "#/definitions/user.ApplyReq"
  922. }
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/user.LoginResp"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/user/get_email_code": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "description": "获取邮箱验证码",
  943. "consumes": [
  944. "application/json"
  945. ],
  946. "tags": [
  947. "用户模块"
  948. ],
  949. "summary": "获取邮箱验证码",
  950. "parameters": [
  951. {
  952. "type": "string",
  953. "description": "微信登录后获取到的token",
  954. "name": "Authorization",
  955. "in": "header",
  956. "required": true
  957. },
  958. {
  959. "type": "string",
  960. "description": "电子邮箱账号",
  961. "name": "email",
  962. "in": "query",
  963. "required": true
  964. }
  965. ],
  966. "responses": {
  967. "200": {
  968. "description": "OK",
  969. "schema": {
  970. "type": "string"
  971. }
  972. },
  973. "400": {
  974. "description": "Bad Request",
  975. "schema": {
  976. "type": "string"
  977. }
  978. }
  979. }
  980. }
  981. },
  982. "/user/get_last_apply_record": {
  983. "get": {
  984. "security": [
  985. {
  986. "ApiKeyAuth": []
  987. }
  988. ],
  989. "description": "获取最近一条申请单信息",
  990. "consumes": [
  991. "application/json"
  992. ],
  993. "tags": [
  994. "用户模块"
  995. ],
  996. "summary": "获取最近一条申请单信息",
  997. "parameters": [
  998. {
  999. "type": "string",
  1000. "description": "微信登录后获取到的token",
  1001. "name": "Authorization",
  1002. "in": "header",
  1003. "required": true
  1004. }
  1005. ],
  1006. "responses": {
  1007. "200": {
  1008. "description": "获取成功",
  1009. "schema": {
  1010. "$ref": "#/definitions/user.Record"
  1011. }
  1012. },
  1013. "400": {
  1014. "description": "获取失败",
  1015. "schema": {
  1016. "type": "string"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/user/get_sms_code": {
  1023. "get": {
  1024. "security": [
  1025. {
  1026. "ApiKeyAuth": []
  1027. }
  1028. ],
  1029. "description": "获取短信验证码接口",
  1030. "consumes": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "用户模块"
  1035. ],
  1036. "summary": "获取短信验证码",
  1037. "parameters": [
  1038. {
  1039. "type": "string",
  1040. "description": "微信登录后获取到的token",
  1041. "name": "Authorization",
  1042. "in": "header",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "手机号",
  1048. "name": "mobile",
  1049. "in": "query",
  1050. "required": true
  1051. },
  1052. {
  1053. "type": "string",
  1054. "description": "手机国际区号(中国大陆:86)",
  1055. "name": "area_num",
  1056. "in": "query",
  1057. "required": true
  1058. }
  1059. ],
  1060. "responses": {
  1061. "200": {
  1062. "description": "OK",
  1063. "schema": {
  1064. "type": "string"
  1065. }
  1066. },
  1067. "400": {
  1068. "description": "Bad Request",
  1069. "schema": {
  1070. "type": "string"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/user/get_tab_bar": {
  1077. "get": {
  1078. "security": [
  1079. {
  1080. "ApiKeyAuth": []
  1081. }
  1082. ],
  1083. "description": "获取用户的菜单栏权限",
  1084. "consumes": [
  1085. "application/json"
  1086. ],
  1087. "tags": [
  1088. "用户模块"
  1089. ],
  1090. "summary": "获取用户的菜单栏权限",
  1091. "parameters": [
  1092. {
  1093. "type": "string",
  1094. "description": "微信登录后获取到的token",
  1095. "name": "Authorization",
  1096. "in": "header",
  1097. "required": true
  1098. }
  1099. ],
  1100. "responses": {
  1101. "200": {
  1102. "description": "获取成功",
  1103. "schema": {
  1104. "type": "array",
  1105. "items": {
  1106. "type": "string"
  1107. }
  1108. }
  1109. },
  1110. "400": {
  1111. "description": "获取失败",
  1112. "schema": {
  1113. "type": "string"
  1114. }
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "/user/info": {
  1120. "get": {
  1121. "security": [
  1122. {
  1123. "ApiKeyAuth": []
  1124. }
  1125. ],
  1126. "description": "我的详情",
  1127. "consumes": [
  1128. "application/json"
  1129. ],
  1130. "tags": [
  1131. "用户模块"
  1132. ],
  1133. "summary": "我的详情",
  1134. "parameters": [
  1135. {
  1136. "type": "string",
  1137. "description": "微信登录后获取到的token",
  1138. "name": "Authorization",
  1139. "in": "header",
  1140. "required": true
  1141. }
  1142. ],
  1143. "responses": {
  1144. "200": {
  1145. "description": "获取成功",
  1146. "schema": {
  1147. "$ref": "#/definitions/user.Detail"
  1148. }
  1149. },
  1150. "400": {
  1151. "description": "获取失败",
  1152. "schema": {
  1153. "type": "string"
  1154. }
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "/user/login": {
  1160. "post": {
  1161. "security": [
  1162. {
  1163. "ApiKeyAuth": []
  1164. }
  1165. ],
  1166. "description": "用户手机号/邮箱登录",
  1167. "consumes": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "用户模块"
  1172. ],
  1173. "summary": "用户登录",
  1174. "parameters": [
  1175. {
  1176. "type": "string",
  1177. "description": "微信登录后获取到的token",
  1178. "name": "Authorization",
  1179. "in": "header",
  1180. "required": true
  1181. },
  1182. {
  1183. "description": "请求参数",
  1184. "name": "data",
  1185. "in": "body",
  1186. "required": true,
  1187. "schema": {
  1188. "$ref": "#/definitions/user.LoginReq"
  1189. }
  1190. }
  1191. ],
  1192. "responses": {
  1193. "200": {
  1194. "description": "OK",
  1195. "schema": {
  1196. "$ref": "#/definitions/user.LoginResp"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "/wechat/getEncryptInfo": {
  1203. "post": {
  1204. "description": "消息解密",
  1205. "consumes": [
  1206. "application/json"
  1207. ],
  1208. "tags": [
  1209. "微信相关接口"
  1210. ],
  1211. "summary": "消息解密",
  1212. "parameters": [
  1213. {
  1214. "type": "string",
  1215. "description": "加密数据",
  1216. "name": "encryptedData",
  1217. "in": "query",
  1218. "required": true
  1219. },
  1220. {
  1221. "type": "string",
  1222. "description": "加密算法初始向量",
  1223. "name": "iv",
  1224. "in": "query",
  1225. "required": true
  1226. }
  1227. ],
  1228. "responses": {
  1229. "200": {
  1230. "description": "获取成功",
  1231. "schema": {
  1232. "type": "string"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/wechat/login": {
  1239. "get": {
  1240. "description": "微信登录",
  1241. "consumes": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "微信相关接口"
  1246. ],
  1247. "summary": "微信登录",
  1248. "parameters": [
  1249. {
  1250. "type": "string",
  1251. "description": "微信code",
  1252. "name": "code",
  1253. "in": "query",
  1254. "required": true
  1255. }
  1256. ],
  1257. "responses": {
  1258. "200": {
  1259. "description": "OK",
  1260. "schema": {
  1261. "$ref": "#/definitions/response.LoginResp"
  1262. }
  1263. }
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "definitions": {
  1269. "activity.ActivityList": {
  1270. "type": "object",
  1271. "properties": {
  1272. "activityId": {
  1273. "type": "integer"
  1274. },
  1275. "activityName": {
  1276. "description": "活动名称",
  1277. "type": "string"
  1278. },
  1279. "activityState": {
  1280. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  1281. "type": "integer"
  1282. },
  1283. "activityTypeId": {
  1284. "description": "活动类型ID",
  1285. "type": "integer"
  1286. },
  1287. "activityTypeName": {
  1288. "description": "活动类型名称",
  1289. "type": "string"
  1290. },
  1291. "city": {
  1292. "description": "城市",
  1293. "type": "string"
  1294. },
  1295. "endTime": {
  1296. "description": "活动结束时间",
  1297. "type": "string"
  1298. },
  1299. "firstActivityTypeId": {
  1300. "description": "第一级的活动类型ID",
  1301. "type": "integer"
  1302. },
  1303. "firstActivityTypeName": {
  1304. "description": "第一级的活动类型名称",
  1305. "type": "string"
  1306. },
  1307. "hasPlayBack": {
  1308. "description": "是否有回放",
  1309. "type": "integer"
  1310. },
  1311. "hasRemind": {
  1312. "description": "是否已提醒",
  1313. "type": "integer"
  1314. },
  1315. "registerState": {
  1316. "description": "报名状态 0-取消报名 1-已报名",
  1317. "type": "integer"
  1318. },
  1319. "speaker": {
  1320. "description": "主讲人",
  1321. "type": "string"
  1322. },
  1323. "speakerBackgroundPic": {
  1324. "description": "主讲人背景图",
  1325. "type": "string"
  1326. },
  1327. "speakerHeadPic": {
  1328. "description": "主讲人头像",
  1329. "type": "string"
  1330. },
  1331. "startTime": {
  1332. "description": "活动开始时间",
  1333. "type": "string"
  1334. },
  1335. "voiceList": {
  1336. "description": "音频列表",
  1337. "type": "array",
  1338. "items": {
  1339. "$ref": "#/definitions/yb_activity_voice.YbActivityVoice"
  1340. }
  1341. },
  1342. "weekString": {
  1343. "description": "周几",
  1344. "type": "string"
  1345. }
  1346. }
  1347. },
  1348. "activity.RegisterCheckInfo": {
  1349. "type": "object",
  1350. "properties": {
  1351. "msg": {
  1352. "type": "string"
  1353. },
  1354. "specific": {
  1355. "type": "integer"
  1356. },
  1357. "type": {
  1358. "type": "string"
  1359. }
  1360. }
  1361. },
  1362. "activity.RemindCheckInfo": {
  1363. "type": "object",
  1364. "properties": {
  1365. "msg": {
  1366. "type": "string"
  1367. },
  1368. "specific": {
  1369. "type": "integer"
  1370. },
  1371. "type": {
  1372. "type": "string"
  1373. }
  1374. }
  1375. },
  1376. "admin.Admin": {
  1377. "type": "object",
  1378. "properties": {
  1379. "adminName": {
  1380. "type": "string"
  1381. },
  1382. "authority": {
  1383. "description": "管理权限,0:无,1:部门负责人,2:小组负责人,3:超级管理员",
  1384. "type": "integer"
  1385. },
  1386. "createdTime": {
  1387. "description": "创建时间",
  1388. "type": "string"
  1389. },
  1390. "departmentId": {
  1391. "description": "部门id",
  1392. "type": "integer"
  1393. },
  1394. "departmentName": {
  1395. "description": "部门名称",
  1396. "type": "string"
  1397. },
  1398. "email": {
  1399. "type": "string"
  1400. },
  1401. "enabled": {
  1402. "description": "1:有效,0:禁用",
  1403. "type": "integer"
  1404. },
  1405. "groupId": {
  1406. "description": "分组id",
  1407. "type": "integer"
  1408. },
  1409. "groupName": {
  1410. "description": "分组名称",
  1411. "type": "string"
  1412. },
  1413. "lastLoginTime": {
  1414. "description": "最近登陆时间",
  1415. "type": "string"
  1416. },
  1417. "lastUpdatedPasswordTime": {
  1418. "type": "string"
  1419. },
  1420. "lastUpdatedTime": {
  1421. "type": "string"
  1422. },
  1423. "mobile": {
  1424. "description": "手机号",
  1425. "type": "string"
  1426. },
  1427. "password": {
  1428. "type": "string"
  1429. },
  1430. "position": {
  1431. "description": "职位",
  1432. "type": "string"
  1433. },
  1434. "realName": {
  1435. "type": "string"
  1436. },
  1437. "role": {
  1438. "description": "用户角色",
  1439. "type": "string"
  1440. },
  1441. "roleId": {
  1442. "description": "角色id",
  1443. "type": "integer"
  1444. },
  1445. "roleName": {
  1446. "description": "角色名称",
  1447. "type": "string"
  1448. },
  1449. "roleType": {
  1450. "description": "角色类型:1需要录入指标,0:不需要",
  1451. "type": "integer"
  1452. },
  1453. "roleTypeCode": {
  1454. "description": "角色编码",
  1455. "type": "string"
  1456. }
  1457. }
  1458. },
  1459. "chart_edb_mapping.ChartEdbInfoMapping": {
  1460. "type": "object",
  1461. "properties": {
  1462. "chartColor": {
  1463. "type": "string"
  1464. },
  1465. "chartEdbMappingId": {
  1466. "type": "integer"
  1467. },
  1468. "chartInfoId": {
  1469. "type": "integer"
  1470. },
  1471. "chartStyle": {
  1472. "type": "string"
  1473. },
  1474. "chartWidth": {
  1475. "type": "number"
  1476. },
  1477. "dataList": {},
  1478. "edbCode": {
  1479. "type": "string"
  1480. },
  1481. "edbInfoId": {
  1482. "type": "integer"
  1483. },
  1484. "edbInfoType": {
  1485. "type": "integer"
  1486. },
  1487. "edbName": {
  1488. "type": "string"
  1489. },
  1490. "edbType": {
  1491. "type": "integer"
  1492. },
  1493. "endDate": {
  1494. "type": "string"
  1495. },
  1496. "frequency": {
  1497. "type": "string"
  1498. },
  1499. "isAxis": {
  1500. "type": "integer"
  1501. },
  1502. "isOrder": {
  1503. "type": "boolean"
  1504. },
  1505. "latestDate": {
  1506. "type": "string"
  1507. },
  1508. "latestValue": {
  1509. "type": "number"
  1510. },
  1511. "leadUnit": {
  1512. "type": "string"
  1513. },
  1514. "leadValue": {
  1515. "type": "integer"
  1516. },
  1517. "maxData": {
  1518. "type": "number"
  1519. },
  1520. "minData": {
  1521. "type": "number"
  1522. },
  1523. "modifyTime": {
  1524. "type": "string"
  1525. },
  1526. "source": {
  1527. "type": "integer"
  1528. },
  1529. "sourceName": {
  1530. "type": "string"
  1531. },
  1532. "startDate": {
  1533. "type": "string"
  1534. },
  1535. "uniqueCode": {
  1536. "type": "string"
  1537. },
  1538. "unit": {
  1539. "type": "string"
  1540. }
  1541. }
  1542. },
  1543. "chart_info.ChartInfoDetailResp": {
  1544. "type": "object",
  1545. "properties": {
  1546. "chartInfo": {
  1547. "$ref": "#/definitions/chart_info.ChartInfoView"
  1548. },
  1549. "edbInfoList": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/chart_edb_mapping.ChartEdbInfoMapping"
  1553. }
  1554. }
  1555. }
  1556. },
  1557. "chart_info.ChartInfoView": {
  1558. "type": "object",
  1559. "properties": {
  1560. "calendar": {
  1561. "type": "string"
  1562. },
  1563. "chartClassifyId": {
  1564. "type": "integer"
  1565. },
  1566. "chartClassifyName": {
  1567. "type": "string"
  1568. },
  1569. "chartImage": {
  1570. "type": "string"
  1571. },
  1572. "chartInfoId": {
  1573. "type": "integer"
  1574. },
  1575. "chartName": {
  1576. "type": "string"
  1577. },
  1578. "chartType": {
  1579. "type": "integer"
  1580. },
  1581. "createTime": {
  1582. "type": "string"
  1583. },
  1584. "dateType": {
  1585. "type": "integer"
  1586. },
  1587. "edbEndDate": {
  1588. "type": "string"
  1589. },
  1590. "edbInfoIds": {
  1591. "type": "string"
  1592. },
  1593. "endDate": {
  1594. "type": "string"
  1595. },
  1596. "isAdd": {
  1597. "type": "boolean"
  1598. },
  1599. "isSetName": {
  1600. "type": "integer"
  1601. },
  1602. "leftMax": {
  1603. "type": "string"
  1604. },
  1605. "leftMin": {
  1606. "type": "string"
  1607. },
  1608. "modifyTime": {
  1609. "type": "string"
  1610. },
  1611. "myChartClassifyId": {
  1612. "type": "string"
  1613. },
  1614. "myChartId": {
  1615. "type": "integer"
  1616. },
  1617. "rightMax": {
  1618. "type": "string"
  1619. },
  1620. "rightMin": {
  1621. "type": "string"
  1622. },
  1623. "seasonEndDate": {
  1624. "type": "string"
  1625. },
  1626. "seasonStartDate": {
  1627. "type": "string"
  1628. },
  1629. "sort": {
  1630. "type": "integer"
  1631. },
  1632. "startDate": {
  1633. "type": "string"
  1634. },
  1635. "sysUserId": {
  1636. "type": "integer"
  1637. },
  1638. "sysUserRealName": {
  1639. "type": "string"
  1640. },
  1641. "uniqueCode": {
  1642. "type": "string"
  1643. }
  1644. }
  1645. },
  1646. "chart_info.ChartSaveItem": {
  1647. "type": "object",
  1648. "properties": {
  1649. "chartColor": {
  1650. "type": "string"
  1651. },
  1652. "chartStyle": {
  1653. "type": "string"
  1654. },
  1655. "chartWidth": {
  1656. "type": "number"
  1657. },
  1658. "edbInfoId": {
  1659. "type": "integer"
  1660. },
  1661. "edbInfoType": {
  1662. "type": "integer"
  1663. },
  1664. "isAxis": {
  1665. "type": "integer"
  1666. },
  1667. "isOrder": {
  1668. "type": "boolean"
  1669. },
  1670. "leadUnit": {
  1671. "type": "string"
  1672. },
  1673. "leadValue": {
  1674. "type": "integer"
  1675. },
  1676. "maxData": {
  1677. "type": "number"
  1678. },
  1679. "minData": {
  1680. "type": "number"
  1681. }
  1682. }
  1683. },
  1684. "chart_info.SaveChartInfoReq": {
  1685. "type": "object",
  1686. "properties": {
  1687. "calendar": {
  1688. "type": "string"
  1689. },
  1690. "chartEdbInfoList": {
  1691. "type": "array",
  1692. "items": {
  1693. "$ref": "#/definitions/chart_info.ChartSaveItem"
  1694. }
  1695. },
  1696. "chartInfoId": {
  1697. "type": "integer"
  1698. },
  1699. "dateType": {
  1700. "type": "integer"
  1701. },
  1702. "endDate": {
  1703. "type": "string"
  1704. },
  1705. "leftMax": {
  1706. "type": "string"
  1707. },
  1708. "leftMin": {
  1709. "type": "string"
  1710. },
  1711. "rightMax": {
  1712. "type": "string"
  1713. },
  1714. "rightMin": {
  1715. "type": "string"
  1716. },
  1717. "seasonEndDate": {
  1718. "type": "string"
  1719. },
  1720. "seasonStartDate": {
  1721. "type": "string"
  1722. },
  1723. "startDate": {
  1724. "type": "string"
  1725. }
  1726. }
  1727. },
  1728. "logic.ApplyVariety": {
  1729. "type": "object",
  1730. "properties": {
  1731. "name": {
  1732. "type": "string"
  1733. },
  1734. "permission_name": {
  1735. "type": "string"
  1736. },
  1737. "pic_url": {
  1738. "type": "string"
  1739. }
  1740. }
  1741. },
  1742. "my_chart.MoveMyChartClassifyReq": {
  1743. "type": "object",
  1744. "properties": {
  1745. "myChartClassifyId": {
  1746. "type": "integer"
  1747. },
  1748. "nextClassifyId": {
  1749. "type": "integer"
  1750. },
  1751. "prevClassifyId": {
  1752. "type": "integer"
  1753. }
  1754. }
  1755. },
  1756. "my_chart.MoveMyChartReq": {
  1757. "type": "object",
  1758. "properties": {
  1759. "myChartClassifyId": {
  1760. "type": "integer"
  1761. },
  1762. "myChartId": {
  1763. "type": "integer"
  1764. },
  1765. "nextMyChartId": {
  1766. "type": "integer"
  1767. },
  1768. "prevMyChartId": {
  1769. "type": "integer"
  1770. }
  1771. }
  1772. },
  1773. "my_chart.MyChartClassifyListResp": {
  1774. "type": "object",
  1775. "properties": {
  1776. "private_classify": {
  1777. "type": "array",
  1778. "items": {
  1779. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  1780. }
  1781. },
  1782. "public_classify": {
  1783. "type": "array",
  1784. "items": {
  1785. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "my_chart.MyChartList": {
  1791. "type": "object",
  1792. "properties": {
  1793. "calendar": {
  1794. "type": "string"
  1795. },
  1796. "chartClassifyId": {
  1797. "type": "integer"
  1798. },
  1799. "chartImage": {
  1800. "type": "string"
  1801. },
  1802. "chartInfoId": {
  1803. "type": "integer"
  1804. },
  1805. "chartName": {
  1806. "type": "string"
  1807. },
  1808. "chartType": {
  1809. "type": "integer"
  1810. },
  1811. "createTime": {
  1812. "type": "string"
  1813. },
  1814. "dateType": {
  1815. "type": "integer"
  1816. },
  1817. "edbEndDate": {
  1818. "type": "string"
  1819. },
  1820. "edbInfoIds": {
  1821. "type": "string"
  1822. },
  1823. "endDate": {
  1824. "type": "string"
  1825. },
  1826. "isAdd": {
  1827. "type": "boolean"
  1828. },
  1829. "isSetName": {
  1830. "type": "integer"
  1831. },
  1832. "modifyTime": {
  1833. "type": "string"
  1834. },
  1835. "myChartClassifyId": {
  1836. "type": "string"
  1837. },
  1838. "myChartClassifyName": {
  1839. "type": "string"
  1840. },
  1841. "myChartId": {
  1842. "type": "integer"
  1843. },
  1844. "seasonEndDate": {
  1845. "type": "string"
  1846. },
  1847. "seasonStartDate": {
  1848. "type": "string"
  1849. },
  1850. "sort": {
  1851. "type": "integer"
  1852. },
  1853. "startDate": {
  1854. "type": "string"
  1855. },
  1856. "sysUserId": {
  1857. "type": "integer"
  1858. },
  1859. "sysUserRealName": {
  1860. "type": "string"
  1861. },
  1862. "uniqueCode": {
  1863. "type": "string"
  1864. }
  1865. }
  1866. },
  1867. "my_chart_classify.MyChartClassify": {
  1868. "type": "object",
  1869. "properties": {
  1870. "adminId": {
  1871. "description": "用户id",
  1872. "type": "integer"
  1873. },
  1874. "companyPublicTime": {
  1875. "description": "用户可见公开时间",
  1876. "type": "string"
  1877. },
  1878. "createTime": {
  1879. "type": "string"
  1880. },
  1881. "isCompanyPublic": {
  1882. "description": "是否用户可见:0-否 1-是",
  1883. "type": "integer"
  1884. },
  1885. "isPublic": {
  1886. "description": "是否所有人可见,0:仅自己可见,1:所有人可见",
  1887. "type": "integer"
  1888. },
  1889. "modifyTime": {
  1890. "type": "string"
  1891. },
  1892. "myChartClassifyId": {
  1893. "type": "integer"
  1894. },
  1895. "myChartClassifyName": {
  1896. "description": "分类名称",
  1897. "type": "string"
  1898. },
  1899. "publicTime": {
  1900. "description": "公开时间",
  1901. "type": "string"
  1902. },
  1903. "sort": {
  1904. "description": "排序字段,值越小,越靠前",
  1905. "type": "integer"
  1906. }
  1907. }
  1908. },
  1909. "response.LoginResp": {
  1910. "type": "object",
  1911. "properties": {
  1912. "authorization": {
  1913. "type": "string"
  1914. },
  1915. "is_bind": {
  1916. "type": "boolean"
  1917. },
  1918. "user_id": {
  1919. "type": "integer"
  1920. }
  1921. }
  1922. },
  1923. "user.ApplyReq": {
  1924. "type": "object",
  1925. "properties": {
  1926. "business_card_url": {
  1927. "type": "string"
  1928. },
  1929. "company_name": {
  1930. "type": "string"
  1931. },
  1932. "permission": {
  1933. "type": "string"
  1934. },
  1935. "real_name": {
  1936. "type": "string"
  1937. },
  1938. "source": {
  1939. "type": "integer"
  1940. }
  1941. }
  1942. },
  1943. "user.CompanyPermission": {
  1944. "type": "object",
  1945. "properties": {
  1946. "name": {
  1947. "type": "string"
  1948. },
  1949. "permission_list": {
  1950. "type": "array",
  1951. "items": {
  1952. "$ref": "#/definitions/user.PermissionList"
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "user.Detail": {
  1958. "type": "object",
  1959. "properties": {
  1960. "admin_info": {
  1961. "$ref": "#/definitions/admin.Admin"
  1962. },
  1963. "company_name": {
  1964. "type": "string"
  1965. },
  1966. "email": {
  1967. "type": "string"
  1968. },
  1969. "is_inner": {
  1970. "type": "integer"
  1971. },
  1972. "is_suspend": {
  1973. "type": "integer"
  1974. },
  1975. "mobile": {
  1976. "type": "string"
  1977. },
  1978. "permission_list": {
  1979. "type": "array",
  1980. "items": {
  1981. "$ref": "#/definitions/user.CompanyPermission"
  1982. }
  1983. },
  1984. "real_name": {
  1985. "type": "string"
  1986. },
  1987. "seal_mobile": {
  1988. "type": "string"
  1989. },
  1990. "seal_name": {
  1991. "type": "string"
  1992. },
  1993. "status": {
  1994. "type": "string"
  1995. }
  1996. }
  1997. },
  1998. "user.LoginReq": {
  1999. "type": "object",
  2000. "properties": {
  2001. "area_num": {
  2002. "type": "integer"
  2003. },
  2004. "bind_type": {
  2005. "type": "integer"
  2006. },
  2007. "email": {
  2008. "type": "string"
  2009. },
  2010. "mobile": {
  2011. "type": "string"
  2012. },
  2013. "verify_code": {
  2014. "type": "string"
  2015. }
  2016. }
  2017. },
  2018. "user.LoginResp": {
  2019. "type": "object",
  2020. "properties": {
  2021. "email": {
  2022. "type": "string"
  2023. },
  2024. "mobile": {
  2025. "type": "string"
  2026. },
  2027. "token": {
  2028. "type": "string"
  2029. },
  2030. "user_id": {
  2031. "type": "integer"
  2032. }
  2033. }
  2034. },
  2035. "user.PermissionList": {
  2036. "type": "object",
  2037. "properties": {
  2038. "end_date": {
  2039. "type": "string"
  2040. },
  2041. "name": {
  2042. "type": "string"
  2043. },
  2044. "start_date": {
  2045. "type": "string"
  2046. },
  2047. "status": {
  2048. "type": "string"
  2049. }
  2050. }
  2051. },
  2052. "user.Record": {
  2053. "type": "object",
  2054. "properties": {
  2055. "business_card_url": {
  2056. "type": "string"
  2057. },
  2058. "company_name": {
  2059. "type": "string"
  2060. },
  2061. "mobile": {
  2062. "type": "string"
  2063. },
  2064. "real_name": {
  2065. "type": "string"
  2066. }
  2067. }
  2068. },
  2069. "yb_activity.ActivityDetail": {
  2070. "type": "object",
  2071. "properties": {
  2072. "activityId": {
  2073. "type": "integer"
  2074. },
  2075. "activityName": {
  2076. "description": "活动名称",
  2077. "type": "string"
  2078. },
  2079. "activityState": {
  2080. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  2081. "type": "integer"
  2082. },
  2083. "activityTypeId": {
  2084. "description": "活动类型ID",
  2085. "type": "integer"
  2086. },
  2087. "activityTypeName": {
  2088. "description": "活动类型名称",
  2089. "type": "string"
  2090. },
  2091. "address": {
  2092. "description": "活动地址",
  2093. "type": "string"
  2094. },
  2095. "americaTel": {
  2096. "description": "美国拨入",
  2097. "type": "string"
  2098. },
  2099. "city": {
  2100. "description": "城市",
  2101. "type": "string"
  2102. },
  2103. "endTime": {
  2104. "description": "活动结束时间",
  2105. "type": "string"
  2106. },
  2107. "firstActivityTypeId": {
  2108. "description": "第一级的活动类型ID",
  2109. "type": "integer"
  2110. },
  2111. "firstActivityTypeName": {
  2112. "description": "第一级的活动类型名称",
  2113. "type": "string"
  2114. },
  2115. "hasPlayBack": {
  2116. "description": "是否有回放",
  2117. "type": "integer"
  2118. },
  2119. "hasRemind": {
  2120. "description": "是否已提醒",
  2121. "type": "integer"
  2122. },
  2123. "hongKongTel": {
  2124. "description": "香港拨入",
  2125. "type": "string"
  2126. },
  2127. "isLimitPeople": {
  2128. "description": "是否限制人数 1是,0否",
  2129. "type": "integer"
  2130. },
  2131. "limitPeopleNum": {
  2132. "description": "限制人数数量",
  2133. "type": "integer"
  2134. },
  2135. "linkParticipants": {
  2136. "description": "参会链接",
  2137. "type": "string"
  2138. },
  2139. "mainlandTel": {
  2140. "description": "大陆拨入",
  2141. "type": "string"
  2142. },
  2143. "participationCode": {
  2144. "description": "参会密码",
  2145. "type": "string"
  2146. },
  2147. "registerState": {
  2148. "description": "报名状态 0-取消报名 1-已报名",
  2149. "type": "integer"
  2150. },
  2151. "registeredNum": {
  2152. "description": "已报名人数",
  2153. "type": "integer"
  2154. },
  2155. "reportLink": {
  2156. "description": "报告链接",
  2157. "type": "string"
  2158. },
  2159. "reportName": {
  2160. "description": "报告名称",
  2161. "type": "string"
  2162. },
  2163. "singaporeTel": {
  2164. "description": "新加坡拨入",
  2165. "type": "string"
  2166. },
  2167. "speaker": {
  2168. "description": "主讲人",
  2169. "type": "string"
  2170. },
  2171. "speakerBackgroundPic": {
  2172. "description": "主讲人背景图",
  2173. "type": "string"
  2174. },
  2175. "speakerHeadPic": {
  2176. "description": "主讲人头像",
  2177. "type": "string"
  2178. },
  2179. "startTime": {
  2180. "description": "活动开始时间",
  2181. "type": "string"
  2182. },
  2183. "taiwanTel": {
  2184. "description": "台湾拨入",
  2185. "type": "string"
  2186. },
  2187. "weekString": {
  2188. "description": "周几",
  2189. "type": "string"
  2190. }
  2191. }
  2192. },
  2193. "yb_activity_voice.YbActivityVoice": {
  2194. "type": "object",
  2195. "properties": {
  2196. "activityId": {
  2197. "description": "活动id",
  2198. "type": "integer"
  2199. },
  2200. "createTime": {
  2201. "type": "string"
  2202. },
  2203. "voiceName": {
  2204. "description": "音频名称",
  2205. "type": "string"
  2206. },
  2207. "voicePlaySeconds": {
  2208. "description": "音频时长",
  2209. "type": "string"
  2210. },
  2211. "voiceUrl": {
  2212. "description": "音频地址",
  2213. "type": "string"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. }