| | |
| | | $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: |
| | |
| | | type: string |
| | | url: |
| | | description: 文件地址 |
| | | type: string |
| | | type: object |
| | | github_com_flipped-aurora_gin-vue-admin_server_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 |
| | | request.AddMenuAuthorityInfo: |
| | |
| | | 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: |
| | |
| | | description: 主键ID |
| | | type: integer |
| | | 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: |
| | |
| | | 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/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 |
| | | /s/changeSupplierStatus: |
| | | post: |
| | | consumes: |