| | |
| | | title: Swagger Example API |
| | | version: 0.0.1 |
| | | paths: |
| | | /api/con/createContract: |
| | | post: |
| | | consumes: |
| | | - multipart/form-data |
| | | parameters: |
| | | - description: 上传文件 |
| | | in: formData |
| | | name: file |
| | | required: true |
| | | type: file |
| | | - description: 文件名称 |
| | | in: formData |
| | | name: name |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - multipart/form-data |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Contract |
| | | tags: |
| | | - Contract |
| | | /api/con/deleteContract: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Contract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Contract |
| | | tags: |
| | | - Contract |
| | | /api/con/deleteContractByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Contract |
| | | tags: |
| | | - Contract |
| | | /api/con/findContract: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Contract |
| | | tags: |
| | | - Contract |
| | | /api/con/getContractList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Contract列表 |
| | | tags: |
| | | - Contract |
| | | /api/con/previewContract: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"预览成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 预览Contract |
| | | tags: |
| | | - Contract |
| | | /api/con/updateContract: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Contract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Contract |
| | | tags: |
| | | - Contract |
| | | /api/createApi: |
| | | post: |
| | | consumes: |
| | |
| | | summary: 分页获取API列表 |
| | | tags: |
| | | - SysApi |
| | | /api/i/createIndustry: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Industry |
| | | tags: |
| | | - Industry |
| | | /api/i/deleteIndustry: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Industry |
| | | tags: |
| | | - Industry |
| | | /api/i/deleteIndustryByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Industry |
| | | tags: |
| | | - Industry |
| | | /api/i/findIndustry: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Industry |
| | | tags: |
| | | - Industry |
| | | /api/i/getIndustryList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Industry列表 |
| | | tags: |
| | | - Industry |
| | | /api/i/updateIndustry: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Industry |
| | | tags: |
| | | - Industry |
| | | /api/s/changeSupplierStatus: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 修改Supplier状态 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SupplierStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"修改成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 修改Supplier状态 |
| | | tags: |
| | | - Supplier |
| | | /api/s/createSupplier: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Supplier |
| | | tags: |
| | | - Supplier |
| | | /api/s/deleteSupplier: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Supplier |
| | | tags: |
| | | - Supplier |
| | | /api/s/deleteSupplierByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Supplier |
| | | tags: |
| | | - Supplier |
| | | /api/s/findSupplier: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: account |
| | | type: string |
| | | - in: query |
| | | name: accountName |
| | | type: string |
| | | - in: query |
| | | name: bank |
| | | type: string |
| | | - in: query |
| | | name: contact |
| | | type: string |
| | | - in: query |
| | | name: detailAddress |
| | | type: string |
| | | - in: query |
| | | name: email |
| | | type: string |
| | | - in: query |
| | | name: file |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: industry |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - in: query |
| | | name: phone |
| | | type: string |
| | | - in: query |
| | | name: responsiblePersonId |
| | | type: integer |
| | | - in: query |
| | | name: status |
| | | type: integer |
| | | - in: query |
| | | name: supplierType |
| | | type: string |
| | | - in: query |
| | | name: url |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Supplier |
| | | tags: |
| | | - Supplier |
| | | /api/s/getSupplierList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: account |
| | | type: string |
| | | - in: query |
| | | name: accountName |
| | | type: string |
| | | - in: query |
| | | name: bank |
| | | type: string |
| | | - in: query |
| | | name: contact |
| | | type: string |
| | | - in: query |
| | | name: detailAddress |
| | | type: string |
| | | - in: query |
| | | name: email |
| | | type: string |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: file |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: industry |
| | | type: string |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: phone |
| | | type: string |
| | | - in: query |
| | | name: responsiblePersonId |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: status |
| | | type: integer |
| | | - in: query |
| | | name: supplierType |
| | | type: string |
| | | - in: query |
| | | name: url |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Supplier列表 |
| | | tags: |
| | | - Supplier |
| | | /api/s/updateSupplier: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Supplier |
| | | tags: |
| | | - Supplier |
| | | /api/st/createSupplierType: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /api/st/deleteSupplierType: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /api/st/deleteSupplierTypeByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /api/st/findSupplierType: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /api/st/getSupplierTypeList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取SupplierType列表 |
| | | tags: |
| | | - SupplierType |
| | | /api/st/updateSupplierType: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /api/updateApi: |
| | | post: |
| | | consumes: |
| | |
| | | summary: 获取权限列表 |
| | | tags: |
| | | - Casbin |
| | | /con/createContract: |
| | | post: |
| | | consumes: |
| | | - multipart/form-data |
| | | parameters: |
| | | - description: 上传文件 |
| | | in: formData |
| | | name: file |
| | | required: true |
| | | type: file |
| | | - description: 文件名称 |
| | | in: formData |
| | | name: name |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - multipart/form-data |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Contract |
| | | tags: |
| | | - Contract |
| | | /con/deleteContract: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Contract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Contract |
| | | tags: |
| | | - Contract |
| | | /con/deleteContractByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Contract |
| | | tags: |
| | | - Contract |
| | | /con/findContract: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Contract |
| | | tags: |
| | | - Contract |
| | | /con/getContractList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Contract列表 |
| | | tags: |
| | | - Contract |
| | | /con/previewContract: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - collectionFormat: csv |
| | | in: query |
| | | items: |
| | | type: integer |
| | | name: fileContent |
| | | type: array |
| | | - in: query |
| | | name: fileName |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: supplierID |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"预览成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 预览Contract |
| | | tags: |
| | | - Contract |
| | | /con/updateContract: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Contract |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Contract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Contract |
| | | tags: |
| | | - Contract |
| | | /customer/customer: |
| | | delete: |
| | | consumes: |
| | |
| | | summary: 上传文件示例 |
| | | tags: |
| | | - ExaFileUploadAndDownload |
| | | /i/createIndustry: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Industry |
| | | tags: |
| | | - Industry |
| | | /i/deleteIndustry: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Industry |
| | | tags: |
| | | - Industry |
| | | /i/deleteIndustryByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Industry |
| | | tags: |
| | | - Industry |
| | | /i/findIndustry: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Industry |
| | | tags: |
| | | - Industry |
| | | /i/getIndustryList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Industry列表 |
| | | tags: |
| | | - Industry |
| | | /i/updateIndustry: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Industry |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Industry' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Industry |
| | | tags: |
| | | - Industry |
| | | /init/checkdb: |
| | | post: |
| | | produces: |
| | |
| | | summary: 更新菜单 |
| | | tags: |
| | | - Menu |
| | | /s/changeSupplierStatus: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 修改Supplier状态 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SupplierStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"修改成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 修改Supplier状态 |
| | | tags: |
| | | - Supplier |
| | | /s/createSupplier: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Supplier |
| | | tags: |
| | | - Supplier |
| | | /s/deleteSupplier: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Supplier |
| | | tags: |
| | | - Supplier |
| | | /s/deleteSupplierByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除Supplier |
| | | tags: |
| | | - Supplier |
| | | /s/findSupplier: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: account |
| | | type: string |
| | | - in: query |
| | | name: accountName |
| | | type: string |
| | | - in: query |
| | | name: bank |
| | | type: string |
| | | - in: query |
| | | name: contact |
| | | type: string |
| | | - in: query |
| | | name: detailAddress |
| | | type: string |
| | | - in: query |
| | | name: email |
| | | type: string |
| | | - in: query |
| | | name: file |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: industry |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - in: query |
| | | name: phone |
| | | type: string |
| | | - in: query |
| | | name: responsiblePersonId |
| | | type: integer |
| | | - in: query |
| | | name: status |
| | | type: integer |
| | | - in: query |
| | | name: supplierType |
| | | type: string |
| | | - in: query |
| | | name: url |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Supplier |
| | | tags: |
| | | - Supplier |
| | | /s/getSupplierList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: account |
| | | type: string |
| | | - in: query |
| | | name: accountName |
| | | type: string |
| | | - in: query |
| | | name: bank |
| | | type: string |
| | | - in: query |
| | | name: contact |
| | | type: string |
| | | - in: query |
| | | name: detailAddress |
| | | type: string |
| | | - in: query |
| | | name: email |
| | | type: string |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: file |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: industry |
| | | type: string |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: phone |
| | | type: string |
| | | - in: query |
| | | name: responsiblePersonId |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: status |
| | | type: integer |
| | | - in: query |
| | | name: supplierType |
| | | type: string |
| | | - in: query |
| | | name: url |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Supplier列表 |
| | | tags: |
| | | - Supplier |
| | | /s/updateSupplier: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Supplier |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Supplier' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Supplier |
| | | tags: |
| | | - Supplier |
| | | /st/createSupplierType: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /st/deleteSupplierType: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /st/deleteSupplierTypeByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.IdsReq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"批量删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 批量删除SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /st/findSupplierType: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /st/getSupplierTypeList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取SupplierType列表 |
| | | tags: |
| | | - SupplierType |
| | | /st/updateSupplierType: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新SupplierType |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /sysDictionary/createSysDictionary: |
| | | post: |
| | | consumes: |