swagger.yml 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196
  1. swagger: "2.0"
  2. info:
  3. title: 弘则开放API接口
  4. description: |
  5. 这是弘则开放API接口文档 <br/><br/><b>1、参数格式与调用方式:</b><br/>(1)接口传输的所有参数使用 UTF8 编码格式,包括签名。接口调用方式请以接口定义的方式进行调用。<br/>(2)接口地址(测试):http://8.136.199.33:8608/api/<br/>(3)如果是POST请求,那么header头请以Content-Type: application/json的方式请求<br/><br/><b>2、公共参数:</b><br/><table style="text-align:center"><tr><td style="border:1px solid">参数名</td><td style="border:1px solid">类型</td><td style="border:1px solid">是否必传</td><td style="border:1px solid">说明</td><tr><td style="border:1px solid">appid</td><td style="border:1px solid">string</td><td style="border:1px solid">是</td><td style="border:1px solid">开放平台给分配的appid</td></tr></tr><tr><td style="border:1px solid">nonce_str</td><td style="border:1px solid">string</td><td style="border:1px solid">是</td><td style="border:1px solid">随机字符串,最大32位长度,26位大小写字母a,b…z和数字组成</td></tr><tr><td style="border:1px solid">timestamp</td><td style="border:1px solid">int</td><td style="border:1px solid">是</td><td style="border:1px solid">系统时间戳 UNIX_TIMESTAMP格式;1970年到目前的秒数</td></tr><tr><td style="border:1px solid">sign</td><td style="border:1px solid">string</td><td style="border:1px solid">是</td><td style="border:1px solid">签名信息(签名规则查看第4节)</td></tr><tr><td style="border:1px solid">_page</td><td style="border:1px solid">int</td><td style="border:1px solid">否</td><td style="border:1px solid">请求页码</td></tr><tr><td style="border:1px solid">_page_size</td><td style="border:1px solid">int</td><td style="border:1px solid">否</td><td style="border:1px solid">每页请求返回数据数,最大不能超过100</td></tr></table> <br/><br/><b>3、公共返回参数:</b><br/><table style="text-align:center"><tr><td style="border:1px solid">参数名</td><td style="border:1px solid">类型</td><td style="border:1px solid">是否必传</td><td style="border:1px solid">说明</td></tr><tr><td style="border:1px solid">code</td><td style="border:1px solid">int</td><td style="border:1px solid">是</td><td style="border:1px solid">接口返回状态码</td></tr><tr><td style="border:1px solid">msg</td><td style="border:1px solid">string</td><td style="border:1px solid">是</td><td style="border:1px solid">提示信息(错误信息)</td></tr><tr><td style="border:1px solid">data</td><td style="border:1px solid">map</td><td style="border:1px solid">是</td><td style="border:1px solid">对应的业务数据</td></tr></table> <br/><br/><b>4、签名规则:</b><br/>(1)所有发送或者接收到的数据为集合M,将集合M内非空参数值的参数按照参数名ASCII码从小到大排序(字典序),使用URL键值对的格式(即key1=value1&key2=value2…)拼接成字符串stringA。<br/>(2)在stringA最后拼接上&secret=secretValue得到stringSignTemp字符串,并对stringSignTemp进行MD5运算,再将得到的字符串所有字符转换为大写,得到sign值signValue。<br/><br/><b>5、code状态码取值:</b><br/><table style="text-align:center"><tr><td style="border:1px solid">200</td><td style="border:1px solid">正常响应码</td></tr> <tr><td style="border:1px solid">400</td><td style="border:1px solid">业务处理失败响应码</td></tr> <tr><td style="border:1px solid">401</td><td style="border:1px solid">参数签名异常,检查下签名是否正常</td></tr></table>
  6. version: 1.0.0
  7. contact:
  8. email: pyan@hzinsights.com
  9. license:
  10. name: Apache 2.0
  11. url: http://www.apache.org/licenses/LICENSE-2.0.html
  12. basePath: /api
  13. paths:
  14. /chart/change:
  15. post:
  16. tags:
  17. - chart
  18. description: |-
  19. 图表变更通知的插入点接口
  20. <br>
  21. operationId: ChartController.图表变更通知的插入点接口
  22. parameters:
  23. - in: body
  24. name: request
  25. description: type json string
  26. required: true
  27. schema:
  28. $ref: '#/definitions/chart.CreatChartCeluePushReq'
  29. responses:
  30. "200":
  31. description: 创建成功
  32. /company_user/user_report_list:
  33. get:
  34. tags:
  35. - company_user
  36. description: |-
  37. 获取用户阅读数据报表
  38. <br>
  39. operationId: CompanyUser.获取用户阅读数据报表
  40. parameters:
  41. - in: query
  42. name: start_date
  43. description: 开始日期,格式:2021-11-03
  44. type: string
  45. - in: query
  46. name: end_date
  47. description: 结束日期,格式:2021-11-04
  48. type: string
  49. - in: query
  50. name: mobile
  51. description: 用户手机号
  52. type: string
  53. - in: query
  54. name: email
  55. description: 用户邮箱
  56. type: string
  57. responses:
  58. "200":
  59. description: ""
  60. schema:
  61. $ref: '#/definitions/company_user.UserReportListResp'
  62. /company_user/view_total_list:
  63. get:
  64. tags:
  65. - company_user
  66. description: |-
  67. 获取用户阅读数据报表
  68. <br>
  69. operationId: CompanyUser.获取用户阅读数据报表
  70. responses:
  71. "200":
  72. description: ""
  73. schema:
  74. type: array
  75. items:
  76. $ref: '#/definitions/logic.UserView'
  77. /day_new/refresh:
  78. get:
  79. tags:
  80. - day_new
  81. description: |-
  82. 手动刷新
  83. <br>
  84. operationId: DayNewController.手动刷新企业微信群消息
  85. /day_new/translate:
  86. get:
  87. tags:
  88. - day_new
  89. description: |-
  90. 手动翻译内容
  91. <br>
  92. operationId: DayNewController.手动翻译内容
  93. /en/report/notify:
  94. get:
  95. tags:
  96. - en/report
  97. description: |-
  98. 策略报告发布通知
  99. <br>
  100. operationId: EnglishReportController.策略报告发布通知
  101. /quanshi/callback:
  102. post:
  103. tags:
  104. - quanshi
  105. description: |-
  106. 全时回调接口
  107. <br>
  108. operationId: QuanShiControllerCommon.全时回调接口
  109. /report/article/change:
  110. post:
  111. tags:
  112. - report
  113. description: |-
  114. 报告变更通知的插入点接口
  115. <br>
  116. operationId: ReportController.报告变更通知的插入点接口
  117. parameters:
  118. - in: body
  119. name: request
  120. description: type json string
  121. required: true
  122. schema:
  123. $ref: '#/definitions/article.CreatArticleCeluePushReq'
  124. responses:
  125. "200":
  126. description: 创建成功
  127. /report/classify/list:
  128. get:
  129. tags:
  130. - report
  131. description: |-
  132. 获取报告分类列表接口
  133. <br>
  134. operationId: ReportController.获取报告分类列表接口
  135. parameters:
  136. - in: query
  137. name: _page_size
  138. description: 每页数据条数
  139. required: true
  140. type: integer
  141. format: int64
  142. - in: query
  143. name: _page
  144. description: 当前页页码,从1开始
  145. required: true
  146. type: integer
  147. format: int64
  148. - in: query
  149. name: report_type
  150. description: 类型 day:晨报 、week :周报、two_week:双周报 、month:月报、other :点评 (默认为day:晨报)
  151. required: true
  152. type: string
  153. - in: query
  154. name: keyword
  155. description: 搜索关键词
  156. required: true
  157. type: string
  158. - in: query
  159. name: mobile
  160. description: 用户手机号(加密后的)
  161. required: true
  162. type: string
  163. responses:
  164. "200":
  165. description: ""
  166. schema:
  167. $ref: '#/definitions/classify.ClassifyList'
  168. /report/getReportChapterInfo:
  169. get:
  170. tags:
  171. - report
  172. description: |-
  173. 获取章节详情
  174. <br>
  175. operationId: ReportControllerCommon.获取章节详情接口
  176. parameters:
  177. - in: query
  178. name: ResearchReportTypeId
  179. description: 章节ID
  180. required: true
  181. type: integer
  182. format: int64
  183. - in: query
  184. name: mobile
  185. description: 用户手机号(加密后的)
  186. type: string
  187. responses:
  188. "200":
  189. description: ""
  190. schema:
  191. $ref: '#/definitions/report.ResearchReportTypeContentInfo'
  192. /report/getReportChapterInfo/v2:
  193. get:
  194. tags:
  195. - report
  196. description: |-
  197. 获取章节详情
  198. <br>
  199. operationId: ReportControllerCommon.获取章节详情接口
  200. parameters:
  201. - in: query
  202. name: report_chapter_id
  203. description: 章节ID
  204. required: true
  205. type: integer
  206. format: int64
  207. - in: query
  208. name: mobile
  209. description: 用户手机号(加密后的)
  210. type: string
  211. responses:
  212. "200":
  213. description: ""
  214. schema:
  215. $ref: '#/definitions/report.ReportChapterDetail'
  216. /report/getReportInfo:
  217. get:
  218. tags:
  219. - report
  220. description: |-
  221. 获取报告详情
  222. <br>
  223. operationId: ReportControllerCommon.获取报告详情
  224. parameters:
  225. - in: query
  226. name: research_report_id
  227. description: 报告ID
  228. required: true
  229. type: integer
  230. format: int64
  231. - in: query
  232. name: mobile
  233. description: 用户手机号(加密后的)
  234. required: true
  235. type: string
  236. responses:
  237. "200":
  238. description: ""
  239. schema:
  240. $ref: '#/definitions/report.ResearchReportInfo'
  241. /report/getReportInfo/v2:
  242. get:
  243. tags:
  244. - report
  245. description: |-
  246. 获取报告详情
  247. <br>
  248. operationId: ReportControllerCommon.获取报告详情
  249. parameters:
  250. - in: query
  251. name: report_id
  252. description: 报告ID
  253. required: true
  254. type: integer
  255. format: int64
  256. - in: query
  257. name: mobile
  258. description: 用户手机号(加密后的)
  259. required: true
  260. type: string
  261. responses:
  262. "200":
  263. description: ""
  264. schema:
  265. $ref: '#/definitions/report.ReportDetail'
  266. /report/getTickerData:
  267. get:
  268. tags:
  269. - report
  270. description: |-
  271. 获取报告详情获取指标数据接口
  272. <br>
  273. operationId: ReportControllerCommon.获取报告详情获取指标数据接口
  274. parameters:
  275. - in: query
  276. name: report_chapter_id
  277. description: 章节ID
  278. required: true
  279. type: integer
  280. format: int64
  281. responses:
  282. "200":
  283. description: ""
  284. schema:
  285. $ref: '#/definitions/report.TickerData'
  286. /report/list:
  287. get:
  288. tags:
  289. - report
  290. description: |-
  291. 获取报告列表
  292. <br>
  293. operationId: ReportController.获取报告列表接口
  294. parameters:
  295. - in: query
  296. name: _page_size
  297. description: 每页数据条数
  298. required: true
  299. type: integer
  300. format: int64
  301. - in: query
  302. name: _page
  303. description: 当前页页码,从1开始
  304. required: true
  305. type: integer
  306. format: int64
  307. - in: query
  308. name: report_type
  309. description: 类型 day:晨报 、week :周报、two_week:双周报 、month:月报、other :点评 (默认为day:晨报)
  310. required: true
  311. type: string
  312. - in: query
  313. name: keyword
  314. description: 搜索关键词
  315. required: true
  316. type: string
  317. - in: query
  318. name: mobile
  319. description: 用户手机号(加密后的)
  320. required: true
  321. type: string
  322. responses:
  323. "200":
  324. description: ""
  325. schema:
  326. $ref: '#/definitions/report.ReportListResp'
  327. /report/list/v2:
  328. get:
  329. tags:
  330. - report
  331. description: |-
  332. 获取报告列表
  333. <br>
  334. operationId: ReportController.获取报告列表接口
  335. parameters:
  336. - in: query
  337. name: _page_size
  338. description: 每页数据条数
  339. required: true
  340. type: integer
  341. format: int64
  342. - in: query
  343. name: _page
  344. description: 当前页页码,从1开始
  345. required: true
  346. type: integer
  347. format: int64
  348. - in: query
  349. name: classify_id
  350. description: 分类id
  351. required: true
  352. type: integer
  353. format: int64
  354. - in: query
  355. name: keyword
  356. description: 搜索关键词
  357. required: true
  358. type: string
  359. - in: query
  360. name: mobile
  361. description: 用户手机号(加密后的)
  362. required: true
  363. type: string
  364. responses:
  365. "200":
  366. description: ""
  367. schema:
  368. $ref: '#/definitions/report.ReportListResp'
  369. /sys_user/create:
  370. post:
  371. tags:
  372. - sys_user
  373. description: |-
  374. 创建系统用户
  375. <br>
  376. operationId: Admin.创建系统用户
  377. parameters:
  378. - in: body
  379. name: request
  380. description: type json string
  381. required: true
  382. schema:
  383. $ref: '#/definitions/admin.CreateUserReq'
  384. responses:
  385. "200":
  386. description: 创建成功
  387. /wework/notify:
  388. get:
  389. tags:
  390. - wework
  391. description: |-
  392. 企业微信通知
  393. <br>
  394. operationId: WeworkController.企业微信通知
  395. post:
  396. tags:
  397. - wework
  398. description: |-
  399. 企业微信通知
  400. <br>
  401. operationId: WeworkController.企业微信通知
  402. /yidong/activity/examine/signup:
  403. post:
  404. tags:
  405. - yidong
  406. description: |-
  407. 易董提交报名用户审核接口
  408. <br>
  409. operationId: YiDongController.易董提交报名用户审核接口
  410. parameters:
  411. - in: body
  412. name: request
  413. description: type json string
  414. required: true
  415. schema:
  416. $ref: '#/definitions/yidong.ActivityExamineReq'
  417. responses:
  418. "200":
  419. description: 创建成功
  420. /yidong/activity/user/signup:
  421. post:
  422. tags:
  423. - yidong
  424. description: |-
  425. 易董提交报名时,获取用户信息接口
  426. <br>
  427. operationId: YiDongController.易董提交报名时,获取用户信息接口
  428. parameters:
  429. - in: body
  430. name: request
  431. description: type json string
  432. required: true
  433. schema:
  434. $ref: '#/definitions/yidong.ActivityExamineReq'
  435. responses:
  436. "200":
  437. description: 创建成功
  438. definitions:
  439. admin.CreateUserReq:
  440. title: CreateUserReq
  441. type: object
  442. properties:
  443. mobile:
  444. description: 手机号
  445. type: string
  446. real_name:
  447. description: 用户真实姓名
  448. type: string
  449. role_type:
  450. description: 角色类型,枚举值。1:ficc研究员;2:权益研究员;3:ficc销售;4:权益销售
  451. type: integer
  452. format: int64
  453. article.CreatArticleCeluePushReq:
  454. title: CreatArticleCeluePushReq
  455. type: object
  456. properties:
  457. action:
  458. description: 操作方式 add:新增、edit:修改、move:删除
  459. type: string
  460. appid:
  461. description: 文章ID
  462. type: string
  463. article_id:
  464. description: 文章ID
  465. type: integer
  466. format: int64
  467. chart.CreatChartCeluePushReq:
  468. title: CreatChartCeluePushReq
  469. type: object
  470. properties:
  471. action:
  472. description: 操作方式 add:新增、edit:修改、move:删除
  473. type: string
  474. appid:
  475. description: APPID
  476. type: string
  477. chart_id:
  478. description: 图表ID
  479. type: integer
  480. format: int64
  481. classify.ClassifyList:
  482. title: ClassifyList
  483. type: object
  484. properties:
  485. Child:
  486. type: array
  487. items:
  488. $ref: '#/definitions/classify.ClassifyList'
  489. ClassifyName:
  490. description: 分类名称
  491. type: string
  492. Id:
  493. type: integer
  494. format: int64
  495. ParentId:
  496. description: 父级分类id
  497. type: integer
  498. format: int64
  499. company_report_permission.ResearchReportTypeContent:
  500. title: ResearchReportTypeContent
  501. type: object
  502. properties:
  503. content:
  504. description: 内容
  505. type: string
  506. content_type:
  507. description: 内容分类类型
  508. type: string
  509. created_time:
  510. description: 创建时间
  511. type: string
  512. format: datetime
  513. img_url:
  514. description: 图片路径
  515. type: string
  516. last_updated_time:
  517. description: 最近一次更新时间
  518. type: string
  519. format: datetime
  520. research_report_id:
  521. description: 报告id
  522. type: integer
  523. format: int64
  524. research_report_type_content_id:
  525. description: 研究报告内容id
  526. type: integer
  527. format: int64
  528. research_report_type_title:
  529. description: 标题
  530. type: string
  531. sort:
  532. description: 排序
  533. type: integer
  534. format: int64
  535. company_report_permission.ResearchReportTypeInfo:
  536. title: ResearchReportTypeInfo
  537. type: object
  538. properties:
  539. banner_url:
  540. description: banner url
  541. type: string
  542. report_chapter_type_id:
  543. description: 章节名称
  544. type: integer
  545. format: int64
  546. report_chapter_type_name:
  547. description: 章节名称
  548. type: string
  549. research_report_id:
  550. description: 报告id
  551. type: integer
  552. format: int64
  553. research_report_type_id:
  554. description: 研究报告id
  555. type: integer
  556. format: int64
  557. research_report_type_title:
  558. description: 研究报告标题
  559. type: string
  560. type:
  561. type: string
  562. type_id:
  563. description: 分类id
  564. type: integer
  565. format: int64
  566. company_report_permission.ResearchReportTypeList:
  567. title: ResearchReportTypeList
  568. type: object
  569. properties:
  570. BannerUrl:
  571. description: banner显示图片
  572. type: string
  573. Edit:
  574. description: 是否编辑过
  575. type: integer
  576. format: int32
  577. EditImgUrl:
  578. description: 管理后台编辑时选用的图
  579. type: string
  580. LastUpdatedTime:
  581. description: 最后更新时间
  582. type: string
  583. format: datetime
  584. PauseEndTime:
  585. description: 暂停结束日期
  586. type: string
  587. format: datetime
  588. PauseStartTime:
  589. description: 暂停开始日期
  590. type: string
  591. format: datetime
  592. ReportChapterTypeKey:
  593. description: 章节key
  594. type: string
  595. ReportChapterTypeName:
  596. description: 报告章节类型名称
  597. type: string
  598. ReportChapterTypeThumb:
  599. description: H5展示的图片
  600. type: string
  601. ResearchReportId:
  602. description: 研究报告id
  603. type: integer
  604. format: int64
  605. ResearchReportTypeId:
  606. description: 章节ID
  607. type: integer
  608. format: int64
  609. ResearchReportTypeTitle:
  610. description: 研究报告标题
  611. type: string
  612. Sort:
  613. description: 排序字段
  614. type: integer
  615. format: int64
  616. Trend:
  617. description: 趋势观点
  618. type: string
  619. TypeId:
  620. description: 分类id
  621. type: integer
  622. format: int64
  623. http_url:
  624. type: string
  625. company_user.UserReportListResp:
  626. title: UserReportListResp
  627. type: object
  628. properties:
  629. list:
  630. description: 数据列表
  631. type: array
  632. items:
  633. $ref: '#/definitions/tables.ViewReportList'
  634. paging:
  635. $ref: '#/definitions/utils.PagingItem'
  636. description: 分页数据
  637. logic.UserView:
  638. title: UserView
  639. type: object
  640. properties:
  641. count:
  642. description: 阅读数
  643. type: integer
  644. format: int64
  645. phone:
  646. description: 手机号
  647. type: string
  648. report.CustomerInfo:
  649. title: CustomerInfo
  650. type: object
  651. properties:
  652. company_name:
  653. description: 客户(公司)名称
  654. type: string
  655. has_apply:
  656. description: 是否有申请过
  657. type: boolean
  658. is_suspend:
  659. description: 启用与否字段:1:暂停,0:启用
  660. type: integer
  661. format: int64
  662. mobile:
  663. description: 手机号
  664. type: string
  665. name:
  666. description: 联系人名称
  667. type: string
  668. status:
  669. description: 状态
  670. type: string
  671. report.PermissionCheckInfo:
  672. title: PermissionCheckInfo
  673. type: object
  674. properties:
  675. customer_info:
  676. $ref: '#/definitions/report.CustomerInfo'
  677. description: 客户信息
  678. hz_phone:
  679. description: 弘则公司电话
  680. type: string
  681. mobile:
  682. description: 手机号
  683. type: string
  684. name:
  685. description: 销售名称
  686. type: string
  687. type:
  688. description: 校验失败,没有权限,需要让前端处理的类型,枚举值:apply,contact
  689. type: string
  690. report.ReportChapterDetail:
  691. title: ReportChapterDetail
  692. type: object
  693. properties:
  694. auth_ok:
  695. type: boolean
  696. permission_check:
  697. $ref: '#/definitions/report.PermissionCheckInfo'
  698. report_chapter_item:
  699. $ref: '#/definitions/report.ReportChapterItem'
  700. report_chapter_menu_list:
  701. type: array
  702. items:
  703. $ref: '#/definitions/report.ReportChapterMenu'
  704. ticker_data_param:
  705. description: 指标数据参数
  706. type: string
  707. report.ReportChapterItem:
  708. title: ReportChapterItem
  709. type: object
  710. properties:
  711. abstract:
  712. type: string
  713. author:
  714. description: 作者
  715. type: string
  716. classify_id_first:
  717. description: 一级分类id
  718. type: integer
  719. format: int64
  720. classify_name_first:
  721. description: 一级分类名称
  722. type: string
  723. content:
  724. description: 内容
  725. type: string
  726. content_sub:
  727. description: 内容前两个章节
  728. type: string
  729. publish_time:
  730. type: string
  731. format: datetime
  732. report_chapter_id:
  733. type: integer
  734. format: int64
  735. report_chapter_type_name:
  736. type: string
  737. report_id:
  738. type: integer
  739. format: int64
  740. stage:
  741. description: 期数
  742. type: integer
  743. format: int64
  744. title:
  745. type: string
  746. trend:
  747. type: string
  748. type_id:
  749. type: integer
  750. format: int64
  751. type_name:
  752. type: string
  753. video_img:
  754. description: 音频播放条的图片
  755. type: string
  756. video_name:
  757. description: 音频文件名称
  758. type: string
  759. video_play_seconds:
  760. description: 音频播放时长
  761. type: string
  762. video_size:
  763. type: string
  764. video_url:
  765. description: 音频文件URL
  766. type: string
  767. report.ReportChapterListItem:
  768. title: ReportChapterListItem
  769. type: object
  770. properties:
  771. http_url:
  772. type: string
  773. publish_time:
  774. type: string
  775. format: datetime
  776. report_chapter_id:
  777. type: integer
  778. format: int64
  779. report_chapter_type_key:
  780. type: string
  781. report_chapter_type_name:
  782. type: string
  783. report_chapter_type_thumb:
  784. type: string
  785. report_id:
  786. type: integer
  787. format: int64
  788. sort:
  789. type: integer
  790. format: int64
  791. title:
  792. type: string
  793. trend:
  794. type: string
  795. type_id:
  796. type: integer
  797. format: int64
  798. type_name:
  799. type: string
  800. report.ReportChapterMenu:
  801. title: ReportChapterMenu
  802. type: object
  803. properties:
  804. http_url:
  805. type: string
  806. pc_selected_thumb:
  807. type: string
  808. pc_unselected_thumb:
  809. type: string
  810. report_chapter_id:
  811. type: integer
  812. format: int64
  813. report_chapter_type_name:
  814. type: string
  815. report_chapter_type_thumb:
  816. type: string
  817. report_id:
  818. type: integer
  819. format: int64
  820. sort:
  821. type: integer
  822. format: int64
  823. report.ReportDetail:
  824. title: ReportDetail
  825. type: object
  826. properties:
  827. auth_ok:
  828. type: boolean
  829. permission_check:
  830. $ref: '#/definitions/report.PermissionCheckInfo'
  831. report_chapter_list:
  832. type: array
  833. items:
  834. $ref: '#/definitions/report.ReportChapterListItem'
  835. report_info:
  836. $ref: '#/definitions/report.ReportItem'
  837. report_show_type:
  838. type: integer
  839. format: int64
  840. report.ReportItem:
  841. title: ReportItem
  842. type: object
  843. properties:
  844. abstract:
  845. description: 摘要
  846. type: string
  847. author:
  848. description: 作者
  849. type: string
  850. banner_url:
  851. description: 详情页banner
  852. type: string
  853. classify_name_first:
  854. description: 一级分类名称
  855. type: string
  856. classify_name_second:
  857. description: 二级分类名称
  858. type: string
  859. content:
  860. description: 内容
  861. type: string
  862. content_sub:
  863. description: 内容前两个章节
  864. type: string
  865. frequency:
  866. description: 频度
  867. type: string
  868. publish_time:
  869. description: 发布时间
  870. type: string
  871. format: datetime
  872. report_id:
  873. type: integer
  874. format: int64
  875. stage:
  876. description: 期数
  877. type: integer
  878. format: int64
  879. title:
  880. description: 标题
  881. type: string
  882. video_img:
  883. description: 音频播放条的图片
  884. type: string
  885. video_name:
  886. description: 音频文件名称
  887. type: string
  888. video_play_seconds:
  889. description: 音频播放时长
  890. type: string
  891. video_size:
  892. description: 音频文件大小,单位M
  893. type: string
  894. video_url:
  895. description: 音频文件URL
  896. type: string
  897. report.ReportList:
  898. title: ReportList
  899. type: object
  900. properties:
  901. Author:
  902. description: 作者
  903. type: string
  904. Id:
  905. description: 报告Id
  906. type: integer
  907. format: int64
  908. Title:
  909. description: 标题
  910. type: string
  911. create_time:
  912. description: 创建时间
  913. type: string
  914. format: datetime
  915. http_url:
  916. description: 跳转地址
  917. type: string
  918. stage:
  919. description: 期数
  920. type: integer
  921. format: int64
  922. report.ReportListResp:
  923. title: ReportListResp
  924. type: object
  925. properties:
  926. list:
  927. description: 列表
  928. type: array
  929. items:
  930. $ref: '#/definitions/report.ReportList'
  931. paging:
  932. $ref: '#/definitions/utils.PagingItem'
  933. description: 分页数据
  934. report.ResearchReport:
  935. title: ResearchReport
  936. type: object
  937. properties:
  938. author:
  939. description: 报告作者
  940. type: string
  941. createdTime:
  942. description: 创建时间
  943. type: string
  944. format: datetime
  945. enabled:
  946. description: 报告状态
  947. type: integer
  948. format: int32
  949. isHasMenu:
  950. description: 报告是否含有目录
  951. type: integer
  952. format: int32
  953. isSendedMsg:
  954. description: 是否发送过模板消息
  955. type: integer
  956. format: int32
  957. lastUpdatedTime:
  958. type: string
  959. format: datetime
  960. periods:
  961. description: 期数
  962. type: integer
  963. format: int64
  964. reportVariety:
  965. description: 研究报告的品种,双周报和月报有标识
  966. type: string
  967. research_report_id:
  968. description: 研究报告id
  969. type: integer
  970. format: int64
  971. researchReportDate:
  972. description: 报告日期
  973. type: string
  974. format: datetime
  975. researchReportImg:
  976. description: 报告缩略图URL
  977. type: string
  978. researchReportName:
  979. description: 研究报告名称
  980. type: string
  981. researchReportTitle:
  982. description: 研究报告标题
  983. type: string
  984. status:
  985. description: 状态,draft:草稿,
  986. type: string
  987. type:
  988. description: day 晨报 week 周报 twoweek双周报 month 月报
  989. type: string
  990. viewers:
  991. description: H5观看用户数
  992. type: integer
  993. format: int64
  994. report.ResearchReportInfo:
  995. title: ResearchReportInfo
  996. type: object
  997. properties:
  998. ResearchReportTypeContentList:
  999. description: 报告详情
  1000. type: array
  1001. items:
  1002. $ref: '#/definitions/company_report_permission.ResearchReportTypeContent'
  1003. has_menu:
  1004. type: integer
  1005. format: int64
  1006. research_report_info:
  1007. $ref: '#/definitions/report.ResearchReport'
  1008. research_report_type_list:
  1009. type: array
  1010. items:
  1011. $ref: '#/definitions/company_report_permission.ResearchReportTypeList'
  1012. report.ResearchReportTypeContentInfo:
  1013. title: ResearchReportTypeContentInfo
  1014. type: object
  1015. properties:
  1016. add:
  1017. type: integer
  1018. format: int64
  1019. research_report_type_content_list:
  1020. description: 报告详情
  1021. type: array
  1022. items:
  1023. $ref: '#/definitions/company_report_permission.ResearchReportTypeContent'
  1024. research_report_type_info:
  1025. $ref: '#/definitions/company_report_permission.ResearchReportTypeInfo'
  1026. research_report_type_list:
  1027. type: array
  1028. items:
  1029. $ref: '#/definitions/company_report_permission.ResearchReportTypeList'
  1030. report.TickerData:
  1031. title: TickerData
  1032. type: object
  1033. properties:
  1034. list:
  1035. type: array
  1036. items:
  1037. $ref: '#/definitions/report.TickerDataItem'
  1038. ticker_title:
  1039. $ref: '#/definitions/report.TickerTitleData'
  1040. report.TickerDataItem:
  1041. title: TickerDataItem
  1042. type: object
  1043. properties:
  1044. base_column_name:
  1045. type: string
  1046. date:
  1047. type: string
  1048. dd_value:
  1049. type: number
  1050. format: double
  1051. last_value:
  1052. type: number
  1053. format: double
  1054. mm_value:
  1055. type: number
  1056. format: double
  1057. ticker:
  1058. type: string
  1059. ticker_value:
  1060. type: number
  1061. format: double
  1062. ww_value:
  1063. type: number
  1064. format: double
  1065. report.TickerTitleData:
  1066. title: TickerTitleData
  1067. type: object
  1068. properties:
  1069. data_table_image:
  1070. type: string
  1071. report_chapter_type_id:
  1072. type: integer
  1073. format: int64
  1074. report_chapter_type_name:
  1075. type: string
  1076. ticker_title:
  1077. type: string
  1078. tables.ViewReportList:
  1079. title: ViewReportList
  1080. type: object
  1081. properties:
  1082. company_name:
  1083. description: 公司名称
  1084. type: string
  1085. created_time:
  1086. description: 报告阅读时间
  1087. type: string
  1088. email:
  1089. description: 邮箱
  1090. type: string
  1091. mobile:
  1092. description: 手机号
  1093. type: string
  1094. report_name:
  1095. description: 报告标题
  1096. type: string
  1097. user_name:
  1098. description: 用户名称
  1099. type: string
  1100. utils.PagingItem:
  1101. title: PagingItem
  1102. type: object
  1103. properties:
  1104. current_index:
  1105. description: 当前页页码
  1106. type: integer
  1107. format: int64
  1108. is_end:
  1109. description: 是否最后一页
  1110. type: boolean
  1111. is_start:
  1112. description: 是否首页
  1113. type: boolean
  1114. next_index:
  1115. description: 下一页页码
  1116. type: integer
  1117. format: int64
  1118. page_size:
  1119. description: 每页数据条数
  1120. type: integer
  1121. format: int64
  1122. pages:
  1123. description: 总页数
  1124. type: integer
  1125. format: int64
  1126. previous_index:
  1127. description: 上一页页码
  1128. type: integer
  1129. format: int64
  1130. totals:
  1131. description: 总数据量
  1132. type: integer
  1133. format: int64
  1134. yidong.ActivityExamineReq:
  1135. title: ActivityExamineReq
  1136. type: object
  1137. properties:
  1138. activity_id:
  1139. description: 文章ID
  1140. type: string
  1141. appid:
  1142. description: 开放平台给分配的appid
  1143. type: string
  1144. list:
  1145. description: 审核结果
  1146. type: array
  1147. items:
  1148. $ref: '#/definitions/yidong.ExamineStatusReq'
  1149. sign:
  1150. description: 签名
  1151. type: string
  1152. time:
  1153. description: 时间戳
  1154. type: integer
  1155. format: int64
  1156. yidong.ExamineStatusReq:
  1157. title: ExamineStatusReq
  1158. type: object
  1159. properties:
  1160. create_time:
  1161. description: 报名时间
  1162. type: string
  1163. examine_status:
  1164. description: 审核状态 1,通过、2:未通过、3:取消报名
  1165. type: integer
  1166. format: int64
  1167. mobile:
  1168. description: 手机号
  1169. type: string
  1170. tags:
  1171. - name: company_user
  1172. description: |
  1173. CompanyUser
  1174. 客户联系人模块
  1175. - name: report
  1176. description: |
  1177. 报告模块
  1178. - name: report
  1179. description: |
  1180. 报告模块
  1181. - name: sys_user
  1182. description: |
  1183. Admin
  1184. 系统用户模块
  1185. - name: quanshi
  1186. description: |
  1187. QuanShiControllerCommon 报告模块
  1188. - name: yidong
  1189. description: |
  1190. 易董
  1191. - name: wework
  1192. description: |
  1193. 用户
  1194. - name: chart
  1195. description: |
  1196. 图表模块