swagger.json 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086
  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. "/public/get_apply_variety_list": {
  659. "get": {
  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": "微信登录后获取到的token",
  677. "name": "Authorization",
  678. "in": "header",
  679. "required": true
  680. }
  681. ],
  682. "responses": {
  683. "200": {
  684. "description": "获取成功",
  685. "schema": {
  686. "type": "array",
  687. "items": {
  688. "$ref": "#/definitions/logic.ApplyVariety"
  689. }
  690. }
  691. },
  692. "400": {
  693. "description": "获取失败",
  694. "schema": {
  695. "type": "string"
  696. }
  697. }
  698. }
  699. }
  700. },
  701. "/public/upload": {
  702. "post": {
  703. "security": [
  704. {
  705. "ApiKeyAuth": []
  706. }
  707. ],
  708. "description": "文件上传",
  709. "consumes": [
  710. "multipart/form-data"
  711. ],
  712. "tags": [
  713. "公共模块"
  714. ],
  715. "summary": "文件上传",
  716. "parameters": [
  717. {
  718. "type": "string",
  719. "description": "微信登录后获取到的token",
  720. "name": "Authorization",
  721. "in": "header",
  722. "required": true
  723. },
  724. {
  725. "type": "file",
  726. "description": "操作描述",
  727. "name": "file",
  728. "in": "formData"
  729. }
  730. ],
  731. "responses": {
  732. "200": {
  733. "description": "上传成功",
  734. "schema": {
  735. "type": "string"
  736. }
  737. },
  738. "400": {
  739. "description": "上传失败,存储目录创建失败",
  740. "schema": {
  741. "type": "string"
  742. }
  743. }
  744. }
  745. }
  746. },
  747. "/report/research_report": {
  748. "get": {
  749. "security": [
  750. {
  751. "ApiKeyAuth": []
  752. }
  753. ],
  754. "description": "获取报告详情",
  755. "consumes": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "报告接口"
  760. ],
  761. "summary": "获取报告详情",
  762. "parameters": [
  763. {
  764. "type": "string",
  765. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  766. "name": "Authorization",
  767. "in": "header",
  768. "required": true
  769. },
  770. {
  771. "type": "integer",
  772. "description": "活动ID",
  773. "name": "research_report_id",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/yb_activity.ActivityDetail"
  783. }
  784. },
  785. "400": {
  786. "description": "获取失败",
  787. "schema": {
  788. "type": "string"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/user/apply": {
  795. "post": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "description": "用户申请",
  802. "consumes": [
  803. "application/json"
  804. ],
  805. "tags": [
  806. "用户模块"
  807. ],
  808. "summary": "用户申请",
  809. "parameters": [
  810. {
  811. "type": "string",
  812. "description": "微信登录后获取到的token",
  813. "name": "Authorization",
  814. "in": "header",
  815. "required": true
  816. },
  817. {
  818. "description": "请求参数",
  819. "name": "data",
  820. "in": "body",
  821. "required": true,
  822. "schema": {
  823. "$ref": "#/definitions/user.ApplyReq"
  824. }
  825. }
  826. ],
  827. "responses": {
  828. "200": {
  829. "description": "OK",
  830. "schema": {
  831. "$ref": "#/definitions/user.LoginResp"
  832. }
  833. }
  834. }
  835. }
  836. },
  837. "/user/get_email_code": {
  838. "get": {
  839. "security": [
  840. {
  841. "ApiKeyAuth": []
  842. }
  843. ],
  844. "description": "获取邮箱验证码",
  845. "consumes": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "用户模块"
  850. ],
  851. "summary": "获取邮箱验证码",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "微信登录后获取到的token",
  856. "name": "Authorization",
  857. "in": "header",
  858. "required": true
  859. },
  860. {
  861. "type": "string",
  862. "description": "电子邮箱账号",
  863. "name": "email",
  864. "in": "query",
  865. "required": true
  866. }
  867. ],
  868. "responses": {
  869. "200": {
  870. "description": "OK",
  871. "schema": {
  872. "type": "string"
  873. }
  874. },
  875. "400": {
  876. "description": "Bad Request",
  877. "schema": {
  878. "type": "string"
  879. }
  880. }
  881. }
  882. }
  883. },
  884. "/user/get_last_apply_record": {
  885. "get": {
  886. "security": [
  887. {
  888. "ApiKeyAuth": []
  889. }
  890. ],
  891. "description": "获取最近一条申请单信息",
  892. "consumes": [
  893. "application/json"
  894. ],
  895. "tags": [
  896. "用户模块"
  897. ],
  898. "summary": "获取最近一条申请单信息",
  899. "parameters": [
  900. {
  901. "type": "string",
  902. "description": "微信登录后获取到的token",
  903. "name": "Authorization",
  904. "in": "header",
  905. "required": true
  906. }
  907. ],
  908. "responses": {
  909. "200": {
  910. "description": "获取成功",
  911. "schema": {
  912. "$ref": "#/definitions/user.Record"
  913. }
  914. },
  915. "400": {
  916. "description": "获取失败",
  917. "schema": {
  918. "type": "string"
  919. }
  920. }
  921. }
  922. }
  923. },
  924. "/user/get_sms_code": {
  925. "get": {
  926. "security": [
  927. {
  928. "ApiKeyAuth": []
  929. }
  930. ],
  931. "description": "获取短信验证码接口",
  932. "consumes": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "用户模块"
  937. ],
  938. "summary": "获取短信验证码",
  939. "parameters": [
  940. {
  941. "type": "string",
  942. "description": "微信登录后获取到的token",
  943. "name": "Authorization",
  944. "in": "header",
  945. "required": true
  946. },
  947. {
  948. "type": "string",
  949. "description": "手机号",
  950. "name": "mobile",
  951. "in": "query",
  952. "required": true
  953. },
  954. {
  955. "type": "string",
  956. "description": "手机国际区号(中国大陆:86)",
  957. "name": "area_num",
  958. "in": "query",
  959. "required": true
  960. }
  961. ],
  962. "responses": {
  963. "200": {
  964. "description": "OK",
  965. "schema": {
  966. "type": "string"
  967. }
  968. },
  969. "400": {
  970. "description": "Bad Request",
  971. "schema": {
  972. "type": "string"
  973. }
  974. }
  975. }
  976. }
  977. },
  978. "/user/get_tab_bar": {
  979. "get": {
  980. "security": [
  981. {
  982. "ApiKeyAuth": []
  983. }
  984. ],
  985. "description": "获取用户的菜单栏权限",
  986. "consumes": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "用户模块"
  991. ],
  992. "summary": "获取用户的菜单栏权限",
  993. "parameters": [
  994. {
  995. "type": "string",
  996. "description": "微信登录后获取到的token",
  997. "name": "Authorization",
  998. "in": "header",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "获取成功",
  1005. "schema": {
  1006. "type": "array",
  1007. "items": {
  1008. "type": "string"
  1009. }
  1010. }
  1011. },
  1012. "400": {
  1013. "description": "获取失败",
  1014. "schema": {
  1015. "type": "string"
  1016. }
  1017. }
  1018. }
  1019. }
  1020. },
  1021. "/user/info": {
  1022. "get": {
  1023. "security": [
  1024. {
  1025. "ApiKeyAuth": []
  1026. }
  1027. ],
  1028. "description": "我的详情",
  1029. "consumes": [
  1030. "application/json"
  1031. ],
  1032. "tags": [
  1033. "用户模块"
  1034. ],
  1035. "summary": "我的详情",
  1036. "parameters": [
  1037. {
  1038. "type": "string",
  1039. "description": "微信登录后获取到的token",
  1040. "name": "Authorization",
  1041. "in": "header",
  1042. "required": true
  1043. }
  1044. ],
  1045. "responses": {
  1046. "200": {
  1047. "description": "获取成功",
  1048. "schema": {
  1049. "$ref": "#/definitions/user.Detail"
  1050. }
  1051. },
  1052. "400": {
  1053. "description": "获取失败",
  1054. "schema": {
  1055. "type": "string"
  1056. }
  1057. }
  1058. }
  1059. }
  1060. },
  1061. "/user/login": {
  1062. "post": {
  1063. "security": [
  1064. {
  1065. "ApiKeyAuth": []
  1066. }
  1067. ],
  1068. "description": "用户手机号/邮箱登录",
  1069. "consumes": [
  1070. "application/json"
  1071. ],
  1072. "tags": [
  1073. "用户模块"
  1074. ],
  1075. "summary": "用户登录",
  1076. "parameters": [
  1077. {
  1078. "type": "string",
  1079. "description": "微信登录后获取到的token",
  1080. "name": "Authorization",
  1081. "in": "header",
  1082. "required": true
  1083. },
  1084. {
  1085. "description": "请求参数",
  1086. "name": "data",
  1087. "in": "body",
  1088. "required": true,
  1089. "schema": {
  1090. "$ref": "#/definitions/user.LoginReq"
  1091. }
  1092. }
  1093. ],
  1094. "responses": {
  1095. "200": {
  1096. "description": "OK",
  1097. "schema": {
  1098. "$ref": "#/definitions/user.LoginResp"
  1099. }
  1100. }
  1101. }
  1102. }
  1103. },
  1104. "/wechat/getEncryptInfo": {
  1105. "post": {
  1106. "description": "消息解密",
  1107. "consumes": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "微信相关接口"
  1112. ],
  1113. "summary": "消息解密",
  1114. "parameters": [
  1115. {
  1116. "type": "string",
  1117. "description": "加密数据",
  1118. "name": "encryptedData",
  1119. "in": "query",
  1120. "required": true
  1121. },
  1122. {
  1123. "type": "string",
  1124. "description": "加密算法初始向量",
  1125. "name": "iv",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "获取成功",
  1133. "schema": {
  1134. "type": "string"
  1135. }
  1136. }
  1137. }
  1138. }
  1139. },
  1140. "/wechat/login": {
  1141. "get": {
  1142. "description": "微信登录",
  1143. "consumes": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "微信相关接口"
  1148. ],
  1149. "summary": "微信登录",
  1150. "parameters": [
  1151. {
  1152. "type": "string",
  1153. "description": "微信code",
  1154. "name": "code",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "$ref": "#/definitions/response.LoginResp"
  1164. }
  1165. }
  1166. }
  1167. }
  1168. }
  1169. },
  1170. "definitions": {
  1171. "activity.ActivityList": {
  1172. "type": "object",
  1173. "properties": {
  1174. "activityId": {
  1175. "type": "integer"
  1176. },
  1177. "activityName": {
  1178. "description": "活动名称",
  1179. "type": "string"
  1180. },
  1181. "activityState": {
  1182. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  1183. "type": "integer"
  1184. },
  1185. "activityTypeId": {
  1186. "description": "活动类型ID",
  1187. "type": "integer"
  1188. },
  1189. "activityTypeName": {
  1190. "description": "活动类型名称",
  1191. "type": "string"
  1192. },
  1193. "city": {
  1194. "description": "城市",
  1195. "type": "string"
  1196. },
  1197. "endTime": {
  1198. "description": "活动结束时间",
  1199. "type": "string"
  1200. },
  1201. "firstActivityTypeId": {
  1202. "description": "第一级的活动类型ID",
  1203. "type": "integer"
  1204. },
  1205. "firstActivityTypeName": {
  1206. "description": "第一级的活动类型名称",
  1207. "type": "string"
  1208. },
  1209. "hasPlayBack": {
  1210. "description": "是否有回放",
  1211. "type": "integer"
  1212. },
  1213. "hasRemind": {
  1214. "description": "是否已提醒",
  1215. "type": "integer"
  1216. },
  1217. "registerState": {
  1218. "description": "报名状态 0-取消报名 1-已报名",
  1219. "type": "integer"
  1220. },
  1221. "speaker": {
  1222. "description": "主讲人",
  1223. "type": "string"
  1224. },
  1225. "speakerBackgroundPic": {
  1226. "description": "主讲人背景图",
  1227. "type": "string"
  1228. },
  1229. "speakerHeadPic": {
  1230. "description": "主讲人头像",
  1231. "type": "string"
  1232. },
  1233. "startTime": {
  1234. "description": "活动开始时间",
  1235. "type": "string"
  1236. },
  1237. "voiceList": {
  1238. "description": "音频列表",
  1239. "type": "array",
  1240. "items": {
  1241. "$ref": "#/definitions/yb_activity_voice.YbActivityVoice"
  1242. }
  1243. },
  1244. "weekString": {
  1245. "description": "周几",
  1246. "type": "string"
  1247. }
  1248. }
  1249. },
  1250. "activity.RegisterCheckInfo": {
  1251. "type": "object",
  1252. "properties": {
  1253. "msg": {
  1254. "type": "string"
  1255. },
  1256. "specific": {
  1257. "type": "integer"
  1258. },
  1259. "type": {
  1260. "type": "string"
  1261. }
  1262. }
  1263. },
  1264. "activity.RemindCheckInfo": {
  1265. "type": "object",
  1266. "properties": {
  1267. "msg": {
  1268. "type": "string"
  1269. },
  1270. "specific": {
  1271. "type": "integer"
  1272. },
  1273. "type": {
  1274. "type": "string"
  1275. }
  1276. }
  1277. },
  1278. "admin.Admin": {
  1279. "type": "object",
  1280. "properties": {
  1281. "adminName": {
  1282. "type": "string"
  1283. },
  1284. "authority": {
  1285. "description": "管理权限,0:无,1:部门负责人,2:小组负责人,3:超级管理员",
  1286. "type": "integer"
  1287. },
  1288. "createdTime": {
  1289. "description": "创建时间",
  1290. "type": "string"
  1291. },
  1292. "departmentId": {
  1293. "description": "部门id",
  1294. "type": "integer"
  1295. },
  1296. "departmentName": {
  1297. "description": "部门名称",
  1298. "type": "string"
  1299. },
  1300. "email": {
  1301. "type": "string"
  1302. },
  1303. "enabled": {
  1304. "description": "1:有效,0:禁用",
  1305. "type": "integer"
  1306. },
  1307. "groupId": {
  1308. "description": "分组id",
  1309. "type": "integer"
  1310. },
  1311. "groupName": {
  1312. "description": "分组名称",
  1313. "type": "string"
  1314. },
  1315. "lastLoginTime": {
  1316. "description": "最近登陆时间",
  1317. "type": "string"
  1318. },
  1319. "lastUpdatedPasswordTime": {
  1320. "type": "string"
  1321. },
  1322. "lastUpdatedTime": {
  1323. "type": "string"
  1324. },
  1325. "mobile": {
  1326. "description": "手机号",
  1327. "type": "string"
  1328. },
  1329. "password": {
  1330. "type": "string"
  1331. },
  1332. "position": {
  1333. "description": "职位",
  1334. "type": "string"
  1335. },
  1336. "realName": {
  1337. "type": "string"
  1338. },
  1339. "role": {
  1340. "description": "用户角色",
  1341. "type": "string"
  1342. },
  1343. "roleId": {
  1344. "description": "角色id",
  1345. "type": "integer"
  1346. },
  1347. "roleName": {
  1348. "description": "角色名称",
  1349. "type": "string"
  1350. },
  1351. "roleType": {
  1352. "description": "角色类型:1需要录入指标,0:不需要",
  1353. "type": "integer"
  1354. },
  1355. "roleTypeCode": {
  1356. "description": "角色编码",
  1357. "type": "string"
  1358. }
  1359. }
  1360. },
  1361. "chart_edb_mapping.ChartEdbInfoMapping": {
  1362. "type": "object",
  1363. "properties": {
  1364. "chartColor": {
  1365. "type": "string"
  1366. },
  1367. "chartEdbMappingId": {
  1368. "type": "integer"
  1369. },
  1370. "chartInfoId": {
  1371. "type": "integer"
  1372. },
  1373. "chartStyle": {
  1374. "type": "string"
  1375. },
  1376. "chartWidth": {
  1377. "type": "number"
  1378. },
  1379. "dataList": {},
  1380. "edbCode": {
  1381. "type": "string"
  1382. },
  1383. "edbInfoId": {
  1384. "type": "integer"
  1385. },
  1386. "edbInfoType": {
  1387. "type": "integer"
  1388. },
  1389. "edbName": {
  1390. "type": "string"
  1391. },
  1392. "edbType": {
  1393. "type": "integer"
  1394. },
  1395. "endDate": {
  1396. "type": "string"
  1397. },
  1398. "frequency": {
  1399. "type": "string"
  1400. },
  1401. "isAxis": {
  1402. "type": "integer"
  1403. },
  1404. "isOrder": {
  1405. "type": "boolean"
  1406. },
  1407. "latestDate": {
  1408. "type": "string"
  1409. },
  1410. "latestValue": {
  1411. "type": "number"
  1412. },
  1413. "leadUnit": {
  1414. "type": "string"
  1415. },
  1416. "leadValue": {
  1417. "type": "integer"
  1418. },
  1419. "maxData": {
  1420. "type": "number"
  1421. },
  1422. "minData": {
  1423. "type": "number"
  1424. },
  1425. "modifyTime": {
  1426. "type": "string"
  1427. },
  1428. "source": {
  1429. "type": "integer"
  1430. },
  1431. "sourceName": {
  1432. "type": "string"
  1433. },
  1434. "startDate": {
  1435. "type": "string"
  1436. },
  1437. "uniqueCode": {
  1438. "type": "string"
  1439. },
  1440. "unit": {
  1441. "type": "string"
  1442. }
  1443. }
  1444. },
  1445. "chart_info.ChartInfoDetailResp": {
  1446. "type": "object",
  1447. "properties": {
  1448. "chartInfo": {
  1449. "$ref": "#/definitions/chart_info.ChartInfoView"
  1450. },
  1451. "edbInfoList": {
  1452. "type": "array",
  1453. "items": {
  1454. "$ref": "#/definitions/chart_edb_mapping.ChartEdbInfoMapping"
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "chart_info.ChartInfoView": {
  1460. "type": "object",
  1461. "properties": {
  1462. "calendar": {
  1463. "type": "string"
  1464. },
  1465. "chartClassifyId": {
  1466. "type": "integer"
  1467. },
  1468. "chartClassifyName": {
  1469. "type": "string"
  1470. },
  1471. "chartImage": {
  1472. "type": "string"
  1473. },
  1474. "chartInfoId": {
  1475. "type": "integer"
  1476. },
  1477. "chartName": {
  1478. "type": "string"
  1479. },
  1480. "chartType": {
  1481. "type": "integer"
  1482. },
  1483. "createTime": {
  1484. "type": "string"
  1485. },
  1486. "dateType": {
  1487. "type": "integer"
  1488. },
  1489. "edbEndDate": {
  1490. "type": "string"
  1491. },
  1492. "edbInfoIds": {
  1493. "type": "string"
  1494. },
  1495. "endDate": {
  1496. "type": "string"
  1497. },
  1498. "isAdd": {
  1499. "type": "boolean"
  1500. },
  1501. "isSetName": {
  1502. "type": "integer"
  1503. },
  1504. "leftMax": {
  1505. "type": "string"
  1506. },
  1507. "leftMin": {
  1508. "type": "string"
  1509. },
  1510. "modifyTime": {
  1511. "type": "string"
  1512. },
  1513. "myChartClassifyId": {
  1514. "type": "string"
  1515. },
  1516. "myChartId": {
  1517. "type": "integer"
  1518. },
  1519. "rightMax": {
  1520. "type": "string"
  1521. },
  1522. "rightMin": {
  1523. "type": "string"
  1524. },
  1525. "seasonEndDate": {
  1526. "type": "string"
  1527. },
  1528. "seasonStartDate": {
  1529. "type": "string"
  1530. },
  1531. "sort": {
  1532. "type": "integer"
  1533. },
  1534. "startDate": {
  1535. "type": "string"
  1536. },
  1537. "sysUserId": {
  1538. "type": "integer"
  1539. },
  1540. "sysUserRealName": {
  1541. "type": "string"
  1542. },
  1543. "uniqueCode": {
  1544. "type": "string"
  1545. }
  1546. }
  1547. },
  1548. "chart_info.ChartSaveItem": {
  1549. "type": "object",
  1550. "properties": {
  1551. "chartColor": {
  1552. "type": "string"
  1553. },
  1554. "chartStyle": {
  1555. "type": "string"
  1556. },
  1557. "chartWidth": {
  1558. "type": "number"
  1559. },
  1560. "edbInfoId": {
  1561. "type": "integer"
  1562. },
  1563. "edbInfoType": {
  1564. "type": "integer"
  1565. },
  1566. "isAxis": {
  1567. "type": "integer"
  1568. },
  1569. "isOrder": {
  1570. "type": "boolean"
  1571. },
  1572. "leadUnit": {
  1573. "type": "string"
  1574. },
  1575. "leadValue": {
  1576. "type": "integer"
  1577. },
  1578. "maxData": {
  1579. "type": "number"
  1580. },
  1581. "minData": {
  1582. "type": "number"
  1583. }
  1584. }
  1585. },
  1586. "chart_info.SaveChartInfoReq": {
  1587. "type": "object",
  1588. "properties": {
  1589. "calendar": {
  1590. "type": "string"
  1591. },
  1592. "chartEdbInfoList": {
  1593. "type": "array",
  1594. "items": {
  1595. "$ref": "#/definitions/chart_info.ChartSaveItem"
  1596. }
  1597. },
  1598. "chartInfoId": {
  1599. "type": "integer"
  1600. },
  1601. "dateType": {
  1602. "type": "integer"
  1603. },
  1604. "endDate": {
  1605. "type": "string"
  1606. },
  1607. "leftMax": {
  1608. "type": "string"
  1609. },
  1610. "leftMin": {
  1611. "type": "string"
  1612. },
  1613. "rightMax": {
  1614. "type": "string"
  1615. },
  1616. "rightMin": {
  1617. "type": "string"
  1618. },
  1619. "seasonEndDate": {
  1620. "type": "string"
  1621. },
  1622. "seasonStartDate": {
  1623. "type": "string"
  1624. },
  1625. "startDate": {
  1626. "type": "string"
  1627. }
  1628. }
  1629. },
  1630. "logic.ApplyVariety": {
  1631. "type": "object",
  1632. "properties": {
  1633. "name": {
  1634. "type": "string"
  1635. },
  1636. "permission_name": {
  1637. "type": "string"
  1638. },
  1639. "pic_url": {
  1640. "type": "string"
  1641. }
  1642. }
  1643. },
  1644. "my_chart.MyChartClassifyListResp": {
  1645. "type": "object",
  1646. "properties": {
  1647. "private_classify": {
  1648. "type": "array",
  1649. "items": {
  1650. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  1651. }
  1652. },
  1653. "public_classify": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  1657. }
  1658. }
  1659. }
  1660. },
  1661. "my_chart.MyChartList": {
  1662. "type": "object",
  1663. "properties": {
  1664. "calendar": {
  1665. "type": "string"
  1666. },
  1667. "chartClassifyId": {
  1668. "type": "integer"
  1669. },
  1670. "chartImage": {
  1671. "type": "string"
  1672. },
  1673. "chartInfoId": {
  1674. "type": "integer"
  1675. },
  1676. "chartName": {
  1677. "type": "string"
  1678. },
  1679. "chartType": {
  1680. "type": "integer"
  1681. },
  1682. "createTime": {
  1683. "type": "string"
  1684. },
  1685. "dateType": {
  1686. "type": "integer"
  1687. },
  1688. "edbEndDate": {
  1689. "type": "string"
  1690. },
  1691. "edbInfoIds": {
  1692. "type": "string"
  1693. },
  1694. "endDate": {
  1695. "type": "string"
  1696. },
  1697. "isAdd": {
  1698. "type": "boolean"
  1699. },
  1700. "isSetName": {
  1701. "type": "integer"
  1702. },
  1703. "modifyTime": {
  1704. "type": "string"
  1705. },
  1706. "myChartClassifyId": {
  1707. "type": "string"
  1708. },
  1709. "myChartClassifyName": {
  1710. "type": "string"
  1711. },
  1712. "myChartId": {
  1713. "type": "integer"
  1714. },
  1715. "seasonEndDate": {
  1716. "type": "string"
  1717. },
  1718. "seasonStartDate": {
  1719. "type": "string"
  1720. },
  1721. "sort": {
  1722. "type": "integer"
  1723. },
  1724. "startDate": {
  1725. "type": "string"
  1726. },
  1727. "sysUserId": {
  1728. "type": "integer"
  1729. },
  1730. "sysUserRealName": {
  1731. "type": "string"
  1732. },
  1733. "uniqueCode": {
  1734. "type": "string"
  1735. }
  1736. }
  1737. },
  1738. "my_chart_classify.MyChartClassify": {
  1739. "type": "object",
  1740. "properties": {
  1741. "adminId": {
  1742. "description": "用户id",
  1743. "type": "integer"
  1744. },
  1745. "companyPublicTime": {
  1746. "description": "用户可见公开时间",
  1747. "type": "string"
  1748. },
  1749. "createTime": {
  1750. "type": "string"
  1751. },
  1752. "isCompanyPublic": {
  1753. "description": "是否用户可见:0-否 1-是",
  1754. "type": "integer"
  1755. },
  1756. "isPublic": {
  1757. "description": "是否所有人可见,0:仅自己可见,1:所有人可见",
  1758. "type": "integer"
  1759. },
  1760. "modifyTime": {
  1761. "type": "string"
  1762. },
  1763. "myChartClassifyName": {
  1764. "description": "分类名称",
  1765. "type": "string"
  1766. },
  1767. "publicTime": {
  1768. "description": "公开时间",
  1769. "type": "string"
  1770. },
  1771. "sort": {
  1772. "description": "排序字段,值越小,越靠前",
  1773. "type": "integer"
  1774. }
  1775. }
  1776. },
  1777. "response.LoginResp": {
  1778. "type": "object",
  1779. "properties": {
  1780. "authorization": {
  1781. "type": "string"
  1782. },
  1783. "is_bind": {
  1784. "type": "boolean"
  1785. },
  1786. "user_id": {
  1787. "type": "integer"
  1788. }
  1789. }
  1790. },
  1791. "user.ApplyReq": {
  1792. "type": "object",
  1793. "properties": {
  1794. "business_card_url": {
  1795. "type": "string"
  1796. },
  1797. "company_name": {
  1798. "type": "string"
  1799. },
  1800. "permission": {
  1801. "type": "string"
  1802. },
  1803. "real_name": {
  1804. "type": "string"
  1805. },
  1806. "source": {
  1807. "type": "integer"
  1808. }
  1809. }
  1810. },
  1811. "user.CompanyPermission": {
  1812. "type": "object",
  1813. "properties": {
  1814. "name": {
  1815. "type": "string"
  1816. },
  1817. "permission_list": {
  1818. "type": "array",
  1819. "items": {
  1820. "$ref": "#/definitions/user.PermissionList"
  1821. }
  1822. }
  1823. }
  1824. },
  1825. "user.Detail": {
  1826. "type": "object",
  1827. "properties": {
  1828. "admin_info": {
  1829. "$ref": "#/definitions/admin.Admin"
  1830. },
  1831. "company_name": {
  1832. "type": "string"
  1833. },
  1834. "email": {
  1835. "type": "string"
  1836. },
  1837. "is_inner": {
  1838. "type": "integer"
  1839. },
  1840. "is_suspend": {
  1841. "type": "integer"
  1842. },
  1843. "mobile": {
  1844. "type": "string"
  1845. },
  1846. "permission_list": {
  1847. "type": "array",
  1848. "items": {
  1849. "$ref": "#/definitions/user.CompanyPermission"
  1850. }
  1851. },
  1852. "real_name": {
  1853. "type": "string"
  1854. },
  1855. "seal_mobile": {
  1856. "type": "string"
  1857. },
  1858. "seal_name": {
  1859. "type": "string"
  1860. },
  1861. "status": {
  1862. "type": "string"
  1863. }
  1864. }
  1865. },
  1866. "user.LoginReq": {
  1867. "type": "object",
  1868. "properties": {
  1869. "area_num": {
  1870. "type": "integer"
  1871. },
  1872. "bind_type": {
  1873. "type": "integer"
  1874. },
  1875. "email": {
  1876. "type": "string"
  1877. },
  1878. "mobile": {
  1879. "type": "string"
  1880. },
  1881. "verify_code": {
  1882. "type": "string"
  1883. }
  1884. }
  1885. },
  1886. "user.LoginResp": {
  1887. "type": "object",
  1888. "properties": {
  1889. "email": {
  1890. "type": "string"
  1891. },
  1892. "mobile": {
  1893. "type": "string"
  1894. },
  1895. "token": {
  1896. "type": "string"
  1897. },
  1898. "user_id": {
  1899. "type": "integer"
  1900. }
  1901. }
  1902. },
  1903. "user.PermissionList": {
  1904. "type": "object",
  1905. "properties": {
  1906. "end_date": {
  1907. "type": "string"
  1908. },
  1909. "name": {
  1910. "type": "string"
  1911. },
  1912. "start_date": {
  1913. "type": "string"
  1914. },
  1915. "status": {
  1916. "type": "string"
  1917. }
  1918. }
  1919. },
  1920. "user.Record": {
  1921. "type": "object",
  1922. "properties": {
  1923. "business_card_url": {
  1924. "type": "string"
  1925. },
  1926. "company_name": {
  1927. "type": "string"
  1928. },
  1929. "mobile": {
  1930. "type": "string"
  1931. },
  1932. "real_name": {
  1933. "type": "string"
  1934. }
  1935. }
  1936. },
  1937. "yb_activity.ActivityDetail": {
  1938. "type": "object",
  1939. "properties": {
  1940. "activityId": {
  1941. "type": "integer"
  1942. },
  1943. "activityName": {
  1944. "description": "活动名称",
  1945. "type": "string"
  1946. },
  1947. "activityState": {
  1948. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  1949. "type": "integer"
  1950. },
  1951. "activityTypeId": {
  1952. "description": "活动类型ID",
  1953. "type": "integer"
  1954. },
  1955. "activityTypeName": {
  1956. "description": "活动类型名称",
  1957. "type": "string"
  1958. },
  1959. "address": {
  1960. "description": "活动地址",
  1961. "type": "string"
  1962. },
  1963. "americaTel": {
  1964. "description": "美国拨入",
  1965. "type": "string"
  1966. },
  1967. "city": {
  1968. "description": "城市",
  1969. "type": "string"
  1970. },
  1971. "endTime": {
  1972. "description": "活动结束时间",
  1973. "type": "string"
  1974. },
  1975. "firstActivityTypeId": {
  1976. "description": "第一级的活动类型ID",
  1977. "type": "integer"
  1978. },
  1979. "firstActivityTypeName": {
  1980. "description": "第一级的活动类型名称",
  1981. "type": "string"
  1982. },
  1983. "hasPlayBack": {
  1984. "description": "是否有回放",
  1985. "type": "integer"
  1986. },
  1987. "hasRemind": {
  1988. "description": "是否已提醒",
  1989. "type": "integer"
  1990. },
  1991. "hongKongTel": {
  1992. "description": "香港拨入",
  1993. "type": "string"
  1994. },
  1995. "isLimitPeople": {
  1996. "description": "是否限制人数 1是,0否",
  1997. "type": "integer"
  1998. },
  1999. "limitPeopleNum": {
  2000. "description": "限制人数数量",
  2001. "type": "integer"
  2002. },
  2003. "linkParticipants": {
  2004. "description": "参会链接",
  2005. "type": "string"
  2006. },
  2007. "mainlandTel": {
  2008. "description": "大陆拨入",
  2009. "type": "string"
  2010. },
  2011. "participationCode": {
  2012. "description": "参会密码",
  2013. "type": "string"
  2014. },
  2015. "registerState": {
  2016. "description": "报名状态 0-取消报名 1-已报名",
  2017. "type": "integer"
  2018. },
  2019. "registeredNum": {
  2020. "description": "已报名人数",
  2021. "type": "integer"
  2022. },
  2023. "reportLink": {
  2024. "description": "报告链接",
  2025. "type": "string"
  2026. },
  2027. "reportName": {
  2028. "description": "报告名称",
  2029. "type": "string"
  2030. },
  2031. "singaporeTel": {
  2032. "description": "新加坡拨入",
  2033. "type": "string"
  2034. },
  2035. "speaker": {
  2036. "description": "主讲人",
  2037. "type": "string"
  2038. },
  2039. "speakerBackgroundPic": {
  2040. "description": "主讲人背景图",
  2041. "type": "string"
  2042. },
  2043. "speakerHeadPic": {
  2044. "description": "主讲人头像",
  2045. "type": "string"
  2046. },
  2047. "startTime": {
  2048. "description": "活动开始时间",
  2049. "type": "string"
  2050. },
  2051. "taiwanTel": {
  2052. "description": "台湾拨入",
  2053. "type": "string"
  2054. },
  2055. "weekString": {
  2056. "description": "周几",
  2057. "type": "string"
  2058. }
  2059. }
  2060. },
  2061. "yb_activity_voice.YbActivityVoice": {
  2062. "type": "object",
  2063. "properties": {
  2064. "activityId": {
  2065. "description": "活动id",
  2066. "type": "integer"
  2067. },
  2068. "createTime": {
  2069. "type": "string"
  2070. },
  2071. "voiceName": {
  2072. "description": "音频名称",
  2073. "type": "string"
  2074. },
  2075. "voicePlaySeconds": {
  2076. "description": "音频时长",
  2077. "type": "string"
  2078. },
  2079. "voiceUrl": {
  2080. "description": "音频地址",
  2081. "type": "string"
  2082. }
  2083. }
  2084. }
  2085. }
  2086. }