docs.go 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  1. // Package docs Code generated by swaggo/swag. DO NOT EDIT
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "contact": {},
  11. "version": "{{.Version}}"
  12. },
  13. "host": "{{.Host}}",
  14. "basePath": "{{.BasePath}}",
  15. "paths": {
  16. "/api-sa/v1/audio/batchDelete": {
  17. "delete": {
  18. "produces": [
  19. "application/json"
  20. ],
  21. "tags": [
  22. "音频"
  23. ],
  24. "summary": "批量删除音频",
  25. "parameters": [
  26. {
  27. "description": "参数",
  28. "name": "object",
  29. "in": "body",
  30. "required": true,
  31. "schema": {
  32. "$ref": "#/definitions/request.BatchProcessAudio"
  33. }
  34. }
  35. ],
  36. "responses": {
  37. "200": {
  38. "description": "成功",
  39. "schema": {
  40. "$ref": "#/definitions/util.Response"
  41. }
  42. }
  43. }
  44. }
  45. },
  46. "/api-sa/v1/audio/batchProcess": {
  47. "post": {
  48. "produces": [
  49. "application/json"
  50. ],
  51. "tags": [
  52. "音频"
  53. ],
  54. "summary": "批量处理音频",
  55. "parameters": [
  56. {
  57. "description": "参数",
  58. "name": "object",
  59. "in": "body",
  60. "required": true,
  61. "schema": {
  62. "$ref": "#/definitions/request.BatchProcessAudio"
  63. }
  64. }
  65. ],
  66. "responses": {
  67. "200": {
  68. "description": "成功",
  69. "schema": {
  70. "$ref": "#/definitions/util.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/api-sa/v1/audio/delete": {
  77. "delete": {
  78. "produces": [
  79. "application/json"
  80. ],
  81. "tags": [
  82. "音频"
  83. ],
  84. "summary": "删除音频",
  85. "parameters": [
  86. {
  87. "description": "参数",
  88. "name": "object",
  89. "in": "body",
  90. "required": true,
  91. "schema": {
  92. "$ref": "#/definitions/request.ProcessAudio"
  93. }
  94. }
  95. ],
  96. "responses": {
  97. "200": {
  98. "description": "成功",
  99. "schema": {
  100. "$ref": "#/definitions/util.Response"
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "/api-sa/v1/audio/download": {
  107. "get": {
  108. "produces": [
  109. "application/json"
  110. ],
  111. "tags": [
  112. "音频"
  113. ],
  114. "summary": "音频下载",
  115. "parameters": [
  116. {
  117. "type": "integer",
  118. "name": "fileType",
  119. "in": "query"
  120. },
  121. {
  122. "type": "integer",
  123. "name": "id",
  124. "in": "query",
  125. "required": true
  126. }
  127. ],
  128. "responses": {
  129. "200": {
  130. "description": "成功",
  131. "schema": {
  132. "allOf": [
  133. {
  134. "$ref": "#/definitions/util.Response"
  135. },
  136. {
  137. "type": "object",
  138. "properties": {
  139. "data": {
  140. "$ref": "#/definitions/models.Audio"
  141. }
  142. }
  143. }
  144. ]
  145. }
  146. }
  147. }
  148. }
  149. },
  150. "/api-sa/v1/audio/follow": {
  151. "post": {
  152. "produces": [
  153. "application/json"
  154. ],
  155. "tags": [
  156. "音频"
  157. ],
  158. "summary": "关注/取消关注",
  159. "parameters": [
  160. {
  161. "description": "参数",
  162. "name": "object",
  163. "in": "body",
  164. "required": true,
  165. "schema": {
  166. "$ref": "#/definitions/request.FollowReq"
  167. }
  168. }
  169. ],
  170. "responses": {
  171. "200": {
  172. "description": "成功",
  173. "schema": {
  174. "allOf": [
  175. {
  176. "$ref": "#/definitions/util.Response"
  177. },
  178. {
  179. "type": "object",
  180. "properties": {
  181. "data": {
  182. "$ref": "#/definitions/response.FollowResp"
  183. }
  184. }
  185. }
  186. ]
  187. }
  188. }
  189. }
  190. }
  191. },
  192. "/api-sa/v1/audio/info": {
  193. "get": {
  194. "produces": [
  195. "application/json"
  196. ],
  197. "tags": [
  198. "音频"
  199. ],
  200. "summary": "音频详情,含解析结果",
  201. "parameters": [
  202. {
  203. "type": "integer",
  204. "name": "fileType",
  205. "in": "query"
  206. },
  207. {
  208. "type": "integer",
  209. "name": "id",
  210. "in": "query",
  211. "required": true
  212. }
  213. ],
  214. "responses": {
  215. "200": {
  216. "description": "成功",
  217. "schema": {
  218. "allOf": [
  219. {
  220. "$ref": "#/definitions/util.Response"
  221. },
  222. {
  223. "type": "object",
  224. "properties": {
  225. "data": {
  226. "$ref": "#/definitions/models.Audio"
  227. }
  228. }
  229. }
  230. ]
  231. }
  232. }
  233. }
  234. }
  235. },
  236. "/api-sa/v1/audio/list": {
  237. "get": {
  238. "produces": [
  239. "application/json"
  240. ],
  241. "tags": [
  242. "音频"
  243. ],
  244. "summary": "音频分析检索",
  245. "parameters": [
  246. {
  247. "type": "string",
  248. "description": "开始时间",
  249. "name": "beginTime",
  250. "in": "query"
  251. },
  252. {
  253. "type": "string",
  254. "description": "司机号",
  255. "name": "driverNumber",
  256. "in": "query"
  257. },
  258. {
  259. "type": "string",
  260. "description": "结束时间",
  261. "name": "endTime",
  262. "in": "query"
  263. },
  264. {
  265. "enum": [
  266. 1,
  267. 2
  268. ],
  269. "type": "integer",
  270. "x-enum-comments": {
  271. "BoolTypeFalse": "false",
  272. "BoolTypeTrue": "true"
  273. },
  274. "x-enum-varnames": [
  275. "BoolTypeTrue",
  276. "BoolTypeFalse"
  277. ],
  278. "description": "是否关注 1关注 2未关注",
  279. "name": "isFollowed",
  280. "in": "query"
  281. },
  282. {
  283. "type": "string",
  284. "description": "关键字",
  285. "name": "keyword",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "机车号",
  291. "name": "locomotiveNumber",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "页码",
  297. "name": "page",
  298. "in": "query"
  299. },
  300. {
  301. "type": "integer",
  302. "description": "每页大小",
  303. "name": "pageSize",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "车站号",
  309. "name": "stationNumber",
  310. "in": "query"
  311. },
  312. {
  313. "type": "array",
  314. "items": {
  315. "enum": [
  316. 0,
  317. 1,
  318. 2,
  319. 3,
  320. 4
  321. ],
  322. "type": "integer"
  323. },
  324. "collectionFormat": "csv",
  325. "description": "音频状态数组",
  326. "name": "statusList",
  327. "in": "query"
  328. },
  329. {
  330. "type": "string",
  331. "description": "车次",
  332. "name": "trainNumber",
  333. "in": "query"
  334. }
  335. ],
  336. "responses": {
  337. "200": {
  338. "description": "成功",
  339. "schema": {
  340. "allOf": [
  341. {
  342. "$ref": "#/definitions/util.ResponseList"
  343. },
  344. {
  345. "type": "object",
  346. "properties": {
  347. "data": {
  348. "type": "array",
  349. "items": {
  350. "$ref": "#/definitions/models.Audio"
  351. }
  352. }
  353. }
  354. }
  355. ]
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/api-sa/v1/audio/preLoadPath": {
  362. "get": {
  363. "produces": [
  364. "application/json"
  365. ],
  366. "tags": [
  367. "音频自动加载路径"
  368. ],
  369. "summary": "音频自动加载路径",
  370. "responses": {
  371. "200": {
  372. "description": "成功",
  373. "schema": {
  374. "allOf": [
  375. {
  376. "$ref": "#/definitions/util.Response"
  377. },
  378. {
  379. "type": "object",
  380. "properties": {
  381. "data": {
  382. "$ref": "#/definitions/response.PreLoadPathResp"
  383. }
  384. }
  385. }
  386. ]
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/api-sa/v1/audio/process": {
  393. "post": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "音频"
  399. ],
  400. "summary": "处理音频",
  401. "parameters": [
  402. {
  403. "description": "参数",
  404. "name": "object",
  405. "in": "body",
  406. "required": true,
  407. "schema": {
  408. "$ref": "#/definitions/request.ProcessAudio"
  409. }
  410. }
  411. ],
  412. "responses": {
  413. "200": {
  414. "description": "成功",
  415. "schema": {
  416. "$ref": "#/definitions/util.Response"
  417. }
  418. }
  419. }
  420. }
  421. },
  422. "/api-sa/v1/audio/trainInfoList": {
  423. "get": {
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "音频"
  429. ],
  430. "summary": "获取火车信息",
  431. "parameters": [
  432. {
  433. "enum": [
  434. 1,
  435. 2,
  436. 3
  437. ],
  438. "type": "integer",
  439. "x-enum-comments": {
  440. "ClassLocomotive": "机车",
  441. "ClassStation": "车站",
  442. "ClassTrain": "车次"
  443. },
  444. "x-enum-varnames": [
  445. "ClassLocomotive",
  446. "ClassTrain",
  447. "ClassStation"
  448. ],
  449. "description": "信息分类 1机车2车次3车站",
  450. "name": "class",
  451. "in": "query"
  452. },
  453. {
  454. "type": "integer",
  455. "description": "页码",
  456. "name": "page",
  457. "in": "query"
  458. },
  459. {
  460. "type": "integer",
  461. "description": "每页大小",
  462. "name": "pageSize",
  463. "in": "query"
  464. },
  465. {
  466. "type": "integer",
  467. "description": "上级id",
  468. "name": "parentID",
  469. "in": "query"
  470. }
  471. ],
  472. "responses": {
  473. "200": {
  474. "description": "成功",
  475. "schema": {
  476. "allOf": [
  477. {
  478. "$ref": "#/definitions/util.ResponseList"
  479. },
  480. {
  481. "type": "object",
  482. "properties": {
  483. "data": {
  484. "type": "array",
  485. "items": {
  486. "$ref": "#/definitions/models.TrainInfo"
  487. }
  488. }
  489. }
  490. }
  491. ]
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/api-sa/v1/audio/upload": {
  498. "post": {
  499. "consumes": [
  500. "multipart/form-data"
  501. ],
  502. "produces": [
  503. "application/json"
  504. ],
  505. "tags": [
  506. "音频"
  507. ],
  508. "summary": "上传音频",
  509. "parameters": [
  510. {
  511. "type": "array",
  512. "items": {
  513. "type": "file"
  514. },
  515. "collectionFormat": "csv",
  516. "description": "多文件上传",
  517. "name": "file",
  518. "in": "formData"
  519. }
  520. ],
  521. "responses": {
  522. "200": {
  523. "description": "成功",
  524. "schema": {
  525. "$ref": "#/definitions/util.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/api-sa/v1/text/add": {
  532. "post": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "文字库"
  538. ],
  539. "summary": "新增文字",
  540. "parameters": [
  541. {
  542. "description": "参数",
  543. "name": "object",
  544. "in": "body",
  545. "required": true,
  546. "schema": {
  547. "$ref": "#/definitions/request.AddTextReq"
  548. }
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "成功",
  554. "schema": {
  555. "$ref": "#/definitions/util.Response"
  556. }
  557. }
  558. }
  559. }
  560. },
  561. "/api-sa/v1/text/delete": {
  562. "delete": {
  563. "produces": [
  564. "application/json"
  565. ],
  566. "tags": [
  567. "文字库"
  568. ],
  569. "summary": "修改文字",
  570. "parameters": [
  571. {
  572. "description": "参数",
  573. "name": "object",
  574. "in": "body",
  575. "required": true,
  576. "schema": {
  577. "$ref": "#/definitions/request.AddTextReq"
  578. }
  579. }
  580. ],
  581. "responses": {
  582. "200": {
  583. "description": "成功",
  584. "schema": {
  585. "$ref": "#/definitions/util.Response"
  586. }
  587. }
  588. }
  589. }
  590. },
  591. "/api-sa/v1/text/list": {
  592. "get": {
  593. "produces": [
  594. "application/json"
  595. ],
  596. "tags": [
  597. "文字库"
  598. ],
  599. "summary": "文字库列表",
  600. "parameters": [
  601. {
  602. "type": "string",
  603. "description": "关键字",
  604. "name": "keyword",
  605. "in": "query"
  606. },
  607. {
  608. "type": "integer",
  609. "description": "页码",
  610. "name": "page",
  611. "in": "query"
  612. },
  613. {
  614. "type": "integer",
  615. "description": "每页大小",
  616. "name": "pageSize",
  617. "in": "query"
  618. }
  619. ],
  620. "responses": {
  621. "200": {
  622. "description": "成功",
  623. "schema": {
  624. "allOf": [
  625. {
  626. "$ref": "#/definitions/util.ResponseList"
  627. },
  628. {
  629. "type": "object",
  630. "properties": {
  631. "data": {
  632. "type": "array",
  633. "items": {
  634. "$ref": "#/definitions/models.Word"
  635. }
  636. }
  637. }
  638. }
  639. ]
  640. }
  641. }
  642. }
  643. }
  644. },
  645. "/api-sa/v1/text/update": {
  646. "post": {
  647. "produces": [
  648. "application/json"
  649. ],
  650. "tags": [
  651. "文字库"
  652. ],
  653. "summary": "修改文字",
  654. "parameters": [
  655. {
  656. "description": "参数",
  657. "name": "object",
  658. "in": "body",
  659. "required": true,
  660. "schema": {
  661. "$ref": "#/definitions/request.AddTextReq"
  662. }
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "成功",
  668. "schema": {
  669. "$ref": "#/definitions/util.Response"
  670. }
  671. }
  672. }
  673. }
  674. }
  675. },
  676. "definitions": {
  677. "constvar.AudioStatus": {
  678. "type": "integer",
  679. "enum": [
  680. 0,
  681. 1,
  682. 2,
  683. 3,
  684. 4
  685. ],
  686. "x-enum-comments": {
  687. "AudioStatusFailed": "处理失败",
  688. "AudioStatusFinish": "处理完成",
  689. "AudioStatusProcessing": "处理中",
  690. "AudioStatusUploadOk": "上传成功 待处理",
  691. "AudioStatusUploading": "上传中"
  692. },
  693. "x-enum-varnames": [
  694. "AudioStatusUploading",
  695. "AudioStatusUploadOk",
  696. "AudioStatusProcessing",
  697. "AudioStatusFinish",
  698. "AudioStatusFailed"
  699. ]
  700. },
  701. "constvar.BoolType": {
  702. "type": "integer",
  703. "enum": [
  704. 1,
  705. 2
  706. ],
  707. "x-enum-comments": {
  708. "BoolTypeFalse": "false",
  709. "BoolTypeTrue": "true"
  710. },
  711. "x-enum-varnames": [
  712. "BoolTypeTrue",
  713. "BoolTypeFalse"
  714. ]
  715. },
  716. "constvar.Class": {
  717. "type": "integer",
  718. "enum": [
  719. 1,
  720. 2,
  721. 3
  722. ],
  723. "x-enum-comments": {
  724. "ClassLocomotive": "机车",
  725. "ClassStation": "车站",
  726. "ClassTrain": "车次"
  727. },
  728. "x-enum-varnames": [
  729. "ClassLocomotive",
  730. "ClassTrain",
  731. "ClassStation"
  732. ]
  733. },
  734. "gorm.DeletedAt": {
  735. "type": "object",
  736. "properties": {
  737. "time": {
  738. "type": "string"
  739. },
  740. "valid": {
  741. "description": "Valid is true if Time is not NULL",
  742. "type": "boolean"
  743. }
  744. }
  745. },
  746. "models.Audio": {
  747. "type": "object",
  748. "properties": {
  749. "audioStatus": {
  750. "description": "音频状态",
  751. "allOf": [
  752. {
  753. "$ref": "#/definitions/constvar.AudioStatus"
  754. }
  755. ]
  756. },
  757. "audioText": {
  758. "description": "解析出的文本",
  759. "type": "string"
  760. },
  761. "createdAt": {
  762. "type": "string"
  763. },
  764. "deletedAt": {
  765. "$ref": "#/definitions/gorm.DeletedAt"
  766. },
  767. "driverNumber": {
  768. "description": "司机号",
  769. "type": "string"
  770. },
  771. "id": {
  772. "type": "integer"
  773. },
  774. "isFollowed": {
  775. "description": "是否关注 1关注 2未关注",
  776. "allOf": [
  777. {
  778. "$ref": "#/definitions/constvar.BoolType"
  779. }
  780. ]
  781. },
  782. "kilometerMarker": {
  783. "description": "公里标",
  784. "type": "string"
  785. },
  786. "locomotiveNumber": {
  787. "description": "机车号",
  788. "type": "string"
  789. },
  790. "name": {
  791. "description": "音频名称",
  792. "type": "string"
  793. },
  794. "occurrenceTime": {
  795. "type": "string"
  796. },
  797. "routeNumber": {
  798. "description": "交路号",
  799. "type": "string"
  800. },
  801. "score": {
  802. "description": "置信度",
  803. "type": "number"
  804. },
  805. "size": {
  806. "description": "音频大小",
  807. "type": "integer"
  808. },
  809. "station": {
  810. "description": "车站",
  811. "type": "string"
  812. },
  813. "trainNumber": {
  814. "description": "车次",
  815. "type": "string"
  816. },
  817. "updatedAt": {
  818. "type": "string"
  819. },
  820. "words": {
  821. "description": "匹配到的文字数组",
  822. "type": "array",
  823. "items": {
  824. "type": "string"
  825. }
  826. }
  827. }
  828. },
  829. "models.TrainInfo": {
  830. "type": "object",
  831. "properties": {
  832. "class": {
  833. "description": "分类 1 机车 2车次 3 车站",
  834. "allOf": [
  835. {
  836. "$ref": "#/definitions/constvar.Class"
  837. }
  838. ]
  839. },
  840. "createdAt": {
  841. "type": "string"
  842. },
  843. "deletedAt": {
  844. "$ref": "#/definitions/gorm.DeletedAt"
  845. },
  846. "id": {
  847. "type": "integer"
  848. },
  849. "name": {
  850. "description": "名称",
  851. "type": "string"
  852. },
  853. "parentID": {
  854. "description": "上级id",
  855. "type": "integer"
  856. },
  857. "updatedAt": {
  858. "type": "string"
  859. }
  860. }
  861. },
  862. "models.Word": {
  863. "type": "object",
  864. "properties": {
  865. "content": {
  866. "description": "文字",
  867. "type": "string"
  868. },
  869. "createdAt": {
  870. "type": "string"
  871. },
  872. "deletedAt": {
  873. "$ref": "#/definitions/gorm.DeletedAt"
  874. },
  875. "id": {
  876. "type": "integer"
  877. },
  878. "locomotiveNumber": {
  879. "description": "机车号",
  880. "type": "string"
  881. },
  882. "updatedAt": {
  883. "type": "string"
  884. }
  885. }
  886. },
  887. "request.AddTextReq": {
  888. "type": "object",
  889. "required": [
  890. "content",
  891. "locomotiveNumber"
  892. ],
  893. "properties": {
  894. "content": {
  895. "description": "音频名称",
  896. "type": "string"
  897. },
  898. "id": {
  899. "type": "integer"
  900. },
  901. "locomotiveNumber": {
  902. "description": "机车号",
  903. "type": "string"
  904. }
  905. }
  906. },
  907. "request.BatchProcessAudio": {
  908. "type": "object",
  909. "required": [
  910. "ids"
  911. ],
  912. "properties": {
  913. "ids": {
  914. "type": "array",
  915. "items": {
  916. "type": "integer"
  917. }
  918. }
  919. }
  920. },
  921. "request.FollowReq": {
  922. "type": "object",
  923. "required": [
  924. "id"
  925. ],
  926. "properties": {
  927. "id": {
  928. "type": "integer"
  929. }
  930. }
  931. },
  932. "request.ProcessAudio": {
  933. "type": "object",
  934. "required": [
  935. "id"
  936. ],
  937. "properties": {
  938. "fileType": {
  939. "type": "integer"
  940. },
  941. "id": {
  942. "type": "integer"
  943. }
  944. }
  945. },
  946. "response.FollowResp": {
  947. "type": "object",
  948. "properties": {
  949. "followStatus": {
  950. "description": "1 已关注 2未关注",
  951. "allOf": [
  952. {
  953. "$ref": "#/definitions/constvar.BoolType"
  954. }
  955. ]
  956. }
  957. }
  958. },
  959. "response.PreLoadPathResp": {
  960. "type": "object",
  961. "properties": {
  962. "preLoadPath": {
  963. "type": "string"
  964. }
  965. }
  966. },
  967. "util.Response": {
  968. "type": "object",
  969. "properties": {
  970. "code": {
  971. "type": "integer"
  972. },
  973. "data": {},
  974. "msg": {
  975. "type": "string"
  976. }
  977. }
  978. },
  979. "util.ResponseList": {
  980. "type": "object",
  981. "properties": {
  982. "code": {
  983. "type": "integer"
  984. },
  985. "data": {},
  986. "msg": {
  987. "type": "string"
  988. },
  989. "page": {
  990. "type": "integer"
  991. },
  992. "pageSize": {
  993. "type": "integer"
  994. },
  995. "total": {
  996. "type": "integer"
  997. }
  998. }
  999. }
  1000. }
  1001. }`
  1002. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1003. var SwaggerInfo = &swag.Spec{
  1004. Version: "",
  1005. Host: "",
  1006. BasePath: "",
  1007. Schemes: []string{},
  1008. Title: "",
  1009. Description: "",
  1010. InfoInstanceName: "swagger",
  1011. SwaggerTemplate: docTemplate,
  1012. LeftDelim: "{{",
  1013. RightDelim: "}}",
  1014. }
  1015. func init() {
  1016. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1017. }