| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | test.Supplier: |
| | | properties: |
| | | account: |
| | | type: string |
| | | accountName: |
| | | type: string |
| | | bank: |
| | | type: string |
| | | contact: |
| | | type: string |
| | | detailAddress: |
| | | type: string |
| | | email: |
| | | type: string |
| | | file: |
| | | type: string |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | industry: |
| | | type: string |
| | | name: |
| | | type: string |
| | | number: |
| | | type: string |
| | | phone: |
| | | type: string |
| | | responsiblePersonId: |
| | | type: integer |
| | | supplierType: |
| | | type: string |
| | | url: |
| | | type: string |
| | | type: object |
| | | test.SupplierType: |
| | | properties: |
| | | id: |
| | |
| | | summary: 更新菜单 |
| | | tags: |
| | | - Menu |
| | | /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: 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: 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: |