definitions: model.ApiTranslateRequest: properties: authWay: type: string paramForm: type: string requestMethod: type: string requestParam: type: string serviceUrl: type: string type: object model.ColnDataInsert: properties: colNameArray: items: type: string type: array id: type: integer rows: items: $ref: '#/definitions/model.ColnItem' type: array tbName: type: string type: object model.ColnInfo: properties: colName: type: string dataLength: type: integer dataType: type: string isIncrement: type: integer isPk: description: 是否是主键 type: integer isRequired: type: integer type: object model.ColnItem: properties: list: items: type: string type: array type: object model.CommonList: properties: list: items: additionalProperties: true type: object type: array total: type: integer type: object model.DatabaseCreateRequest: properties: columns: items: $ref: '#/definitions/model.ColnInfo' type: array connection: type: string dbName: type: string dbType: type: string id: type: integer tbName: type: string type: object model.DbConnInfo: properties: connection: type: string dbName: type: string id: type: integer mode: description: 连接模式:test:表示测试数据库是否连通,测试完成后自动断开,add表示添加数据库到管理队列。(add之前请先确保数据库已经添加到redis的database hash里面) type: string type: type: string required: - connection - dbName - mode - type type: object model.DbQuery: properties: cols: items: type: string type: array id: type: integer pageNo: type: integer pageSize: type: integer query: items: $ref: '#/definitions/model.QueryCond' type: array sort: $ref: '#/definitions/model.SortCond' tbName: type: string required: - id - pageNo - pageSize - tbName type: object model.KeyVal: properties: keyStr: type: string keyVal: type: string type: object model.LoginRequest: properties: appId: type: string appSecret: type: string type: object model.NullObj: type: object model.Page: properties: pageNo: type: integer pageSize: type: integer type: object model.QueryCond: properties: colName: type: string colVal: type: string cond: description: 0-等于 1-大于 2-小于 type: integer type: object model.QueryId: properties: id: type: integer type: object model.QueryTableColn: properties: id: type: integer tableName: type: string type: object model.RefreshTokenRequest: properties: refreshToken: type: string type: object model.RequestBody: properties: pageNo: type: integer pageSize: type: integer search: $ref: '#/definitions/model.SearchParam' type: object model.ResponseToken: properties: accessToken: type: string expiresAt: type: integer refreshToken: type: string type: object model.SearchParam: properties: and: description: '[{"xml.like":"张%"},{"xml.eq":"张%"}]' items: $ref: '#/definitions/model.KeyVal' type: array or: description: '[{"xml.like":"张%"}]' items: $ref: '#/definitions/model.KeyVal' type: array type: object model.SortCond: properties: colName: type: string isDesc: description: 1-降序 0-升序 type: integer type: object model.TbDelete: properties: id: type: integer tbName: type: string type: object model.TbIndex: properties: id: type: integer indexArray: items: type: string type: array tbName: type: string type: object info: contact: {} paths: /dxp/database/connect: post: consumes: - application/json description: 测试数据库连接 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.DbConnInfo' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 数据库连接测试 tags: - 巨衍接口-数据库连接测试 /dxp/database/databaseAddIndex: post: consumes: - application/json description: 动态添加索引 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.TbIndex' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 动态添加索引 tags: - 巨衍接口-动态添加索引 /dxp/database/databaseCreateTable: post: consumes: - application/json description: 动态创建数据表 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.DatabaseCreateRequest' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 动态创建数据表 tags: - 巨衍接口-动态创建数据表 /dxp/database/databaseDelete: post: consumes: - application/json description: 删除数据库 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.QueryId' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 删除数据库 tags: - 巨衍接口-删除数据库 /dxp/database/databaseDeleteIndex: post: consumes: - application/json description: 动态删除索引 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.TbIndex' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 动态删除索引 tags: - 巨衍接口-动态删除索引 /dxp/database/databaseDeleteTableData: post: consumes: - application/json description: 删除表数据 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.TbDelete' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 删除表数据 tags: - 巨衍接口-删除表数据 /dxp/database/databaseDropTable: post: consumes: - application/json description: 删除数据表 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.TbDelete' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 删除数据表 tags: - 巨衍接口-删除数据表 /dxp/database/databaseInsertData: post: consumes: - application/json description: 动态插入表数据 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.ColnDataInsert' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 动态插入表数据 tags: - 巨衍接口-动态插入表数据 /dxp/database/databaseQueryStatus: post: consumes: - application/json description: 查询数据库连接状态 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.Page' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.CommonList' summary: 查询数据库连接状态 tags: - 巨衍接口-查询数据库连接状态 /dxp/database/databaseQueryTable: post: consumes: - application/json description: 查询表数据 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.DbQuery' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.CommonList' summary: 查询表数据 tags: - 巨衍接口-查询表数据 /dxp/database/databaseQueryTableColnList: post: consumes: - application/json description: 查询指定数据库指定表字段 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.QueryTableColn' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.CommonList' summary: 查询指定数据库指定表字段 tags: - 巨衍接口-查询指定数据库指定表字段 /dxp/database/databaseQueryTableList: post: consumes: - application/json description: 查询指定数据库表结构 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.QueryId' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.CommonList' summary: 查询指定数据库表结构 tags: - 巨衍接口-查询指定数据库表结构 /dxp/database/databaseUpdateNotify: post: consumes: - application/json description: 数据库更新通知 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.NullObj' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{total:0,rows:[]}}' schema: $ref: '#/definitions/model.NullObj' summary: 数据库更新通知 tags: - 巨衍接口-数据库更新通知 /dxp/outapi/any/:key: post: consumes: - application/json description: 数据库资源数据查询 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.RequestBody' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: $ref: '#/definitions/model.CommonList' summary: 数据库资源数据查询 tags: - 第三方接口服务-数据库资源数据查询 /dxp/outapi/authorize: post: consumes: - application/json description: 应用鉴权 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.LoginRequest' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: $ref: '#/definitions/model.ResponseToken' summary: 应用鉴权 tags: - 第三方接口服务-应用鉴权 /dxp/outapi/base/apiCall: post: consumes: - application/json description: 服务测试接口 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.ApiTranslateRequest' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: additionalProperties: true type: object summary: 服务测试接口 tags: - 第三方接口服务-服务测试接口 /dxp/outapi/base/proxyToData/any/:key: post: consumes: - application/json description: 数据库资源数据查询 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.RequestBody' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: $ref: '#/definitions/model.CommonList' summary: 数据库资源数据查询 tags: - 巨衍接口-数据库资源数据查询 /dxp/outapi/base/proxyToService/any/:key: post: consumes: - application/json description: 接口服务资源数据查询 parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.RequestBody' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: $ref: '#/definitions/model.CommonList' summary: 接口服务资源数据查询 tags: - 巨衍接口-接口服务资源数据查询 /dxp/outapi/refreshToken: post: consumes: - application/json description: 动态刷新token parameters: - description: json in: body name: connect required: true schema: $ref: '#/definitions/model.RefreshTokenRequest' produces: - application/json responses: "200": description: '{"code": 0, "msg": "xxx", data:{}}' schema: $ref: '#/definitions/model.ResponseToken' summary: 动态刷新token tags: - 第三方接口服务-动态刷新token swagger: "2.0"