| | |
| | | $ref: '#/definitions/config.SpecializedDB' |
| | | type: array |
| | | email: |
| | | $ref: '#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email' |
| | | $ref: '#/definitions/srm_config.Email' |
| | | excel: |
| | | $ref: '#/definitions/config.Excel' |
| | | hua-wei-obs: |
| | |
| | | description: 文件地址 |
| | | type: string |
| | | type: object |
| | | github_com_flipped-aurora_gin-vue-admin_server_config.Email: |
| | | purchase.Purchase: |
| | | properties: |
| | | from: |
| | | description: 发件人 你自己要发邮件的邮箱 |
| | | contact: |
| | | description: 联系人 |
| | | type: string |
| | | host: |
| | | description: 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议 |
| | | deliveryDate: |
| | | description: 交付日期 |
| | | type: string |
| | | is-ssl: |
| | | description: 是否SSL 是否开启SSL |
| | | type: boolean |
| | | nickname: |
| | | description: 昵称 发件人昵称 通常为自己的邮箱 |
| | | type: string |
| | | port: |
| | | description: 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465 |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | secret: |
| | | description: 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥 |
| | | name: |
| | | description: 采购名称 |
| | | type: string |
| | | to: |
| | | description: 收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用 |
| | | phone: |
| | | description: 联系人电话 |
| | | type: string |
| | | purchaseTypeId: |
| | | description: 采购类型id |
| | | type: integer |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | signingDate: |
| | | description: 签约日期 |
| | | type: string |
| | | supplierId: |
| | | description: 供应商id |
| | | type: integer |
| | | type: object |
| | | purchase.PurchaseProducts: |
| | | properties: |
| | | amount: |
| | | description: 采购数量 |
| | | type: number |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | price: |
| | | description: 采购单价 |
| | | type: number |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | purchaseId: |
| | | description: 采购id |
| | | type: integer |
| | | remark: |
| | | description: 描述 |
| | | type: string |
| | | total: |
| | | description: 采购总价 |
| | | type: number |
| | | type: object |
| | | purchaserequest.AddPurchase: |
| | | properties: |
| | | productList: |
| | | items: |
| | | $ref: '#/definitions/purchase.PurchaseProducts' |
| | | type: array |
| | | purchase: |
| | | $ref: '#/definitions/purchase.Purchase' |
| | | type: object |
| | | request.AddMenuAuthorityInfo: |
| | | properties: |
| | |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.IndustryList: |
| | | properties: |
| | | industries: |
| | | items: |
| | | $ref: '#/definitions/test.Industry' |
| | | type: array |
| | | type: object |
| | | request.InitDB: |
| | |
| | | status: |
| | | type: integer |
| | | type: object |
| | | request.SupplierTypeList: |
| | | properties: |
| | | supplierTypes: |
| | | items: |
| | | $ref: '#/definitions/test.SupplierType' |
| | | type: array |
| | | type: object |
| | | request.SysAuthorityBtnReq: |
| | | properties: |
| | | authorityId: |
| | |
| | | $ref: '#/definitions/request.CasbinInfo' |
| | | type: array |
| | | type: object |
| | | response.PurchaseResponse: |
| | | properties: |
| | | productList: |
| | | items: |
| | | $ref: '#/definitions/purchase.PurchaseProducts' |
| | | type: array |
| | | purchase: |
| | | $ref: '#/definitions/purchase.Purchase' |
| | | type: object |
| | | response.Response: |
| | | properties: |
| | | code: |
| | |
| | | properties: |
| | | user: |
| | | $ref: '#/definitions/system.SysUser' |
| | | type: object |
| | | srm_config.Email: |
| | | properties: |
| | | from: |
| | | description: 发件人 你自己要发邮件的邮箱 |
| | | type: string |
| | | host: |
| | | description: 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议 |
| | | type: string |
| | | is-ssl: |
| | | description: 是否SSL 是否开启SSL |
| | | type: boolean |
| | | nickname: |
| | | description: 昵称 发件人昵称 通常为自己的邮箱 |
| | | type: string |
| | | port: |
| | | description: 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465 |
| | | type: integer |
| | | secret: |
| | | description: 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥 |
| | | type: string |
| | | to: |
| | | description: 收件人:多个以英文逗号分隔 例:a@qq.com b@qq.com 正式开发中请把此项目作为参数使用 |
| | | type: string |
| | | type: object |
| | | system.AutoCodeStruct: |
| | | properties: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | test.Product: |
| | | properties: |
| | | deliveryTime: |
| | | type: integer |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | maximumStock: |
| | | type: integer |
| | | minimumStock: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | number: |
| | | type: string |
| | | productType: |
| | | type: string |
| | | purchasePrice: |
| | | type: number |
| | | remark: |
| | | type: string |
| | | shippingDuration: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | type: object |
| | | test.Supplier: |
| | | properties: |
| | | account: |
| | |
| | | type: string |
| | | email: |
| | | type: string |
| | | file: |
| | | type: string |
| | | fileId: |
| | | type: integer |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | |
| | | 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: |
| | | - 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: 预览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/request.IndustryList' |
| | | 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 |
| | | /p/createProduct: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 创建Product |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Product' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建Product |
| | | tags: |
| | | - Product |
| | | /p/deleteProduct: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 删除Product |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Product' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"删除成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除Product |
| | | tags: |
| | | - Product |
| | | /p/deleteProductByIds: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 批量删除Product |
| | | 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: 批量删除Product |
| | | tags: |
| | | - Product |
| | | /p/findProduct: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - in: query |
| | | name: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"查询成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 用id查询Product |
| | | tags: |
| | | - Product |
| | | /p/getProductList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - 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: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Product列表 |
| | | tags: |
| | | - Product |
| | | /p/getProductListFromGrpc: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - 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: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | | - in: query |
| | | name: startCreatedAt |
| | | type: string |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"获取成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取Product列表 |
| | | tags: |
| | | - Product |
| | | /p/updateProduct: |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 更新Product |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Product' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新Product |
| | | tags: |
| | | - Product |
| | | /purchase/purchase: |
| | | post: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 采购单用户名, 采购单手机号码 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/purchaserequest.AddPurchase' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 创建采购单 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.Response' |
| | | - properties: |
| | | msg: |
| | | type: string |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 创建采购单 |
| | | tags: |
| | | - Purchase |
| | | put: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 采购单ID, 采购单信息 |
| | | in: body |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/purchaserequest.AddPurchase' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 更新采购单信息 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.Response' |
| | | - properties: |
| | | msg: |
| | | type: string |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新采购单信息 |
| | | tags: |
| | | - Purchase |
| | | /purchase/purchase/{id}: |
| | | delete: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 采购单ID |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 删除采购单 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.Response' |
| | | - properties: |
| | | msg: |
| | | type: string |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 删除采购单 |
| | | tags: |
| | | - Purchase |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 采购单ID |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 获取单一采购单信息,返回包括采购单详情 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.PurchaseResponse' |
| | | msg: |
| | | type: string |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 获取单一采购单信息 |
| | | tags: |
| | | - Purchase |
| | | /purchase/purchaseList: |
| | | get: |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 分页获取权限采购单列表,返回包括列表,总数,页码,每页数量 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.PageResult' |
| | | msg: |
| | | type: string |
| | | type: object |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 分页获取权限采购单列表 |
| | | tags: |
| | | - Purchase |
| | | /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: fileId |
| | | type: integer |
| | | - 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: fileId |
| | | type: integer |
| | | - 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/request.SupplierTypeList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: '{"success":true,"data":{},"msg":"更新成功"}' |
| | | schema: |
| | | type: string |
| | | security: |
| | | - ApiKeyAuth: [] |
| | | summary: 更新SupplierType |
| | | tags: |
| | | - SupplierType |
| | | /sysDictionary/createSysDictionary: |
| | | post: |
| | | consumes: |