docs.go 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "contact": {},
  12. "version": "{{.Version}}"
  13. },
  14. "host": "{{.Host}}",
  15. "basePath": "{{.BasePath}}",
  16. "paths": {
  17. "/dxp/database/connect": {
  18. "post": {
  19. "description": "测试数据库连接",
  20. "consumes": [
  21. "application/json"
  22. ],
  23. "produces": [
  24. "application/json"
  25. ],
  26. "tags": [
  27. "巨衍接口-数据库连接测试"
  28. ],
  29. "summary": "数据库连接测试",
  30. "parameters": [
  31. {
  32. "description": "json",
  33. "name": "connect",
  34. "in": "body",
  35. "required": true,
  36. "schema": {
  37. "$ref": "#/definitions/model.DbConnInfo"
  38. }
  39. }
  40. ],
  41. "responses": {
  42. "200": {
  43. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  44. "schema": {
  45. "$ref": "#/definitions/model.NullObj"
  46. }
  47. }
  48. }
  49. }
  50. },
  51. "/dxp/database/databaseAddIndex": {
  52. "post": {
  53. "description": "动态添加索引",
  54. "consumes": [
  55. "application/json"
  56. ],
  57. "produces": [
  58. "application/json"
  59. ],
  60. "tags": [
  61. "巨衍接口-动态添加索引"
  62. ],
  63. "summary": "动态添加索引",
  64. "parameters": [
  65. {
  66. "description": "json",
  67. "name": "connect",
  68. "in": "body",
  69. "required": true,
  70. "schema": {
  71. "$ref": "#/definitions/model.TbIndex"
  72. }
  73. }
  74. ],
  75. "responses": {
  76. "200": {
  77. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  78. "schema": {
  79. "$ref": "#/definitions/model.NullObj"
  80. }
  81. }
  82. }
  83. }
  84. },
  85. "/dxp/database/databaseCreateTable": {
  86. "post": {
  87. "description": "动态创建数据表",
  88. "consumes": [
  89. "application/json"
  90. ],
  91. "produces": [
  92. "application/json"
  93. ],
  94. "tags": [
  95. "巨衍接口-动态创建数据表"
  96. ],
  97. "summary": "动态创建数据表",
  98. "parameters": [
  99. {
  100. "description": "json",
  101. "name": "connect",
  102. "in": "body",
  103. "required": true,
  104. "schema": {
  105. "$ref": "#/definitions/model.DatabaseCreateRequest"
  106. }
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  112. "schema": {
  113. "$ref": "#/definitions/model.NullObj"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/dxp/database/databaseDelete": {
  120. "post": {
  121. "description": "删除数据库",
  122. "consumes": [
  123. "application/json"
  124. ],
  125. "produces": [
  126. "application/json"
  127. ],
  128. "tags": [
  129. "巨衍接口-删除数据库"
  130. ],
  131. "summary": "删除数据库",
  132. "parameters": [
  133. {
  134. "description": "json",
  135. "name": "connect",
  136. "in": "body",
  137. "required": true,
  138. "schema": {
  139. "$ref": "#/definitions/model.QueryId"
  140. }
  141. }
  142. ],
  143. "responses": {
  144. "200": {
  145. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  146. "schema": {
  147. "$ref": "#/definitions/model.NullObj"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/dxp/database/databaseDeleteIndex": {
  154. "post": {
  155. "description": "动态删除索引",
  156. "consumes": [
  157. "application/json"
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "巨衍接口-动态删除索引"
  164. ],
  165. "summary": "动态删除索引",
  166. "parameters": [
  167. {
  168. "description": "json",
  169. "name": "connect",
  170. "in": "body",
  171. "required": true,
  172. "schema": {
  173. "$ref": "#/definitions/model.TbIndex"
  174. }
  175. }
  176. ],
  177. "responses": {
  178. "200": {
  179. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  180. "schema": {
  181. "$ref": "#/definitions/model.NullObj"
  182. }
  183. }
  184. }
  185. }
  186. },
  187. "/dxp/database/databaseDeleteTableData": {
  188. "post": {
  189. "description": "删除表数据",
  190. "consumes": [
  191. "application/json"
  192. ],
  193. "produces": [
  194. "application/json"
  195. ],
  196. "tags": [
  197. "巨衍接口-删除表数据"
  198. ],
  199. "summary": "删除表数据",
  200. "parameters": [
  201. {
  202. "description": "json",
  203. "name": "connect",
  204. "in": "body",
  205. "required": true,
  206. "schema": {
  207. "$ref": "#/definitions/model.TbDelete"
  208. }
  209. }
  210. ],
  211. "responses": {
  212. "200": {
  213. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  214. "schema": {
  215. "$ref": "#/definitions/model.NullObj"
  216. }
  217. }
  218. }
  219. }
  220. },
  221. "/dxp/database/databaseDropTable": {
  222. "post": {
  223. "description": "删除数据表",
  224. "consumes": [
  225. "application/json"
  226. ],
  227. "produces": [
  228. "application/json"
  229. ],
  230. "tags": [
  231. "巨衍接口-删除数据表"
  232. ],
  233. "summary": "删除数据表",
  234. "parameters": [
  235. {
  236. "description": "json",
  237. "name": "connect",
  238. "in": "body",
  239. "required": true,
  240. "schema": {
  241. "$ref": "#/definitions/model.TbDelete"
  242. }
  243. }
  244. ],
  245. "responses": {
  246. "200": {
  247. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  248. "schema": {
  249. "$ref": "#/definitions/model.NullObj"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/dxp/database/databaseInsertData": {
  256. "post": {
  257. "description": "动态插入表数据",
  258. "consumes": [
  259. "application/json"
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "巨衍接口-动态插入表数据"
  266. ],
  267. "summary": "动态插入表数据",
  268. "parameters": [
  269. {
  270. "description": "json",
  271. "name": "connect",
  272. "in": "body",
  273. "required": true,
  274. "schema": {
  275. "$ref": "#/definitions/model.ColnDataInsert"
  276. }
  277. }
  278. ],
  279. "responses": {
  280. "200": {
  281. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  282. "schema": {
  283. "$ref": "#/definitions/model.NullObj"
  284. }
  285. }
  286. }
  287. }
  288. },
  289. "/dxp/database/databaseQueryStatus": {
  290. "post": {
  291. "description": "查询数据库连接状态",
  292. "consumes": [
  293. "application/json"
  294. ],
  295. "produces": [
  296. "application/json"
  297. ],
  298. "tags": [
  299. "巨衍接口-查询数据库连接状态"
  300. ],
  301. "summary": "查询数据库连接状态",
  302. "parameters": [
  303. {
  304. "description": "json",
  305. "name": "connect",
  306. "in": "body",
  307. "required": true,
  308. "schema": {
  309. "$ref": "#/definitions/model.Page"
  310. }
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  316. "schema": {
  317. "$ref": "#/definitions/model.CommonList"
  318. }
  319. }
  320. }
  321. }
  322. },
  323. "/dxp/database/databaseQueryTable": {
  324. "post": {
  325. "description": "查询表数据",
  326. "consumes": [
  327. "application/json"
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "巨衍接口-查询表数据"
  334. ],
  335. "summary": "查询表数据",
  336. "parameters": [
  337. {
  338. "description": "json",
  339. "name": "connect",
  340. "in": "body",
  341. "required": true,
  342. "schema": {
  343. "$ref": "#/definitions/model.DbQuery"
  344. }
  345. }
  346. ],
  347. "responses": {
  348. "200": {
  349. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  350. "schema": {
  351. "$ref": "#/definitions/model.CommonList"
  352. }
  353. }
  354. }
  355. }
  356. },
  357. "/dxp/database/databaseQueryTableColnList": {
  358. "post": {
  359. "description": "查询指定数据库指定表字段",
  360. "consumes": [
  361. "application/json"
  362. ],
  363. "produces": [
  364. "application/json"
  365. ],
  366. "tags": [
  367. "巨衍接口-查询指定数据库指定表字段"
  368. ],
  369. "summary": "查询指定数据库指定表字段",
  370. "parameters": [
  371. {
  372. "description": "json",
  373. "name": "connect",
  374. "in": "body",
  375. "required": true,
  376. "schema": {
  377. "$ref": "#/definitions/model.QueryTableColn"
  378. }
  379. }
  380. ],
  381. "responses": {
  382. "200": {
  383. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  384. "schema": {
  385. "$ref": "#/definitions/model.CommonList"
  386. }
  387. }
  388. }
  389. }
  390. },
  391. "/dxp/database/databaseQueryTableList": {
  392. "post": {
  393. "description": "查询指定数据库表结构",
  394. "consumes": [
  395. "application/json"
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "巨衍接口-查询指定数据库表结构"
  402. ],
  403. "summary": "查询指定数据库表结构",
  404. "parameters": [
  405. {
  406. "description": "json",
  407. "name": "connect",
  408. "in": "body",
  409. "required": true,
  410. "schema": {
  411. "$ref": "#/definitions/model.QueryId"
  412. }
  413. }
  414. ],
  415. "responses": {
  416. "200": {
  417. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  418. "schema": {
  419. "$ref": "#/definitions/model.CommonList"
  420. }
  421. }
  422. }
  423. }
  424. },
  425. "/dxp/database/databaseUpdateNotify": {
  426. "post": {
  427. "description": "数据库更新通知",
  428. "consumes": [
  429. "application/json"
  430. ],
  431. "produces": [
  432. "application/json"
  433. ],
  434. "tags": [
  435. "巨衍接口-数据库更新通知"
  436. ],
  437. "summary": "数据库更新通知",
  438. "parameters": [
  439. {
  440. "description": "json",
  441. "name": "connect",
  442. "in": "body",
  443. "required": true,
  444. "schema": {
  445. "$ref": "#/definitions/model.NullObj"
  446. }
  447. }
  448. ],
  449. "responses": {
  450. "200": {
  451. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{total:0,rows:[]}}",
  452. "schema": {
  453. "$ref": "#/definitions/model.NullObj"
  454. }
  455. }
  456. }
  457. }
  458. },
  459. "/dxp/outapi/any/:key": {
  460. "post": {
  461. "description": "数据库资源数据查询",
  462. "consumes": [
  463. "application/json"
  464. ],
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "第三方接口服务-数据库资源数据查询"
  470. ],
  471. "summary": "数据库资源数据查询",
  472. "parameters": [
  473. {
  474. "description": "json",
  475. "name": "connect",
  476. "in": "body",
  477. "required": true,
  478. "schema": {
  479. "$ref": "#/definitions/model.RequestBody"
  480. }
  481. }
  482. ],
  483. "responses": {
  484. "200": {
  485. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  486. "schema": {
  487. "$ref": "#/definitions/model.CommonList"
  488. }
  489. }
  490. }
  491. }
  492. },
  493. "/dxp/outapi/authorize": {
  494. "post": {
  495. "description": "应用鉴权",
  496. "consumes": [
  497. "application/json"
  498. ],
  499. "produces": [
  500. "application/json"
  501. ],
  502. "tags": [
  503. "第三方接口服务-应用鉴权"
  504. ],
  505. "summary": "应用鉴权",
  506. "parameters": [
  507. {
  508. "description": "json",
  509. "name": "connect",
  510. "in": "body",
  511. "required": true,
  512. "schema": {
  513. "$ref": "#/definitions/model.LoginRequest"
  514. }
  515. }
  516. ],
  517. "responses": {
  518. "200": {
  519. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  520. "schema": {
  521. "$ref": "#/definitions/model.ResponseToken"
  522. }
  523. }
  524. }
  525. }
  526. },
  527. "/dxp/outapi/base/apiCall": {
  528. "post": {
  529. "description": "服务测试接口",
  530. "consumes": [
  531. "application/json"
  532. ],
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "第三方接口服务-服务测试接口"
  538. ],
  539. "summary": "服务测试接口",
  540. "parameters": [
  541. {
  542. "description": "json",
  543. "name": "connect",
  544. "in": "body",
  545. "required": true,
  546. "schema": {
  547. "$ref": "#/definitions/model.ApiTranslateRequest"
  548. }
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  554. "schema": {
  555. "type": "object",
  556. "additionalProperties": true
  557. }
  558. }
  559. }
  560. }
  561. },
  562. "/dxp/outapi/base/proxyToData/any/:key": {
  563. "post": {
  564. "description": "数据库资源数据查询",
  565. "consumes": [
  566. "application/json"
  567. ],
  568. "produces": [
  569. "application/json"
  570. ],
  571. "tags": [
  572. "巨衍接口-数据库资源数据查询"
  573. ],
  574. "summary": "数据库资源数据查询",
  575. "parameters": [
  576. {
  577. "description": "json",
  578. "name": "connect",
  579. "in": "body",
  580. "required": true,
  581. "schema": {
  582. "$ref": "#/definitions/model.RequestBody"
  583. }
  584. }
  585. ],
  586. "responses": {
  587. "200": {
  588. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  589. "schema": {
  590. "$ref": "#/definitions/model.CommonList"
  591. }
  592. }
  593. }
  594. }
  595. },
  596. "/dxp/outapi/base/proxyToService/any/:key": {
  597. "post": {
  598. "description": "接口服务资源数据查询",
  599. "consumes": [
  600. "application/json"
  601. ],
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "巨衍接口-接口服务资源数据查询"
  607. ],
  608. "summary": "接口服务资源数据查询",
  609. "parameters": [
  610. {
  611. "description": "json",
  612. "name": "connect",
  613. "in": "body",
  614. "required": true,
  615. "schema": {
  616. "$ref": "#/definitions/model.RequestBody"
  617. }
  618. }
  619. ],
  620. "responses": {
  621. "200": {
  622. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  623. "schema": {
  624. "$ref": "#/definitions/model.CommonList"
  625. }
  626. }
  627. }
  628. }
  629. },
  630. "/dxp/outapi/refreshToken": {
  631. "post": {
  632. "description": "动态刷新token",
  633. "consumes": [
  634. "application/json"
  635. ],
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "第三方接口服务-动态刷新token"
  641. ],
  642. "summary": "动态刷新token",
  643. "parameters": [
  644. {
  645. "description": "json",
  646. "name": "connect",
  647. "in": "body",
  648. "required": true,
  649. "schema": {
  650. "$ref": "#/definitions/model.RefreshTokenRequest"
  651. }
  652. }
  653. ],
  654. "responses": {
  655. "200": {
  656. "description": "{\"code\": 0, \"msg\": \"xxx\", data:{}}",
  657. "schema": {
  658. "$ref": "#/definitions/model.ResponseToken"
  659. }
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "definitions": {
  666. "model.ApiTranslateRequest": {
  667. "type": "object",
  668. "properties": {
  669. "authWay": {
  670. "type": "string"
  671. },
  672. "paramForm": {
  673. "type": "string"
  674. },
  675. "requestMethod": {
  676. "type": "string"
  677. },
  678. "requestParam": {
  679. "type": "string"
  680. },
  681. "serviceUrl": {
  682. "type": "string"
  683. }
  684. }
  685. },
  686. "model.ColnDataInsert": {
  687. "type": "object",
  688. "properties": {
  689. "colNameArray": {
  690. "type": "array",
  691. "items": {
  692. "type": "string"
  693. }
  694. },
  695. "id": {
  696. "type": "integer"
  697. },
  698. "rows": {
  699. "type": "array",
  700. "items": {
  701. "$ref": "#/definitions/model.ColnItem"
  702. }
  703. },
  704. "tbName": {
  705. "type": "string"
  706. }
  707. }
  708. },
  709. "model.ColnInfo": {
  710. "type": "object",
  711. "properties": {
  712. "colName": {
  713. "type": "string"
  714. },
  715. "dataLength": {
  716. "type": "integer"
  717. },
  718. "dataType": {
  719. "type": "string"
  720. },
  721. "isIncrement": {
  722. "type": "integer"
  723. },
  724. "isPk": {
  725. "description": "是否是主键",
  726. "type": "integer"
  727. },
  728. "isRequired": {
  729. "type": "integer"
  730. }
  731. }
  732. },
  733. "model.ColnItem": {
  734. "type": "object",
  735. "properties": {
  736. "list": {
  737. "type": "array",
  738. "items": {
  739. "type": "string"
  740. }
  741. }
  742. }
  743. },
  744. "model.CommonList": {
  745. "type": "object",
  746. "properties": {
  747. "list": {
  748. "type": "array",
  749. "items": {
  750. "type": "object",
  751. "additionalProperties": true
  752. }
  753. },
  754. "total": {
  755. "type": "integer"
  756. }
  757. }
  758. },
  759. "model.DatabaseCreateRequest": {
  760. "type": "object",
  761. "properties": {
  762. "columns": {
  763. "type": "array",
  764. "items": {
  765. "$ref": "#/definitions/model.ColnInfo"
  766. }
  767. },
  768. "connection": {
  769. "type": "string"
  770. },
  771. "dbName": {
  772. "type": "string"
  773. },
  774. "dbType": {
  775. "type": "string"
  776. },
  777. "id": {
  778. "type": "integer"
  779. },
  780. "tbName": {
  781. "type": "string"
  782. }
  783. }
  784. },
  785. "model.DbConnInfo": {
  786. "type": "object",
  787. "required": [
  788. "connection",
  789. "dbName",
  790. "mode",
  791. "type"
  792. ],
  793. "properties": {
  794. "connection": {
  795. "type": "string"
  796. },
  797. "dbName": {
  798. "type": "string"
  799. },
  800. "id": {
  801. "type": "integer"
  802. },
  803. "mode": {
  804. "description": "连接模式:test:表示测试数据库是否连通,测试完成后自动断开,add表示添加数据库到管理队列。(add之前请先确保数据库已经添加到redis的database hash里面)",
  805. "type": "string"
  806. },
  807. "type": {
  808. "type": "string"
  809. }
  810. }
  811. },
  812. "model.DbQuery": {
  813. "type": "object",
  814. "required": [
  815. "id",
  816. "pageNo",
  817. "pageSize",
  818. "tbName"
  819. ],
  820. "properties": {
  821. "cols": {
  822. "type": "array",
  823. "items": {
  824. "type": "string"
  825. }
  826. },
  827. "id": {
  828. "type": "integer"
  829. },
  830. "pageNo": {
  831. "type": "integer"
  832. },
  833. "pageSize": {
  834. "type": "integer"
  835. },
  836. "query": {
  837. "type": "array",
  838. "items": {
  839. "$ref": "#/definitions/model.QueryCond"
  840. }
  841. },
  842. "sort": {
  843. "$ref": "#/definitions/model.SortCond"
  844. },
  845. "tbName": {
  846. "type": "string"
  847. }
  848. }
  849. },
  850. "model.KeyVal": {
  851. "type": "object",
  852. "properties": {
  853. "keyStr": {
  854. "type": "string"
  855. },
  856. "keyVal": {
  857. "type": "string"
  858. }
  859. }
  860. },
  861. "model.LoginRequest": {
  862. "type": "object",
  863. "properties": {
  864. "appId": {
  865. "type": "string"
  866. },
  867. "appSecret": {
  868. "type": "string"
  869. }
  870. }
  871. },
  872. "model.NullObj": {
  873. "type": "object"
  874. },
  875. "model.Page": {
  876. "type": "object",
  877. "properties": {
  878. "pageNo": {
  879. "type": "integer"
  880. },
  881. "pageSize": {
  882. "type": "integer"
  883. }
  884. }
  885. },
  886. "model.QueryCond": {
  887. "type": "object",
  888. "properties": {
  889. "colName": {
  890. "type": "string"
  891. },
  892. "colVal": {
  893. "type": "string"
  894. },
  895. "cond": {
  896. "description": "0-等于 1-大于 2-小于",
  897. "type": "integer"
  898. }
  899. }
  900. },
  901. "model.QueryId": {
  902. "type": "object",
  903. "properties": {
  904. "id": {
  905. "type": "integer"
  906. }
  907. }
  908. },
  909. "model.QueryTableColn": {
  910. "type": "object",
  911. "properties": {
  912. "id": {
  913. "type": "integer"
  914. },
  915. "tableName": {
  916. "type": "string"
  917. }
  918. }
  919. },
  920. "model.RefreshTokenRequest": {
  921. "type": "object",
  922. "properties": {
  923. "refreshToken": {
  924. "type": "string"
  925. }
  926. }
  927. },
  928. "model.RequestBody": {
  929. "type": "object",
  930. "properties": {
  931. "pageNo": {
  932. "type": "integer"
  933. },
  934. "pageSize": {
  935. "type": "integer"
  936. },
  937. "search": {
  938. "$ref": "#/definitions/model.SearchParam"
  939. }
  940. }
  941. },
  942. "model.ResponseToken": {
  943. "type": "object",
  944. "properties": {
  945. "accessToken": {
  946. "type": "string"
  947. },
  948. "expiresAt": {
  949. "type": "integer"
  950. },
  951. "refreshToken": {
  952. "type": "string"
  953. }
  954. }
  955. },
  956. "model.SearchParam": {
  957. "type": "object",
  958. "properties": {
  959. "and": {
  960. "description": "[{\"xml.like\":\"张%\"},{\"xml.eq\":\"张%\"}]",
  961. "type": "array",
  962. "items": {
  963. "$ref": "#/definitions/model.KeyVal"
  964. }
  965. },
  966. "or": {
  967. "description": "[{\"xml.like\":\"张%\"}]",
  968. "type": "array",
  969. "items": {
  970. "$ref": "#/definitions/model.KeyVal"
  971. }
  972. }
  973. }
  974. },
  975. "model.SortCond": {
  976. "type": "object",
  977. "properties": {
  978. "colName": {
  979. "type": "string"
  980. },
  981. "isDesc": {
  982. "description": "1-降序 0-升序",
  983. "type": "integer"
  984. }
  985. }
  986. },
  987. "model.TbDelete": {
  988. "type": "object",
  989. "properties": {
  990. "id": {
  991. "type": "integer"
  992. },
  993. "tbName": {
  994. "type": "string"
  995. }
  996. }
  997. },
  998. "model.TbIndex": {
  999. "type": "object",
  1000. "properties": {
  1001. "id": {
  1002. "type": "integer"
  1003. },
  1004. "indexArray": {
  1005. "type": "array",
  1006. "items": {
  1007. "type": "string"
  1008. }
  1009. },
  1010. "tbName": {
  1011. "type": "string"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. }`
  1017. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1018. var SwaggerInfo = &swag.Spec{
  1019. Version: "",
  1020. Host: "",
  1021. BasePath: "",
  1022. Schemes: []string{},
  1023. Title: "",
  1024. Description: "",
  1025. InfoInstanceName: "swagger",
  1026. SwaggerTemplate: docTemplate,
  1027. }
  1028. func init() {
  1029. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1030. }