swagger.yaml 46 KB

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