swagger.json 97 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011
  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. "/company/permission/tree": {
  558. "get": {
  559. "security": [
  560. {
  561. "ApiKeyAuth": []
  562. }
  563. ],
  564. "description": "获取FICC品种权限列表",
  565. "consumes": [
  566. "application/json"
  567. ],
  568. "tags": [
  569. "客户模块"
  570. ],
  571. "summary": "获取FICC品种权限列表",
  572. "parameters": [
  573. {
  574. "type": "string",
  575. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  576. "name": "Authorization",
  577. "in": "header",
  578. "required": true
  579. }
  580. ],
  581. "responses": {
  582. "200": {
  583. "description": "OK",
  584. "schema": {
  585. "type": "array",
  586. "items": {
  587. "$ref": "#/definitions/company.FiccPermissionList"
  588. }
  589. }
  590. },
  591. "400": {
  592. "description": "获取失败",
  593. "schema": {
  594. "type": "string"
  595. }
  596. }
  597. }
  598. }
  599. },
  600. "/getWxJsConf": {
  601. "get": {
  602. "description": "微信获取签名接口",
  603. "parameters": [
  604. {
  605. "type": "string",
  606. "description": "url地址",
  607. "name": "Url",
  608. "in": "query",
  609. "required": true
  610. }
  611. ],
  612. "responses": {
  613. "200": {
  614. "description": "获取成功",
  615. "schema": {
  616. "type": "string"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/my_chart/editChartInfo": {
  623. "post": {
  624. "security": [
  625. {
  626. "ApiKeyAuth": []
  627. }
  628. ],
  629. "description": "编辑图表信息",
  630. "consumes": [
  631. "application/json"
  632. ],
  633. "tags": [
  634. "图库模块"
  635. ],
  636. "summary": "编辑图表信息",
  637. "parameters": [
  638. {
  639. "type": "string",
  640. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  641. "name": "Authorization",
  642. "in": "header",
  643. "required": true
  644. },
  645. {
  646. "description": "请求参数",
  647. "name": "data",
  648. "in": "body",
  649. "required": true,
  650. "schema": {
  651. "$ref": "#/definitions/chart_info.SaveChartInfoReq"
  652. }
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "操作成功",
  658. "schema": {
  659. "type": "string"
  660. }
  661. },
  662. "400": {
  663. "description": "操作失败",
  664. "schema": {
  665. "type": "string"
  666. }
  667. }
  668. }
  669. }
  670. },
  671. "/my_chart/getChartBeforeAndNext": {
  672. "get": {
  673. "security": [
  674. {
  675. "ApiKeyAuth": []
  676. }
  677. ],
  678. "description": "获取当前图表上一张及下一张信息",
  679. "consumes": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "图库模块"
  684. ],
  685. "summary": "获取当前图表上一张及下一张信息",
  686. "parameters": [
  687. {
  688. "type": "string",
  689. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  690. "name": "Authorization",
  691. "in": "header",
  692. "required": true
  693. },
  694. {
  695. "type": "string",
  696. "description": "我的图表ID",
  697. "name": "MyChartId",
  698. "in": "query"
  699. },
  700. {
  701. "type": "string",
  702. "description": "我的图表分类ID",
  703. "name": "MyChartClassifyId",
  704. "in": "query"
  705. }
  706. ],
  707. "responses": {
  708. "200": {
  709. "description": "OK",
  710. "schema": {
  711. "$ref": "#/definitions/chart_info.ChartBeforeNext"
  712. }
  713. },
  714. "400": {
  715. "description": "获取失败",
  716. "schema": {
  717. "type": "string"
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "/my_chart/getChartInfoDetail": {
  724. "get": {
  725. "security": [
  726. {
  727. "ApiKeyAuth": []
  728. }
  729. ],
  730. "description": "获取图表详情",
  731. "consumes": [
  732. "application/json"
  733. ],
  734. "tags": [
  735. "图库模块"
  736. ],
  737. "summary": "获取图表详情",
  738. "parameters": [
  739. {
  740. "type": "string",
  741. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  742. "name": "Authorization",
  743. "in": "header",
  744. "required": true
  745. },
  746. {
  747. "type": "string",
  748. "description": "时间段:1-00年至今; 2-10年至今; 3-15年至今; 4-21年至今; 5-指定区间; 6-指定年月至今; 7-18年至今; 8-19年至今; 9-20年至今",
  749. "name": "DateType",
  750. "in": "query"
  751. },
  752. {
  753. "type": "string",
  754. "description": "图表分类ID",
  755. "name": "ClassifyId",
  756. "in": "query"
  757. }
  758. ],
  759. "responses": {
  760. "200": {
  761. "description": "OK",
  762. "schema": {
  763. "$ref": "#/definitions/chart_info.ChartInfoDetailResp"
  764. }
  765. },
  766. "400": {
  767. "description": "图表详情获取失败",
  768. "schema": {
  769. "type": "string"
  770. }
  771. }
  772. }
  773. }
  774. },
  775. "/my_chart/moveMyChart": {
  776. "post": {
  777. "security": [
  778. {
  779. "ApiKeyAuth": []
  780. }
  781. ],
  782. "description": "移动我的图表",
  783. "consumes": [
  784. "application/json"
  785. ],
  786. "tags": [
  787. "图库模块"
  788. ],
  789. "summary": "移动我的图表",
  790. "parameters": [
  791. {
  792. "type": "string",
  793. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  794. "name": "Authorization",
  795. "in": "header",
  796. "required": true
  797. },
  798. {
  799. "description": "请求参数",
  800. "name": "data",
  801. "in": "body",
  802. "required": true,
  803. "schema": {
  804. "$ref": "#/definitions/my_chart.MoveMyChartReq"
  805. }
  806. }
  807. ],
  808. "responses": {
  809. "200": {
  810. "description": "操作成功",
  811. "schema": {
  812. "type": "string"
  813. }
  814. },
  815. "400": {
  816. "description": "操作失败",
  817. "schema": {
  818. "type": "string"
  819. }
  820. }
  821. }
  822. }
  823. },
  824. "/my_chart/moveMyChartClassify": {
  825. "post": {
  826. "security": [
  827. {
  828. "ApiKeyAuth": []
  829. }
  830. ],
  831. "description": "移动我的图表分类",
  832. "consumes": [
  833. "application/json"
  834. ],
  835. "tags": [
  836. "图库模块"
  837. ],
  838. "summary": "移动我的图表分类",
  839. "parameters": [
  840. {
  841. "type": "string",
  842. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  843. "name": "Authorization",
  844. "in": "header",
  845. "required": true
  846. },
  847. {
  848. "description": "请求参数",
  849. "name": "data",
  850. "in": "body",
  851. "required": true,
  852. "schema": {
  853. "$ref": "#/definitions/my_chart.MoveMyChartClassifyReq"
  854. }
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "操作成功",
  860. "schema": {
  861. "type": "string"
  862. }
  863. },
  864. "400": {
  865. "description": "操作失败",
  866. "schema": {
  867. "type": "string"
  868. }
  869. }
  870. }
  871. }
  872. },
  873. "/my_chart/refreshChartInfo": {
  874. "post": {
  875. "security": [
  876. {
  877. "ApiKeyAuth": []
  878. }
  879. ],
  880. "description": "刷新图表信息",
  881. "consumes": [
  882. "application/json"
  883. ],
  884. "tags": [
  885. "图库模块"
  886. ],
  887. "summary": "刷新图表信息",
  888. "parameters": [
  889. {
  890. "type": "string",
  891. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  892. "name": "Authorization",
  893. "in": "header",
  894. "required": true
  895. },
  896. {
  897. "description": "请求参数",
  898. "name": "data",
  899. "in": "body",
  900. "required": true,
  901. "schema": {
  902. "$ref": "#/definitions/chart_info.SaveChartInfoReq"
  903. }
  904. }
  905. ],
  906. "responses": {
  907. "200": {
  908. "description": "操作成功",
  909. "schema": {
  910. "type": "string"
  911. }
  912. },
  913. "400": {
  914. "description": "操作失败",
  915. "schema": {
  916. "type": "string"
  917. }
  918. }
  919. }
  920. }
  921. },
  922. "/public/get_apply_variety_list": {
  923. "get": {
  924. "security": [
  925. {
  926. "ApiKeyAuth": []
  927. }
  928. ],
  929. "description": "获取所有可以申请的品种权限列表",
  930. "consumes": [
  931. "application/json"
  932. ],
  933. "tags": [
  934. "公共模块"
  935. ],
  936. "summary": "获取所有可以申请的品种权限列表",
  937. "parameters": [
  938. {
  939. "type": "string",
  940. "description": "微信登录后获取到的token",
  941. "name": "Authorization",
  942. "in": "header",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "获取成功",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/logic.ApplyVariety"
  953. }
  954. }
  955. },
  956. "400": {
  957. "description": "获取失败",
  958. "schema": {
  959. "type": "string"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/public/get_share_poster": {
  966. "post": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "description": "获取分享海报",
  973. "consumes": [
  974. "application/json"
  975. ],
  976. "tags": [
  977. "公共模块"
  978. ],
  979. "summary": "获取分享海报",
  980. "parameters": [
  981. {
  982. "description": "type json string",
  983. "name": "request",
  984. "in": "body",
  985. "required": true,
  986. "schema": {
  987. "$ref": "#/definitions/services.SharePosterReq"
  988. }
  989. }
  990. ],
  991. "responses": {
  992. "200": {
  993. "description": "获取成功",
  994. "schema": {
  995. "type": "string"
  996. }
  997. },
  998. "400": {
  999. "description": "获取失败",
  1000. "schema": {
  1001. "type": "string"
  1002. }
  1003. }
  1004. }
  1005. }
  1006. },
  1007. "/public/get_suncode_scene": {
  1008. "get": {
  1009. "security": [
  1010. {
  1011. "ApiKeyAuth": []
  1012. }
  1013. ],
  1014. "description": "获取小程序太阳码scene值",
  1015. "tags": [
  1016. "公共模块"
  1017. ],
  1018. "summary": "获取小程序太阳码scene值",
  1019. "parameters": [
  1020. {
  1021. "type": "string",
  1022. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  1023. "name": "Authorization",
  1024. "in": "header",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "string",
  1029. "description": "scene_key值",
  1030. "name": "scene_key",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "获取成功",
  1038. "schema": {
  1039. "type": "string"
  1040. }
  1041. },
  1042. "400": {
  1043. "description": "获取失败",
  1044. "schema": {
  1045. "type": "string"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/public/upload": {
  1052. "post": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "description": "文件上传",
  1059. "consumes": [
  1060. "multipart/form-data"
  1061. ],
  1062. "tags": [
  1063. "公共模块"
  1064. ],
  1065. "summary": "文件上传",
  1066. "parameters": [
  1067. {
  1068. "type": "string",
  1069. "description": "微信登录后获取到的token",
  1070. "name": "Authorization",
  1071. "in": "header",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "file",
  1076. "description": "操作描述",
  1077. "name": "file",
  1078. "in": "formData"
  1079. }
  1080. ],
  1081. "responses": {
  1082. "200": {
  1083. "description": "上传成功",
  1084. "schema": {
  1085. "type": "string"
  1086. }
  1087. },
  1088. "400": {
  1089. "description": "上传失败,存储目录创建失败",
  1090. "schema": {
  1091. "type": "string"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/question/ask": {
  1098. "post": {
  1099. "description": "发布提问",
  1100. "tags": [
  1101. "问答社区模块"
  1102. ],
  1103. "parameters": [
  1104. {
  1105. "type": "string",
  1106. "description": "问题内容",
  1107. "name": "question_content",
  1108. "in": "query",
  1109. "required": true
  1110. }
  1111. ],
  1112. "responses": {
  1113. "200": {
  1114. "description": "操作成功",
  1115. "schema": {
  1116. "type": "string"
  1117. }
  1118. },
  1119. "400": {
  1120. "description": "操作失败",
  1121. "schema": {
  1122. "type": "string"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/question/detail": {
  1129. "get": {
  1130. "description": "获取问答详情",
  1131. "tags": [
  1132. "问答社区模块"
  1133. ],
  1134. "parameters": [
  1135. {
  1136. "type": "integer",
  1137. "description": "问答ID",
  1138. "name": "question_id",
  1139. "in": "query",
  1140. "required": true
  1141. }
  1142. ],
  1143. "responses": {
  1144. "200": {
  1145. "description": "OK",
  1146. "schema": {
  1147. "$ref": "#/definitions/response.CommunityQuestionItem"
  1148. }
  1149. },
  1150. "400": {
  1151. "description": "获取失败",
  1152. "schema": {
  1153. "type": "string"
  1154. }
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "/question/list": {
  1160. "get": {
  1161. "description": "获取问答列表",
  1162. "tags": [
  1163. "问答社区模块"
  1164. ],
  1165. "parameters": [
  1166. {
  1167. "type": "integer",
  1168. "description": "页码",
  1169. "name": "page_index",
  1170. "in": "query"
  1171. },
  1172. {
  1173. "type": "integer",
  1174. "description": "每页数量",
  1175. "name": "page_size",
  1176. "in": "query"
  1177. },
  1178. {
  1179. "type": "integer",
  1180. "description": "只看我的",
  1181. "name": "only_mine",
  1182. "in": "query"
  1183. },
  1184. {
  1185. "type": "integer",
  1186. "description": "品种权限ID",
  1187. "name": "chart_permission_id",
  1188. "in": "query"
  1189. },
  1190. {
  1191. "type": "integer",
  1192. "description": "回复状态 0-全部 2-待回答 3-已回答",
  1193. "name": "reply_status",
  1194. "in": "query"
  1195. },
  1196. {
  1197. "type": "integer",
  1198. "description": "回复人ID",
  1199. "name": "replier_user_id",
  1200. "in": "query"
  1201. }
  1202. ],
  1203. "responses": {
  1204. "200": {
  1205. "description": "OK",
  1206. "schema": {
  1207. "type": "array",
  1208. "items": {
  1209. "$ref": "#/definitions/response.CommunityQuestionItem"
  1210. }
  1211. }
  1212. },
  1213. "400": {
  1214. "description": "获取失败",
  1215. "schema": {
  1216. "type": "string"
  1217. }
  1218. }
  1219. }
  1220. }
  1221. },
  1222. "/question/list/total": {
  1223. "get": {
  1224. "description": "问答列表数量统计",
  1225. "tags": [
  1226. "问答社区模块"
  1227. ],
  1228. "responses": {
  1229. "200": {
  1230. "description": "OK",
  1231. "schema": {
  1232. "$ref": "#/definitions/response.CommunityQuestionListTotal"
  1233. }
  1234. },
  1235. "400": {
  1236. "description": "获取失败",
  1237. "schema": {
  1238. "type": "string"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/question/reply": {
  1245. "post": {
  1246. "description": "发布回复",
  1247. "tags": [
  1248. "问答社区模块"
  1249. ],
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "问答ID",
  1254. "name": "question_id",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "object",
  1260. "description": "音频列表",
  1261. "name": "audio_list",
  1262. "in": "query",
  1263. "required": true
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "操作成功",
  1269. "schema": {
  1270. "type": "string"
  1271. }
  1272. },
  1273. "400": {
  1274. "description": "操作失败",
  1275. "schema": {
  1276. "type": "string"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/question/reply/read": {
  1283. "post": {
  1284. "description": "已读回复",
  1285. "tags": [
  1286. "问答社区模块"
  1287. ],
  1288. "parameters": [
  1289. {
  1290. "type": "integer",
  1291. "description": "问答ID",
  1292. "name": "question_id",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "操作成功",
  1300. "schema": {
  1301. "type": "string"
  1302. }
  1303. },
  1304. "400": {
  1305. "description": "操作失败",
  1306. "schema": {
  1307. "type": "string"
  1308. }
  1309. }
  1310. }
  1311. }
  1312. },
  1313. "/question/reply/upload_audio": {
  1314. "post": {
  1315. "description": "上传回复音频",
  1316. "tags": [
  1317. "问答社区模块"
  1318. ],
  1319. "parameters": [
  1320. {
  1321. "type": "string",
  1322. "description": "音频文件",
  1323. "name": "file",
  1324. "in": "query",
  1325. "required": true
  1326. }
  1327. ],
  1328. "responses": {
  1329. "200": {
  1330. "description": "上传成功",
  1331. "schema": {
  1332. "type": "string"
  1333. }
  1334. },
  1335. "400": {
  1336. "description": "上传失败",
  1337. "schema": {
  1338. "type": "string"
  1339. }
  1340. }
  1341. }
  1342. }
  1343. },
  1344. "/question/unread": {
  1345. "get": {
  1346. "description": "我的问答未读数",
  1347. "tags": [
  1348. "问答社区模块"
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "获取成功",
  1353. "schema": {
  1354. "type": "int"
  1355. }
  1356. },
  1357. "400": {
  1358. "description": "获取失败",
  1359. "schema": {
  1360. "type": "string"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/report/research_report": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "description": "获取报告详情",
  1374. "consumes": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "报告接口"
  1379. ],
  1380. "summary": "获取报告详情",
  1381. "parameters": [
  1382. {
  1383. "type": "string",
  1384. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  1385. "name": "Authorization",
  1386. "in": "header",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "integer",
  1391. "description": "活动ID",
  1392. "name": "research_report_id",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "$ref": "#/definitions/yb_activity.ActivityDetail"
  1402. }
  1403. },
  1404. "400": {
  1405. "description": "获取失败",
  1406. "schema": {
  1407. "type": "string"
  1408. }
  1409. }
  1410. }
  1411. }
  1412. },
  1413. "/report/research_report_chapter": {
  1414. "get": {
  1415. "security": [
  1416. {
  1417. "ApiKeyAuth": []
  1418. }
  1419. ],
  1420. "description": "获取报告章节详情",
  1421. "consumes": [
  1422. "application/json"
  1423. ],
  1424. "tags": [
  1425. "报告接口"
  1426. ],
  1427. "summary": "获取报告章节详情",
  1428. "parameters": [
  1429. {
  1430. "type": "string",
  1431. "description": "Bearer 31a165baebe6dec616b1f8f3207b4273",
  1432. "name": "Authorization",
  1433. "in": "header",
  1434. "required": true
  1435. },
  1436. {
  1437. "type": "integer",
  1438. "description": "章节ID",
  1439. "name": "research_report_type_id",
  1440. "in": "query",
  1441. "required": true
  1442. }
  1443. ],
  1444. "responses": {
  1445. "200": {
  1446. "description": "OK",
  1447. "schema": {
  1448. "$ref": "#/definitions/yb_activity.ActivityDetail"
  1449. }
  1450. },
  1451. "400": {
  1452. "description": "获取失败",
  1453. "schema": {
  1454. "type": "string"
  1455. }
  1456. }
  1457. }
  1458. }
  1459. },
  1460. "/user/apply": {
  1461. "post": {
  1462. "security": [
  1463. {
  1464. "ApiKeyAuth": []
  1465. }
  1466. ],
  1467. "description": "用户申请",
  1468. "consumes": [
  1469. "application/json"
  1470. ],
  1471. "tags": [
  1472. "用户模块"
  1473. ],
  1474. "summary": "用户申请",
  1475. "parameters": [
  1476. {
  1477. "type": "string",
  1478. "description": "微信登录后获取到的token",
  1479. "name": "Authorization",
  1480. "in": "header",
  1481. "required": true
  1482. },
  1483. {
  1484. "description": "请求参数",
  1485. "name": "data",
  1486. "in": "body",
  1487. "required": true,
  1488. "schema": {
  1489. "$ref": "#/definitions/user.ApplyReq"
  1490. }
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "OK",
  1496. "schema": {
  1497. "$ref": "#/definitions/user.LoginResp"
  1498. }
  1499. }
  1500. }
  1501. }
  1502. },
  1503. "/user/get_email_code": {
  1504. "get": {
  1505. "security": [
  1506. {
  1507. "ApiKeyAuth": []
  1508. }
  1509. ],
  1510. "description": "获取邮箱验证码",
  1511. "consumes": [
  1512. "application/json"
  1513. ],
  1514. "tags": [
  1515. "用户模块"
  1516. ],
  1517. "summary": "获取邮箱验证码",
  1518. "parameters": [
  1519. {
  1520. "type": "string",
  1521. "description": "微信登录后获取到的token",
  1522. "name": "Authorization",
  1523. "in": "header",
  1524. "required": true
  1525. },
  1526. {
  1527. "type": "string",
  1528. "description": "电子邮箱账号",
  1529. "name": "email",
  1530. "in": "query",
  1531. "required": true
  1532. }
  1533. ],
  1534. "responses": {
  1535. "200": {
  1536. "description": "OK",
  1537. "schema": {
  1538. "type": "string"
  1539. }
  1540. },
  1541. "400": {
  1542. "description": "Bad Request",
  1543. "schema": {
  1544. "type": "string"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/user/get_last_apply_record": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "description": "获取最近一条申请单信息",
  1558. "consumes": [
  1559. "application/json"
  1560. ],
  1561. "tags": [
  1562. "用户模块"
  1563. ],
  1564. "summary": "获取最近一条申请单信息",
  1565. "parameters": [
  1566. {
  1567. "type": "string",
  1568. "description": "微信登录后获取到的token",
  1569. "name": "Authorization",
  1570. "in": "header",
  1571. "required": true
  1572. }
  1573. ],
  1574. "responses": {
  1575. "200": {
  1576. "description": "获取成功",
  1577. "schema": {
  1578. "$ref": "#/definitions/user.Record"
  1579. }
  1580. },
  1581. "400": {
  1582. "description": "获取失败",
  1583. "schema": {
  1584. "type": "string"
  1585. }
  1586. }
  1587. }
  1588. }
  1589. },
  1590. "/user/get_sms_code": {
  1591. "get": {
  1592. "security": [
  1593. {
  1594. "ApiKeyAuth": []
  1595. }
  1596. ],
  1597. "description": "获取短信验证码接口",
  1598. "consumes": [
  1599. "application/json"
  1600. ],
  1601. "tags": [
  1602. "用户模块"
  1603. ],
  1604. "summary": "获取短信验证码",
  1605. "parameters": [
  1606. {
  1607. "type": "string",
  1608. "description": "微信登录后获取到的token",
  1609. "name": "Authorization",
  1610. "in": "header",
  1611. "required": true
  1612. },
  1613. {
  1614. "type": "string",
  1615. "description": "手机号",
  1616. "name": "mobile",
  1617. "in": "query",
  1618. "required": true
  1619. },
  1620. {
  1621. "type": "string",
  1622. "description": "手机国际区号(中国大陆:86)",
  1623. "name": "area_num",
  1624. "in": "query",
  1625. "required": true
  1626. }
  1627. ],
  1628. "responses": {
  1629. "200": {
  1630. "description": "OK",
  1631. "schema": {
  1632. "type": "string"
  1633. }
  1634. },
  1635. "400": {
  1636. "description": "Bad Request",
  1637. "schema": {
  1638. "type": "string"
  1639. }
  1640. }
  1641. }
  1642. }
  1643. },
  1644. "/user/get_tab_bar": {
  1645. "get": {
  1646. "security": [
  1647. {
  1648. "ApiKeyAuth": []
  1649. }
  1650. ],
  1651. "description": "获取用户的菜单栏权限",
  1652. "consumes": [
  1653. "application/json"
  1654. ],
  1655. "tags": [
  1656. "用户模块"
  1657. ],
  1658. "summary": "获取用户的菜单栏权限",
  1659. "parameters": [
  1660. {
  1661. "type": "string",
  1662. "description": "微信登录后获取到的token",
  1663. "name": "Authorization",
  1664. "in": "header",
  1665. "required": true
  1666. }
  1667. ],
  1668. "responses": {
  1669. "200": {
  1670. "description": "获取成功",
  1671. "schema": {
  1672. "type": "array",
  1673. "items": {
  1674. "type": "string"
  1675. }
  1676. }
  1677. },
  1678. "400": {
  1679. "description": "获取失败",
  1680. "schema": {
  1681. "type": "string"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/user/info": {
  1688. "get": {
  1689. "security": [
  1690. {
  1691. "ApiKeyAuth": []
  1692. }
  1693. ],
  1694. "description": "我的详情",
  1695. "consumes": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "用户模块"
  1700. ],
  1701. "summary": "我的详情",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "微信登录后获取到的token",
  1706. "name": "Authorization",
  1707. "in": "header",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "获取成功",
  1714. "schema": {
  1715. "$ref": "#/definitions/user.Detail"
  1716. }
  1717. },
  1718. "400": {
  1719. "description": "获取失败",
  1720. "schema": {
  1721. "type": "string"
  1722. }
  1723. }
  1724. }
  1725. }
  1726. },
  1727. "/user/login": {
  1728. "post": {
  1729. "security": [
  1730. {
  1731. "ApiKeyAuth": []
  1732. }
  1733. ],
  1734. "description": "用户手机号/邮箱登录",
  1735. "consumes": [
  1736. "application/json"
  1737. ],
  1738. "tags": [
  1739. "用户模块"
  1740. ],
  1741. "summary": "用户登录",
  1742. "parameters": [
  1743. {
  1744. "type": "string",
  1745. "description": "微信登录后获取到的token",
  1746. "name": "Authorization",
  1747. "in": "header",
  1748. "required": true
  1749. },
  1750. {
  1751. "description": "请求参数",
  1752. "name": "data",
  1753. "in": "body",
  1754. "required": true,
  1755. "schema": {
  1756. "$ref": "#/definitions/user.LoginReq"
  1757. }
  1758. }
  1759. ],
  1760. "responses": {
  1761. "200": {
  1762. "description": "OK",
  1763. "schema": {
  1764. "$ref": "#/definitions/user.LoginResp"
  1765. }
  1766. }
  1767. }
  1768. }
  1769. },
  1770. "/wechat/getEncryptInfo": {
  1771. "post": {
  1772. "description": "消息解密",
  1773. "consumes": [
  1774. "application/json"
  1775. ],
  1776. "tags": [
  1777. "微信相关接口"
  1778. ],
  1779. "summary": "消息解密",
  1780. "parameters": [
  1781. {
  1782. "type": "string",
  1783. "description": "加密数据",
  1784. "name": "encryptedData",
  1785. "in": "query",
  1786. "required": true
  1787. },
  1788. {
  1789. "type": "string",
  1790. "description": "加密算法初始向量",
  1791. "name": "iv",
  1792. "in": "query",
  1793. "required": true
  1794. }
  1795. ],
  1796. "responses": {
  1797. "200": {
  1798. "description": "获取成功",
  1799. "schema": {
  1800. "type": "string"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/wechat/login": {
  1807. "get": {
  1808. "description": "微信登录",
  1809. "consumes": [
  1810. "application/json"
  1811. ],
  1812. "tags": [
  1813. "微信相关接口"
  1814. ],
  1815. "summary": "微信登录",
  1816. "parameters": [
  1817. {
  1818. "type": "string",
  1819. "description": "微信code",
  1820. "name": "code",
  1821. "in": "query",
  1822. "required": true
  1823. }
  1824. ],
  1825. "responses": {
  1826. "200": {
  1827. "description": "OK",
  1828. "schema": {
  1829. "$ref": "#/definitions/response.LoginResp"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. }
  1835. },
  1836. "definitions": {
  1837. "activity.ActivityList": {
  1838. "type": "object",
  1839. "properties": {
  1840. "activityId": {
  1841. "type": "integer"
  1842. },
  1843. "activityName": {
  1844. "description": "活动名称",
  1845. "type": "string"
  1846. },
  1847. "activityState": {
  1848. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  1849. "type": "integer"
  1850. },
  1851. "activityTypeId": {
  1852. "description": "活动类型ID",
  1853. "type": "integer"
  1854. },
  1855. "activityTypeName": {
  1856. "description": "活动类型名称",
  1857. "type": "string"
  1858. },
  1859. "city": {
  1860. "description": "城市",
  1861. "type": "string"
  1862. },
  1863. "endTime": {
  1864. "description": "活动结束时间",
  1865. "type": "string"
  1866. },
  1867. "firstActivityTypeId": {
  1868. "description": "第一级的活动类型ID",
  1869. "type": "integer"
  1870. },
  1871. "firstActivityTypeName": {
  1872. "description": "第一级的活动类型名称",
  1873. "type": "string"
  1874. },
  1875. "hasPlayBack": {
  1876. "description": "是否有回放",
  1877. "type": "integer"
  1878. },
  1879. "hasRemind": {
  1880. "description": "是否已提醒",
  1881. "type": "integer"
  1882. },
  1883. "registerState": {
  1884. "description": "报名状态 0-取消报名 1-已报名",
  1885. "type": "integer"
  1886. },
  1887. "speaker": {
  1888. "description": "主讲人",
  1889. "type": "string"
  1890. },
  1891. "speakerBackgroundPic": {
  1892. "description": "主讲人背景图",
  1893. "type": "string"
  1894. },
  1895. "speakerHeadPic": {
  1896. "description": "主讲人头像",
  1897. "type": "string"
  1898. },
  1899. "startTime": {
  1900. "description": "活动开始时间",
  1901. "type": "string"
  1902. },
  1903. "voiceList": {
  1904. "description": "音频列表",
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/yb_activity_voice.YbActivityVoice"
  1908. }
  1909. },
  1910. "weekString": {
  1911. "description": "周几",
  1912. "type": "string"
  1913. }
  1914. }
  1915. },
  1916. "activity.RegisterCheckInfo": {
  1917. "type": "object",
  1918. "properties": {
  1919. "msg": {
  1920. "type": "string"
  1921. },
  1922. "specific": {
  1923. "type": "integer"
  1924. },
  1925. "type": {
  1926. "type": "string"
  1927. }
  1928. }
  1929. },
  1930. "activity.RemindCheckInfo": {
  1931. "type": "object",
  1932. "properties": {
  1933. "msg": {
  1934. "type": "string"
  1935. },
  1936. "specific": {
  1937. "type": "integer"
  1938. },
  1939. "type": {
  1940. "type": "string"
  1941. }
  1942. }
  1943. },
  1944. "admin.Admin": {
  1945. "type": "object",
  1946. "properties": {
  1947. "adminAvatar": {
  1948. "type": "string"
  1949. },
  1950. "adminName": {
  1951. "type": "string"
  1952. },
  1953. "authority": {
  1954. "description": "管理权限,0:无,1:部门负责人,2:小组负责人,3:超级管理员",
  1955. "type": "integer"
  1956. },
  1957. "createdTime": {
  1958. "description": "创建时间",
  1959. "type": "string"
  1960. },
  1961. "departmentId": {
  1962. "description": "部门id",
  1963. "type": "integer"
  1964. },
  1965. "departmentName": {
  1966. "description": "部门名称",
  1967. "type": "string"
  1968. },
  1969. "email": {
  1970. "type": "string"
  1971. },
  1972. "enabled": {
  1973. "description": "1:有效,0:禁用",
  1974. "type": "integer"
  1975. },
  1976. "groupId": {
  1977. "description": "分组id",
  1978. "type": "integer"
  1979. },
  1980. "groupName": {
  1981. "description": "分组名称",
  1982. "type": "string"
  1983. },
  1984. "lastLoginTime": {
  1985. "description": "最近登陆时间",
  1986. "type": "string"
  1987. },
  1988. "lastUpdatedPasswordTime": {
  1989. "type": "string"
  1990. },
  1991. "lastUpdatedTime": {
  1992. "type": "string"
  1993. },
  1994. "mobile": {
  1995. "description": "手机号",
  1996. "type": "string"
  1997. },
  1998. "password": {
  1999. "type": "string"
  2000. },
  2001. "position": {
  2002. "description": "职位",
  2003. "type": "string"
  2004. },
  2005. "realName": {
  2006. "type": "string"
  2007. },
  2008. "role": {
  2009. "description": "用户角色",
  2010. "type": "string"
  2011. },
  2012. "roleId": {
  2013. "description": "角色id",
  2014. "type": "integer"
  2015. },
  2016. "roleName": {
  2017. "description": "角色名称",
  2018. "type": "string"
  2019. },
  2020. "roleType": {
  2021. "description": "角色类型:1需要录入指标,0:不需要",
  2022. "type": "integer"
  2023. },
  2024. "roleTypeCode": {
  2025. "description": "角色编码",
  2026. "type": "string"
  2027. }
  2028. }
  2029. },
  2030. "chart_edb_mapping.ChartEdbInfoMappingList": {
  2031. "type": "object",
  2032. "properties": {
  2033. "chartColor": {
  2034. "type": "string"
  2035. },
  2036. "chartEdbMappingId": {
  2037. "type": "integer"
  2038. },
  2039. "chartInfoId": {
  2040. "type": "integer"
  2041. },
  2042. "chartStyle": {
  2043. "type": "string"
  2044. },
  2045. "chartWidth": {
  2046. "type": "number"
  2047. },
  2048. "dataList": {},
  2049. "edbCode": {
  2050. "type": "string"
  2051. },
  2052. "edbInfoId": {
  2053. "type": "integer"
  2054. },
  2055. "edbInfoType": {
  2056. "type": "integer"
  2057. },
  2058. "edbName": {
  2059. "type": "string"
  2060. },
  2061. "edbType": {
  2062. "type": "integer"
  2063. },
  2064. "endDate": {
  2065. "type": "string"
  2066. },
  2067. "frequency": {
  2068. "type": "string"
  2069. },
  2070. "isAxis": {
  2071. "type": "integer"
  2072. },
  2073. "isOrder": {
  2074. "type": "boolean"
  2075. },
  2076. "latestDate": {
  2077. "type": "string"
  2078. },
  2079. "latestValue": {
  2080. "type": "number"
  2081. },
  2082. "leadUnit": {
  2083. "type": "string"
  2084. },
  2085. "leadValue": {
  2086. "type": "integer"
  2087. },
  2088. "maxData": {
  2089. "type": "number"
  2090. },
  2091. "minData": {
  2092. "type": "number"
  2093. },
  2094. "modifyTime": {
  2095. "type": "string"
  2096. },
  2097. "source": {
  2098. "type": "integer"
  2099. },
  2100. "sourceName": {
  2101. "type": "string"
  2102. },
  2103. "startDate": {
  2104. "type": "string"
  2105. },
  2106. "uniqueCode": {
  2107. "type": "string"
  2108. },
  2109. "unit": {
  2110. "type": "string"
  2111. }
  2112. }
  2113. },
  2114. "chart_info.ChartBeforeNext": {
  2115. "type": "object",
  2116. "properties": {
  2117. "nextChart": {
  2118. "$ref": "#/definitions/chart_info.ChartSortInfo"
  2119. },
  2120. "prevChart": {
  2121. "$ref": "#/definitions/chart_info.ChartSortInfo"
  2122. }
  2123. }
  2124. },
  2125. "chart_info.ChartInfoDetailResp": {
  2126. "type": "object",
  2127. "properties": {
  2128. "chartInfo": {
  2129. "$ref": "#/definitions/chart_info.ChartInfoView"
  2130. },
  2131. "edbInfoList": {
  2132. "type": "array",
  2133. "items": {
  2134. "$ref": "#/definitions/chart_edb_mapping.ChartEdbInfoMappingList"
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "chart_info.ChartInfoView": {
  2140. "type": "object",
  2141. "properties": {
  2142. "calendar": {
  2143. "type": "string"
  2144. },
  2145. "chartClassifyId": {
  2146. "type": "integer"
  2147. },
  2148. "chartClassifyName": {
  2149. "type": "string"
  2150. },
  2151. "chartImage": {
  2152. "type": "string"
  2153. },
  2154. "chartInfoId": {
  2155. "type": "integer"
  2156. },
  2157. "chartName": {
  2158. "type": "string"
  2159. },
  2160. "chartSource": {
  2161. "type": "string"
  2162. },
  2163. "chartType": {
  2164. "type": "integer"
  2165. },
  2166. "createTime": {
  2167. "type": "string"
  2168. },
  2169. "dateType": {
  2170. "type": "integer"
  2171. },
  2172. "edbEndDate": {
  2173. "type": "string"
  2174. },
  2175. "edbInfoIds": {
  2176. "type": "string"
  2177. },
  2178. "endDate": {
  2179. "type": "string"
  2180. },
  2181. "isAdd": {
  2182. "type": "boolean"
  2183. },
  2184. "isSetName": {
  2185. "type": "integer"
  2186. },
  2187. "leftMax": {
  2188. "type": "string"
  2189. },
  2190. "leftMin": {
  2191. "type": "string"
  2192. },
  2193. "modifyTime": {
  2194. "type": "string"
  2195. },
  2196. "myChartClassifyId": {
  2197. "type": "string"
  2198. },
  2199. "myChartId": {
  2200. "type": "integer"
  2201. },
  2202. "rightMax": {
  2203. "type": "string"
  2204. },
  2205. "rightMin": {
  2206. "type": "string"
  2207. },
  2208. "seasonEndDate": {
  2209. "type": "string"
  2210. },
  2211. "seasonStartDate": {
  2212. "type": "string"
  2213. },
  2214. "sort": {
  2215. "type": "integer"
  2216. },
  2217. "startDate": {
  2218. "type": "string"
  2219. },
  2220. "sysUserId": {
  2221. "type": "integer"
  2222. },
  2223. "sysUserRealName": {
  2224. "type": "string"
  2225. },
  2226. "uniqueCode": {
  2227. "type": "string"
  2228. }
  2229. }
  2230. },
  2231. "chart_info.ChartSaveItem": {
  2232. "type": "object",
  2233. "properties": {
  2234. "chartColor": {
  2235. "type": "string"
  2236. },
  2237. "chartStyle": {
  2238. "type": "string"
  2239. },
  2240. "chartWidth": {
  2241. "type": "number"
  2242. },
  2243. "edbInfoId": {
  2244. "type": "integer"
  2245. },
  2246. "edbInfoType": {
  2247. "type": "integer"
  2248. },
  2249. "isAxis": {
  2250. "type": "integer"
  2251. },
  2252. "isOrder": {
  2253. "type": "boolean"
  2254. },
  2255. "leadUnit": {
  2256. "type": "string"
  2257. },
  2258. "leadValue": {
  2259. "type": "integer"
  2260. },
  2261. "maxData": {
  2262. "type": "number"
  2263. },
  2264. "minData": {
  2265. "type": "number"
  2266. }
  2267. }
  2268. },
  2269. "chart_info.ChartSortInfo": {
  2270. "type": "object",
  2271. "properties": {
  2272. "chartInfoId": {
  2273. "type": "integer"
  2274. },
  2275. "myChartClassifyId": {
  2276. "type": "integer"
  2277. },
  2278. "myChartClassifyName": {
  2279. "type": "string"
  2280. },
  2281. "myChartId": {
  2282. "type": "integer"
  2283. },
  2284. "sort": {
  2285. "type": "integer"
  2286. },
  2287. "switch": {
  2288. "type": "integer"
  2289. },
  2290. "uniqueCode": {
  2291. "type": "string"
  2292. }
  2293. }
  2294. },
  2295. "chart_info.SaveChartInfoReq": {
  2296. "type": "object",
  2297. "properties": {
  2298. "calendar": {
  2299. "type": "string"
  2300. },
  2301. "chartEdbInfoList": {
  2302. "type": "array",
  2303. "items": {
  2304. "$ref": "#/definitions/chart_info.ChartSaveItem"
  2305. }
  2306. },
  2307. "chartInfoId": {
  2308. "type": "integer"
  2309. },
  2310. "dateType": {
  2311. "type": "integer"
  2312. },
  2313. "endDate": {
  2314. "type": "string"
  2315. },
  2316. "leftMax": {
  2317. "type": "string"
  2318. },
  2319. "leftMin": {
  2320. "type": "string"
  2321. },
  2322. "rightMax": {
  2323. "type": "string"
  2324. },
  2325. "rightMin": {
  2326. "type": "string"
  2327. },
  2328. "seasonEndDate": {
  2329. "type": "string"
  2330. },
  2331. "seasonStartDate": {
  2332. "type": "string"
  2333. },
  2334. "startDate": {
  2335. "type": "string"
  2336. }
  2337. }
  2338. },
  2339. "company.FiccPermissionList": {
  2340. "type": "object",
  2341. "properties": {
  2342. "classifyName": {
  2343. "type": "string"
  2344. },
  2345. "items": {
  2346. "description": "HasPermission bool `description:\"是否有权限\"`",
  2347. "type": "array",
  2348. "items": {
  2349. "$ref": "#/definitions/company.PermissionItem"
  2350. }
  2351. }
  2352. }
  2353. },
  2354. "company.PermissionItem": {
  2355. "type": "object",
  2356. "properties": {
  2357. "permissionId": {
  2358. "type": "integer"
  2359. },
  2360. "permissionName": {
  2361. "type": "string"
  2362. }
  2363. }
  2364. },
  2365. "logic.ApplyVariety": {
  2366. "type": "object",
  2367. "properties": {
  2368. "name": {
  2369. "type": "string"
  2370. },
  2371. "permission_name": {
  2372. "type": "string"
  2373. },
  2374. "pic_url": {
  2375. "type": "string"
  2376. }
  2377. }
  2378. },
  2379. "my_chart.MoveMyChartClassifyReq": {
  2380. "type": "object",
  2381. "properties": {
  2382. "myChartClassifyId": {
  2383. "type": "integer"
  2384. },
  2385. "nextClassifyId": {
  2386. "type": "integer"
  2387. },
  2388. "prevClassifyId": {
  2389. "type": "integer"
  2390. }
  2391. }
  2392. },
  2393. "my_chart.MoveMyChartReq": {
  2394. "type": "object",
  2395. "properties": {
  2396. "myChartClassifyId": {
  2397. "type": "integer"
  2398. },
  2399. "myChartId": {
  2400. "type": "integer"
  2401. },
  2402. "nextMyChartId": {
  2403. "type": "integer"
  2404. },
  2405. "prevMyChartId": {
  2406. "type": "integer"
  2407. }
  2408. }
  2409. },
  2410. "my_chart.MyChartClassifyListResp": {
  2411. "type": "object",
  2412. "properties": {
  2413. "private_classify": {
  2414. "type": "array",
  2415. "items": {
  2416. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  2417. }
  2418. },
  2419. "public_classify": {
  2420. "type": "array",
  2421. "items": {
  2422. "$ref": "#/definitions/my_chart_classify.MyChartClassify"
  2423. }
  2424. }
  2425. }
  2426. },
  2427. "my_chart.MyChartList": {
  2428. "type": "object",
  2429. "properties": {
  2430. "calendar": {
  2431. "type": "string"
  2432. },
  2433. "chartClassifyId": {
  2434. "type": "integer"
  2435. },
  2436. "chartImage": {
  2437. "type": "string"
  2438. },
  2439. "chartInfoId": {
  2440. "type": "integer"
  2441. },
  2442. "chartName": {
  2443. "type": "string"
  2444. },
  2445. "chartType": {
  2446. "type": "integer"
  2447. },
  2448. "createTime": {
  2449. "type": "string"
  2450. },
  2451. "dateType": {
  2452. "type": "integer"
  2453. },
  2454. "edbEndDate": {
  2455. "type": "string"
  2456. },
  2457. "edbInfoIds": {
  2458. "type": "string"
  2459. },
  2460. "endDate": {
  2461. "type": "string"
  2462. },
  2463. "isAdd": {
  2464. "type": "boolean"
  2465. },
  2466. "isSetName": {
  2467. "type": "integer"
  2468. },
  2469. "modifyTime": {
  2470. "type": "string"
  2471. },
  2472. "myChartClassifyId": {
  2473. "type": "string"
  2474. },
  2475. "myChartClassifyName": {
  2476. "type": "string"
  2477. },
  2478. "myChartId": {
  2479. "type": "integer"
  2480. },
  2481. "seasonEndDate": {
  2482. "type": "string"
  2483. },
  2484. "seasonStartDate": {
  2485. "type": "string"
  2486. },
  2487. "sort": {
  2488. "type": "number"
  2489. },
  2490. "startDate": {
  2491. "type": "string"
  2492. },
  2493. "sysUserId": {
  2494. "type": "integer"
  2495. },
  2496. "sysUserRealName": {
  2497. "type": "string"
  2498. },
  2499. "uniqueCode": {
  2500. "type": "string"
  2501. }
  2502. }
  2503. },
  2504. "my_chart_classify.MyChartClassify": {
  2505. "type": "object",
  2506. "properties": {
  2507. "adminId": {
  2508. "description": "用户id",
  2509. "type": "integer"
  2510. },
  2511. "companyPublicTime": {
  2512. "description": "用户可见公开时间",
  2513. "type": "string"
  2514. },
  2515. "createTime": {
  2516. "type": "string"
  2517. },
  2518. "isCompanyPublic": {
  2519. "description": "是否用户可见:0-否 1-是",
  2520. "type": "integer"
  2521. },
  2522. "isPublic": {
  2523. "description": "是否所有人可见,0:仅自己可见,1:所有人可见",
  2524. "type": "integer"
  2525. },
  2526. "modifyTime": {
  2527. "type": "string"
  2528. },
  2529. "myChartClassifyId": {
  2530. "type": "integer"
  2531. },
  2532. "myChartClassifyName": {
  2533. "description": "分类名称",
  2534. "type": "string"
  2535. },
  2536. "publicTime": {
  2537. "description": "公开时间",
  2538. "type": "string"
  2539. },
  2540. "sort": {
  2541. "description": "排序字段,值越小,越靠前",
  2542. "type": "integer"
  2543. }
  2544. }
  2545. },
  2546. "response.CommunityQuestionAudioItem": {
  2547. "type": "object",
  2548. "properties": {
  2549. "audio_play_seconds": {
  2550. "type": "string"
  2551. },
  2552. "audio_size": {
  2553. "type": "string"
  2554. },
  2555. "audio_url": {
  2556. "type": "string"
  2557. },
  2558. "community_question_id": {
  2559. "type": "integer"
  2560. },
  2561. "sort": {
  2562. "type": "integer"
  2563. }
  2564. }
  2565. },
  2566. "response.CommunityQuestionItem": {
  2567. "type": "object",
  2568. "properties": {
  2569. "audio_list": {
  2570. "type": "array",
  2571. "items": {
  2572. "$ref": "#/definitions/response.CommunityQuestionAudioItem"
  2573. }
  2574. },
  2575. "auth_ok": {
  2576. "type": "boolean"
  2577. },
  2578. "chart_permission_id": {
  2579. "type": "integer"
  2580. },
  2581. "chart_permission_name": {
  2582. "type": "string"
  2583. },
  2584. "community_question_id": {
  2585. "type": "integer"
  2586. },
  2587. "create_time": {
  2588. "type": "string"
  2589. },
  2590. "is_read": {
  2591. "type": "integer"
  2592. },
  2593. "is_top": {
  2594. "type": "integer"
  2595. },
  2596. "permission_info": {
  2597. "$ref": "#/definitions/response.PermissionCheckInfo"
  2598. },
  2599. "question_content": {
  2600. "type": "string"
  2601. },
  2602. "replier_avatar": {
  2603. "type": "string"
  2604. },
  2605. "replier_rank": {
  2606. "type": "string"
  2607. },
  2608. "replier_real_name": {
  2609. "type": "string"
  2610. },
  2611. "reply_time": {
  2612. "type": "string"
  2613. },
  2614. "user_id": {
  2615. "type": "integer"
  2616. }
  2617. }
  2618. },
  2619. "response.CommunityQuestionListTotal": {
  2620. "type": "object",
  2621. "properties": {
  2622. "replied": {
  2623. "type": "integer"
  2624. },
  2625. "total": {
  2626. "type": "integer"
  2627. },
  2628. "wait": {
  2629. "type": "integer"
  2630. }
  2631. }
  2632. },
  2633. "response.CustomerInfo": {
  2634. "type": "object",
  2635. "properties": {
  2636. "company_name": {
  2637. "type": "string"
  2638. },
  2639. "has_apply": {
  2640. "type": "boolean"
  2641. },
  2642. "is_suspend": {
  2643. "type": "integer"
  2644. },
  2645. "mobile": {
  2646. "type": "string"
  2647. },
  2648. "name": {
  2649. "type": "string"
  2650. },
  2651. "status": {
  2652. "type": "string"
  2653. }
  2654. }
  2655. },
  2656. "response.LoginResp": {
  2657. "type": "object",
  2658. "properties": {
  2659. "authorization": {
  2660. "type": "string"
  2661. },
  2662. "is_bind": {
  2663. "type": "boolean"
  2664. },
  2665. "user_id": {
  2666. "type": "integer"
  2667. }
  2668. }
  2669. },
  2670. "response.PermissionCheckInfo": {
  2671. "type": "object",
  2672. "properties": {
  2673. "customer_info": {
  2674. "$ref": "#/definitions/response.CustomerInfo"
  2675. },
  2676. "hz_phone": {
  2677. "type": "string"
  2678. },
  2679. "mobile": {
  2680. "type": "string"
  2681. },
  2682. "name": {
  2683. "type": "string"
  2684. },
  2685. "type": {
  2686. "type": "string"
  2687. }
  2688. }
  2689. },
  2690. "services.SharePosterReq": {
  2691. "type": "object",
  2692. "properties": {
  2693. "code_page": {
  2694. "type": "string"
  2695. },
  2696. "code_scene": {
  2697. "type": "string"
  2698. },
  2699. "pars": {
  2700. "type": "string"
  2701. },
  2702. "source": {
  2703. "type": "string"
  2704. },
  2705. "version": {
  2706. "type": "string"
  2707. }
  2708. }
  2709. },
  2710. "user.ApplyReq": {
  2711. "type": "object",
  2712. "properties": {
  2713. "business_card_url": {
  2714. "type": "string"
  2715. },
  2716. "company_name": {
  2717. "type": "string"
  2718. },
  2719. "from_page": {
  2720. "type": "string"
  2721. },
  2722. "permission": {
  2723. "type": "string"
  2724. },
  2725. "real_name": {
  2726. "type": "string"
  2727. },
  2728. "source": {
  2729. "type": "integer"
  2730. },
  2731. "source_agent": {
  2732. "type": "integer"
  2733. }
  2734. }
  2735. },
  2736. "user.CompanyPermission": {
  2737. "type": "object",
  2738. "properties": {
  2739. "name": {
  2740. "type": "string"
  2741. },
  2742. "permission_list": {
  2743. "type": "array",
  2744. "items": {
  2745. "$ref": "#/definitions/user.PermissionList"
  2746. }
  2747. }
  2748. }
  2749. },
  2750. "user.Detail": {
  2751. "type": "object",
  2752. "properties": {
  2753. "admin_info": {
  2754. "$ref": "#/definitions/admin.Admin"
  2755. },
  2756. "company_name": {
  2757. "type": "string"
  2758. },
  2759. "email": {
  2760. "type": "string"
  2761. },
  2762. "is_inner": {
  2763. "type": "integer"
  2764. },
  2765. "is_suspend": {
  2766. "type": "integer"
  2767. },
  2768. "mobile": {
  2769. "type": "string"
  2770. },
  2771. "permission_list": {
  2772. "type": "array",
  2773. "items": {
  2774. "$ref": "#/definitions/user.CompanyPermission"
  2775. }
  2776. },
  2777. "real_name": {
  2778. "type": "string"
  2779. },
  2780. "seal_mobile": {
  2781. "type": "string"
  2782. },
  2783. "seal_name": {
  2784. "type": "string"
  2785. },
  2786. "status": {
  2787. "type": "string"
  2788. }
  2789. }
  2790. },
  2791. "user.LoginReq": {
  2792. "type": "object",
  2793. "properties": {
  2794. "area_num": {
  2795. "type": "integer"
  2796. },
  2797. "bind_type": {
  2798. "type": "integer"
  2799. },
  2800. "email": {
  2801. "type": "string"
  2802. },
  2803. "mobile": {
  2804. "type": "string"
  2805. },
  2806. "verify_code": {
  2807. "type": "string"
  2808. }
  2809. }
  2810. },
  2811. "user.LoginResp": {
  2812. "type": "object",
  2813. "properties": {
  2814. "email": {
  2815. "type": "string"
  2816. },
  2817. "mobile": {
  2818. "type": "string"
  2819. },
  2820. "token": {
  2821. "type": "string"
  2822. },
  2823. "user_id": {
  2824. "type": "integer"
  2825. }
  2826. }
  2827. },
  2828. "user.PermissionList": {
  2829. "type": "object",
  2830. "properties": {
  2831. "end_date": {
  2832. "type": "string"
  2833. },
  2834. "name": {
  2835. "type": "string"
  2836. },
  2837. "start_date": {
  2838. "type": "string"
  2839. },
  2840. "status": {
  2841. "type": "string"
  2842. }
  2843. }
  2844. },
  2845. "user.Record": {
  2846. "type": "object",
  2847. "properties": {
  2848. "business_card_url": {
  2849. "type": "string"
  2850. },
  2851. "company_name": {
  2852. "type": "string"
  2853. },
  2854. "mobile": {
  2855. "type": "string"
  2856. },
  2857. "real_name": {
  2858. "type": "string"
  2859. }
  2860. }
  2861. },
  2862. "yb_activity.ActivityDetail": {
  2863. "type": "object",
  2864. "properties": {
  2865. "activityId": {
  2866. "type": "integer"
  2867. },
  2868. "activityName": {
  2869. "description": "活动名称",
  2870. "type": "string"
  2871. },
  2872. "activityState": {
  2873. "description": "活动状态 1-本周预告 2-进行中 3-已结束",
  2874. "type": "integer"
  2875. },
  2876. "activityTypeId": {
  2877. "description": "活动类型ID",
  2878. "type": "integer"
  2879. },
  2880. "activityTypeName": {
  2881. "description": "活动类型名称",
  2882. "type": "string"
  2883. },
  2884. "address": {
  2885. "description": "活动地址",
  2886. "type": "string"
  2887. },
  2888. "americaTel": {
  2889. "description": "美国拨入",
  2890. "type": "string"
  2891. },
  2892. "city": {
  2893. "description": "城市",
  2894. "type": "string"
  2895. },
  2896. "endTime": {
  2897. "description": "活动结束时间",
  2898. "type": "string"
  2899. },
  2900. "firstActivityTypeId": {
  2901. "description": "第一级的活动类型ID",
  2902. "type": "integer"
  2903. },
  2904. "firstActivityTypeName": {
  2905. "description": "第一级的活动类型名称",
  2906. "type": "string"
  2907. },
  2908. "hasPlayBack": {
  2909. "description": "是否有回放",
  2910. "type": "integer"
  2911. },
  2912. "hasRemind": {
  2913. "description": "是否已提醒",
  2914. "type": "integer"
  2915. },
  2916. "hongKongTel": {
  2917. "description": "香港拨入",
  2918. "type": "string"
  2919. },
  2920. "isLimitPeople": {
  2921. "description": "是否限制人数 1是,0否",
  2922. "type": "integer"
  2923. },
  2924. "limitPeopleNum": {
  2925. "description": "限制人数数量",
  2926. "type": "integer"
  2927. },
  2928. "linkParticipants": {
  2929. "description": "参会链接",
  2930. "type": "string"
  2931. },
  2932. "mainlandTel": {
  2933. "description": "大陆拨入",
  2934. "type": "string"
  2935. },
  2936. "participationCode": {
  2937. "description": "参会密码",
  2938. "type": "string"
  2939. },
  2940. "registerState": {
  2941. "description": "报名状态 0-取消报名 1-已报名",
  2942. "type": "integer"
  2943. },
  2944. "registeredNum": {
  2945. "description": "已报名人数",
  2946. "type": "integer"
  2947. },
  2948. "reportLink": {
  2949. "description": "报告链接",
  2950. "type": "string"
  2951. },
  2952. "reportName": {
  2953. "description": "报告名称",
  2954. "type": "string"
  2955. },
  2956. "singaporeTel": {
  2957. "description": "新加坡拨入",
  2958. "type": "string"
  2959. },
  2960. "speaker": {
  2961. "description": "主讲人",
  2962. "type": "string"
  2963. },
  2964. "speakerBackgroundPic": {
  2965. "description": "主讲人背景图",
  2966. "type": "string"
  2967. },
  2968. "speakerHeadPic": {
  2969. "description": "主讲人头像",
  2970. "type": "string"
  2971. },
  2972. "startTime": {
  2973. "description": "活动开始时间",
  2974. "type": "string"
  2975. },
  2976. "taiwanTel": {
  2977. "description": "台湾拨入",
  2978. "type": "string"
  2979. },
  2980. "weekString": {
  2981. "description": "周几",
  2982. "type": "string"
  2983. }
  2984. }
  2985. },
  2986. "yb_activity_voice.YbActivityVoice": {
  2987. "type": "object",
  2988. "properties": {
  2989. "activityId": {
  2990. "description": "活动id",
  2991. "type": "integer"
  2992. },
  2993. "createTime": {
  2994. "type": "string"
  2995. },
  2996. "voiceName": {
  2997. "description": "音频名称",
  2998. "type": "string"
  2999. },
  3000. "voicePlaySeconds": {
  3001. "description": "音频时长",
  3002. "type": "string"
  3003. },
  3004. "voiceUrl": {
  3005. "description": "音频地址",
  3006. "type": "string"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. }