swagger.json 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "弘则开放API接口",
  5. "description": "这是弘则开放API接口文档 \u003cbr/\u003e\u003cbr/\u003e\u003cb\u003e1、参数格式与调用方式:\u003c/b\u003e\u003cbr/\u003e(1)接口传输的所有参数使用 UTF8 编码格式,包括签名。接口调用方式请以接口定义的方式进行调用。\u003cbr/\u003e(2)接口地址(测试):http://8.136.199.33:8608/api/\u003cbr/\u003e(3)如果是POST请求,那么header头请以Content-Type: application/json的方式请求\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003e2、公共参数:\u003c/b\u003e\u003cbr/\u003e\u003ctable style=\"text-align:center\"\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e参数名\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e类型\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是否必传\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e说明\u003c/td\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003eappid\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003estring\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e开放平台给分配的appid\u003c/td\u003e\u003c/tr\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003enonce_str\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003estring\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e随机字符串,最大32位长度,26位大小写字母a,b…z和数字组成\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003etimestamp\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003eint\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e系统时间戳 UNIX_TIMESTAMP格式;1970年到目前的秒数\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003esign\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003estring\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e签名信息(签名规则查看第4节)\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e_page\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003eint\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e否\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e请求页码\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e_page_size\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003eint\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e否\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e每页请求返回数据数,最大不能超过100\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e \u003cbr/\u003e\u003cbr/\u003e\u003cb\u003e3、公共返回参数:\u003c/b\u003e\u003cbr/\u003e\u003ctable style=\"text-align:center\"\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e参数名\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e类型\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是否必传\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e说明\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003ecode\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003eint\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e接口返回状态码\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003emsg\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003estring\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e提示信息(错误信息)\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003edata\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003emap\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e是\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e对应的业务数据\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e \u003cbr/\u003e\u003cbr/\u003e\u003cb\u003e4、签名规则:\u003c/b\u003e\u003cbr/\u003e(1)所有发送或者接收到的数据为集合M,将集合M内非空参数值的参数按照参数名ASCII码从小到大排序(字典序),使用URL键值对的格式(即key1=value1\u0026key2=value2…)拼接成字符串stringA。\u003cbr/\u003e(2)在stringA最后拼接上\u0026secret=secretValue得到stringSignTemp字符串,并对stringSignTemp进行MD5运算,再将得到的字符串所有字符转换为大写,得到sign值signValue。\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003e5、code状态码取值:\u003c/b\u003e\u003cbr/\u003e\u003ctable style=\"text-align:center\"\u003e\u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e200\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e正常响应码\u003c/td\u003e\u003c/tr\u003e \u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e400\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e业务处理失败响应码\u003c/td\u003e\u003c/tr\u003e \u003ctr\u003e\u003ctd style=\"border:1px solid\"\u003e401\u003c/td\u003e\u003ctd style=\"border:1px solid\"\u003e参数签名异常,检查下签名是否正常\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e",
  6. "version": "1.0.0",
  7. "contact": {
  8. "email": "pyan@hzinsights.com"
  9. },
  10. "license": {
  11. "name": "Apache 2.0",
  12. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  13. }
  14. },
  15. "basePath": "/api",
  16. "paths": {
  17. "/company_user/user_report_list": {
  18. "get": {
  19. "tags": [
  20. "company_user"
  21. ],
  22. "description": "获取用户阅读数据报表",
  23. "operationId": "CompanyUser.获取用户阅读数据报表",
  24. "parameters": [
  25. {
  26. "in": "query",
  27. "name": "start_date",
  28. "description": "开始日期,格式:2021-11-03",
  29. "type": "string"
  30. },
  31. {
  32. "in": "query",
  33. "name": "end_date",
  34. "description": "结束日期,格式:2021-11-04",
  35. "type": "string"
  36. },
  37. {
  38. "in": "query",
  39. "name": "mobile",
  40. "description": "用户手机号",
  41. "type": "string"
  42. },
  43. {
  44. "in": "query",
  45. "name": "email",
  46. "description": "用户邮箱",
  47. "type": "string"
  48. }
  49. ],
  50. "responses": {
  51. "200": {
  52. "description": "",
  53. "schema": {
  54. "$ref": "#/definitions/company_user.UserReportListResp"
  55. }
  56. }
  57. }
  58. }
  59. },
  60. "/company_user/view_total_list": {
  61. "get": {
  62. "tags": [
  63. "company_user"
  64. ],
  65. "description": "获取用户阅读数据报表",
  66. "operationId": "CompanyUser.获取用户阅读数据报表",
  67. "responses": {
  68. "200": {
  69. "description": "",
  70. "schema": {
  71. "type": "array",
  72. "items": {
  73. "$ref": "#/definitions/logic.UserView"
  74. }
  75. }
  76. }
  77. }
  78. }
  79. },
  80. "/report/article/change": {
  81. "post": {
  82. "tags": [
  83. "report"
  84. ],
  85. "description": "报告变更通知的插入点接口",
  86. "operationId": "ReportController.报告变更通知的插入点接口",
  87. "parameters": [
  88. {
  89. "in": "body",
  90. "name": "request",
  91. "description": "type json string",
  92. "required": true,
  93. "schema": {
  94. "$ref": "#/definitions/article.CreatArticleCeluePushReq"
  95. }
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "创建成功"
  101. }
  102. }
  103. }
  104. },
  105. "/report/getReportChapterInfo": {
  106. "get": {
  107. "tags": [
  108. "report"
  109. ],
  110. "description": "获取章节详情",
  111. "operationId": "ReportControllerCommon.获取章节详情接口",
  112. "parameters": [
  113. {
  114. "in": "query",
  115. "name": "ResearchReportTypeId",
  116. "description": "章节ID",
  117. "required": true,
  118. "type": "integer",
  119. "format": "int64"
  120. },
  121. {
  122. "in": "query",
  123. "name": "mobile",
  124. "description": "用户手机号(加密后的)",
  125. "type": "string"
  126. }
  127. ],
  128. "responses": {
  129. "200": {
  130. "description": "",
  131. "schema": {
  132. "$ref": "#/definitions/report.ResearchReportTypeContentInfo"
  133. }
  134. }
  135. }
  136. }
  137. },
  138. "/report/getReportInfo": {
  139. "get": {
  140. "tags": [
  141. "report"
  142. ],
  143. "description": "获取报告详情",
  144. "operationId": "ReportControllerCommon.获取报告详情",
  145. "parameters": [
  146. {
  147. "in": "query",
  148. "name": "research_report_id",
  149. "description": "报告ID",
  150. "required": true,
  151. "type": "integer",
  152. "format": "int64"
  153. },
  154. {
  155. "in": "query",
  156. "name": "mobile",
  157. "description": "用户手机号(加密后的)",
  158. "required": true,
  159. "type": "string"
  160. }
  161. ],
  162. "responses": {
  163. "200": {
  164. "description": "",
  165. "schema": {
  166. "$ref": "#/definitions/report.ResearchReportInfo"
  167. }
  168. }
  169. }
  170. }
  171. },
  172. "/report/list": {
  173. "get": {
  174. "tags": [
  175. "report"
  176. ],
  177. "description": "获取报告列表",
  178. "operationId": "ReportController.获取报告列表接口",
  179. "parameters": [
  180. {
  181. "in": "query",
  182. "name": "_page_size",
  183. "description": "每页数据条数",
  184. "required": true,
  185. "type": "integer",
  186. "format": "int64"
  187. },
  188. {
  189. "in": "query",
  190. "name": "_page",
  191. "description": "当前页页码,从1开始",
  192. "required": true,
  193. "type": "integer",
  194. "format": "int64"
  195. },
  196. {
  197. "in": "query",
  198. "name": "report_type",
  199. "description": "类型 day:晨报 、week :周报、two_week:双周报 、month:月报、other :点评 (默认为day:晨报)",
  200. "required": true,
  201. "type": "string"
  202. },
  203. {
  204. "in": "query",
  205. "name": "keyword",
  206. "description": "搜索关键词",
  207. "required": true,
  208. "type": "string"
  209. },
  210. {
  211. "in": "query",
  212. "name": "mobile",
  213. "description": "用户手机号(加密后的)",
  214. "required": true,
  215. "type": "string"
  216. }
  217. ],
  218. "responses": {
  219. "200": {
  220. "description": "",
  221. "schema": {
  222. "$ref": "#/definitions/report.ReportListResp"
  223. }
  224. }
  225. }
  226. }
  227. },
  228. "/sys_user/create": {
  229. "post": {
  230. "tags": [
  231. "sys_user"
  232. ],
  233. "description": "创建系统用户",
  234. "operationId": "Admin.创建系统用户",
  235. "parameters": [
  236. {
  237. "in": "body",
  238. "name": "request",
  239. "description": "type json string",
  240. "required": true,
  241. "schema": {
  242. "$ref": "#/definitions/admin.CreateUserReq"
  243. }
  244. }
  245. ],
  246. "responses": {
  247. "200": {
  248. "description": "创建成功"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "definitions": {
  255. "admin.CreateUserReq": {
  256. "title": "CreateUserReq",
  257. "type": "object",
  258. "properties": {
  259. "mobile": {
  260. "description": "手机号",
  261. "type": "string"
  262. },
  263. "real_name": {
  264. "description": "用户真实姓名",
  265. "type": "string"
  266. },
  267. "role_type": {
  268. "description": "角色类型,枚举值。1:ficc研究员;2:权益研究员;3:ficc销售;4:权益销售",
  269. "type": "integer",
  270. "format": "int64"
  271. }
  272. }
  273. },
  274. "article.CreatArticleCeluePushReq": {
  275. "title": "CreatArticleCeluePushReq",
  276. "type": "object",
  277. "properties": {
  278. "action": {
  279. "description": "操作方式 add:新增、edit:修改、move:删除",
  280. "type": "string"
  281. },
  282. "article_id": {
  283. "description": "文章ID",
  284. "type": "integer",
  285. "format": "int64"
  286. }
  287. }
  288. },
  289. "company_report_permission.ResearchReportTypeContent": {
  290. "title": "ResearchReportTypeContent",
  291. "type": "object",
  292. "properties": {
  293. "content": {
  294. "description": "内容",
  295. "type": "string"
  296. },
  297. "content_type": {
  298. "description": "内容分类类型",
  299. "type": "string"
  300. },
  301. "created_time": {
  302. "description": "创建时间",
  303. "type": "string",
  304. "format": "datetime"
  305. },
  306. "img_url": {
  307. "description": "图片路径",
  308. "type": "string"
  309. },
  310. "last_updated_time": {
  311. "description": "最近一次更新时间",
  312. "type": "string",
  313. "format": "datetime"
  314. },
  315. "research_report_id": {
  316. "description": "报告id",
  317. "type": "integer",
  318. "format": "int64"
  319. },
  320. "research_report_type_content_id": {
  321. "description": "研究报告内容id",
  322. "type": "integer",
  323. "format": "int64"
  324. },
  325. "research_report_type_title": {
  326. "description": "标题",
  327. "type": "string"
  328. },
  329. "sort": {
  330. "description": "排序",
  331. "type": "integer",
  332. "format": "int64"
  333. }
  334. }
  335. },
  336. "company_report_permission.ResearchReportTypeInfo": {
  337. "title": "ResearchReportTypeInfo",
  338. "type": "object",
  339. "properties": {
  340. "banner_url": {
  341. "description": "banner url",
  342. "type": "string"
  343. },
  344. "report_chapter_type_id": {
  345. "description": "章节名称",
  346. "type": "integer",
  347. "format": "int64"
  348. },
  349. "report_chapter_type_name": {
  350. "description": "章节名称",
  351. "type": "string"
  352. },
  353. "research_report_id": {
  354. "description": "报告id",
  355. "type": "integer",
  356. "format": "int64"
  357. },
  358. "research_report_type_id": {
  359. "description": "研究报告id",
  360. "type": "integer",
  361. "format": "int64"
  362. },
  363. "research_report_type_title": {
  364. "description": "研究报告标题",
  365. "type": "string"
  366. },
  367. "type": {
  368. "type": "string"
  369. },
  370. "type_id": {
  371. "description": "分类id",
  372. "type": "integer",
  373. "format": "int64"
  374. }
  375. }
  376. },
  377. "company_report_permission.ResearchReportTypeList": {
  378. "title": "ResearchReportTypeList",
  379. "type": "object",
  380. "properties": {
  381. "BannerUrl": {
  382. "description": "banner显示图片",
  383. "type": "string"
  384. },
  385. "Edit": {
  386. "description": "是否编辑过",
  387. "type": "integer",
  388. "format": "int32"
  389. },
  390. "EditImgUrl": {
  391. "description": "管理后台编辑时选用的图",
  392. "type": "string"
  393. },
  394. "LastUpdatedTime": {
  395. "description": "最后更新时间",
  396. "type": "string",
  397. "format": "datetime"
  398. },
  399. "PauseEndTime": {
  400. "description": "暂停结束日期",
  401. "type": "string",
  402. "format": "datetime"
  403. },
  404. "PauseStartTime": {
  405. "description": "暂停开始日期",
  406. "type": "string",
  407. "format": "datetime"
  408. },
  409. "ReportChapterTypeKey": {
  410. "description": "章节key",
  411. "type": "string"
  412. },
  413. "ReportChapterTypeName": {
  414. "description": "报告章节类型名称",
  415. "type": "string"
  416. },
  417. "ReportChapterTypeThumb": {
  418. "description": "H5展示的图片",
  419. "type": "string"
  420. },
  421. "ResearchReportId": {
  422. "description": "研究报告id",
  423. "type": "integer",
  424. "format": "int64"
  425. },
  426. "ResearchReportTypeId": {
  427. "description": "章节ID",
  428. "type": "integer",
  429. "format": "int64"
  430. },
  431. "ResearchReportTypeTitle": {
  432. "description": "研究报告标题",
  433. "type": "string"
  434. },
  435. "Sort": {
  436. "description": "排序字段",
  437. "type": "integer",
  438. "format": "int64"
  439. },
  440. "Trend": {
  441. "description": "趋势观点",
  442. "type": "string"
  443. },
  444. "TypeId": {
  445. "description": "分类id",
  446. "type": "integer",
  447. "format": "int64"
  448. },
  449. "http_url": {
  450. "type": "string"
  451. }
  452. }
  453. },
  454. "company_user.UserReportListResp": {
  455. "title": "UserReportListResp",
  456. "type": "object",
  457. "properties": {
  458. "list": {
  459. "description": "数据列表",
  460. "type": "array",
  461. "items": {
  462. "$ref": "#/definitions/tables.ViewReportList"
  463. }
  464. },
  465. "paging": {
  466. "$ref": "#/definitions/utils.PagingItem",
  467. "description": "分页数据"
  468. }
  469. }
  470. },
  471. "logic.UserView": {
  472. "title": "UserView",
  473. "type": "object",
  474. "properties": {
  475. "count": {
  476. "description": "阅读数",
  477. "type": "integer",
  478. "format": "int64"
  479. },
  480. "phone": {
  481. "description": "手机号",
  482. "type": "string"
  483. }
  484. }
  485. },
  486. "report.ReportList": {
  487. "title": "ReportList",
  488. "type": "object",
  489. "properties": {
  490. "http_url": {
  491. "type": "string"
  492. },
  493. "periods": {
  494. "type": "integer",
  495. "format": "int64"
  496. },
  497. "research_report_date": {
  498. "type": "string"
  499. },
  500. "research_report_id": {
  501. "type": "integer",
  502. "format": "int64"
  503. },
  504. "research_report_name": {
  505. "description": "标题",
  506. "type": "string"
  507. }
  508. }
  509. },
  510. "report.ReportListResp": {
  511. "title": "ReportListResp",
  512. "type": "object",
  513. "properties": {
  514. "list": {
  515. "description": "列表",
  516. "type": "array",
  517. "items": {
  518. "$ref": "#/definitions/report.ReportList"
  519. }
  520. },
  521. "paging": {
  522. "$ref": "#/definitions/utils.PagingItem",
  523. "description": "分页数据"
  524. }
  525. }
  526. },
  527. "report.ResearchReport": {
  528. "title": "ResearchReport",
  529. "type": "object",
  530. "properties": {
  531. "author": {
  532. "type": "string"
  533. },
  534. "createdTime": {
  535. "type": "string",
  536. "format": "datetime"
  537. },
  538. "enabled": {
  539. "type": "integer",
  540. "format": "int32"
  541. },
  542. "isHasMenu": {
  543. "type": "integer",
  544. "format": "int32"
  545. },
  546. "isSendedMsg": {
  547. "type": "integer",
  548. "format": "int32"
  549. },
  550. "lastUpdatedTime": {
  551. "type": "string",
  552. "format": "datetime"
  553. },
  554. "periods": {
  555. "type": "integer",
  556. "format": "int64"
  557. },
  558. "reportVariety": {
  559. "type": "string"
  560. },
  561. "researchReportDate": {
  562. "type": "string",
  563. "format": "datetime"
  564. },
  565. "researchReportImg": {
  566. "type": "string"
  567. },
  568. "researchReportName": {
  569. "type": "string"
  570. },
  571. "researchReportTitle": {
  572. "type": "string"
  573. },
  574. "research_report_id": {
  575. "type": "integer",
  576. "format": "int64"
  577. },
  578. "status": {
  579. "type": "string"
  580. },
  581. "type": {
  582. "type": "string"
  583. },
  584. "viewers": {
  585. "type": "integer",
  586. "format": "int64"
  587. }
  588. }
  589. },
  590. "report.ResearchReportInfo": {
  591. "title": "ResearchReportInfo",
  592. "type": "object",
  593. "properties": {
  594. "ResearchReportTypeContentList": {
  595. "description": "报告详情",
  596. "type": "array",
  597. "items": {
  598. "$ref": "#/definitions/company_report_permission.ResearchReportTypeContent"
  599. }
  600. },
  601. "has_menu": {
  602. "type": "integer",
  603. "format": "int64"
  604. },
  605. "research_report_info": {
  606. "$ref": "#/definitions/report.ResearchReport"
  607. },
  608. "research_report_type_list": {
  609. "type": "array",
  610. "items": {
  611. "$ref": "#/definitions/company_report_permission.ResearchReportTypeList"
  612. }
  613. }
  614. }
  615. },
  616. "report.ResearchReportTypeContentInfo": {
  617. "title": "ResearchReportTypeContentInfo",
  618. "type": "object",
  619. "properties": {
  620. "add": {
  621. "type": "integer",
  622. "format": "int64"
  623. },
  624. "research_report_type_content_list": {
  625. "description": "报告详情",
  626. "type": "array",
  627. "items": {
  628. "$ref": "#/definitions/company_report_permission.ResearchReportTypeContent"
  629. }
  630. },
  631. "research_report_type_info": {
  632. "$ref": "#/definitions/company_report_permission.ResearchReportTypeInfo"
  633. },
  634. "research_report_type_list": {
  635. "type": "array",
  636. "items": {
  637. "$ref": "#/definitions/company_report_permission.ResearchReportTypeList"
  638. }
  639. }
  640. }
  641. },
  642. "tables.ViewReportList": {
  643. "title": "ViewReportList",
  644. "type": "object",
  645. "properties": {
  646. "company_name": {
  647. "description": "公司名称",
  648. "type": "string"
  649. },
  650. "created_time": {
  651. "description": "报告阅读时间",
  652. "type": "string"
  653. },
  654. "email": {
  655. "description": "邮箱",
  656. "type": "string"
  657. },
  658. "mobile": {
  659. "description": "手机号",
  660. "type": "string"
  661. },
  662. "report_name": {
  663. "description": "报告标题",
  664. "type": "string"
  665. },
  666. "user_name": {
  667. "description": "用户名称",
  668. "type": "string"
  669. }
  670. }
  671. },
  672. "utils.PagingItem": {
  673. "title": "PagingItem",
  674. "type": "object",
  675. "properties": {
  676. "current_index": {
  677. "description": "当前页页码",
  678. "type": "integer",
  679. "format": "int64"
  680. },
  681. "is_end": {
  682. "description": "是否最后一页",
  683. "type": "boolean"
  684. },
  685. "is_start": {
  686. "description": "是否首页",
  687. "type": "boolean"
  688. },
  689. "next_index": {
  690. "description": "下一页页码",
  691. "type": "integer",
  692. "format": "int64"
  693. },
  694. "page_size": {
  695. "description": "每页数据条数",
  696. "type": "integer",
  697. "format": "int64"
  698. },
  699. "pages": {
  700. "description": "总页数",
  701. "type": "integer",
  702. "format": "int64"
  703. },
  704. "previous_index": {
  705. "description": "上一页页码",
  706. "type": "integer",
  707. "format": "int64"
  708. },
  709. "totals": {
  710. "description": "总数据量",
  711. "type": "integer",
  712. "format": "int64"
  713. }
  714. }
  715. }
  716. },
  717. "tags": [
  718. {
  719. "name": "company_user",
  720. "description": "CompanyUser\n客户联系人模块\n"
  721. },
  722. {
  723. "name": "report",
  724. "description": "报告模块\n"
  725. },
  726. {
  727. "name": "report",
  728. "description": "报告模块\n"
  729. },
  730. {
  731. "name": "sys_user",
  732. "description": "Admin\n系统用户模块\n"
  733. }
  734. ]
  735. }