liujiandao
2024-03-23 9461cf8416e5b745a5631fe24703dcfb7aee2d35
swag 提交
4个文件已修改
103 ■■■■■ 已修改文件
api/v1/purchase/purchase.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/docs.go 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.json 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/swagger.yaml 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
api/v1/purchase/purchase.go
@@ -648,8 +648,8 @@
// @Security  ApiKeyAuth
// @accept    application/json
// @Produce   application/json
// @Param     data  body     purchaserequest.SaveQualityInspectionInfo   true  "参数"
// @Success   200   {object}  response.Response{data=[]purchase.PurchaseProductConfirm}  "获取确认信息"
// @Param     data  body     purchaserequest.PurchaseProductConfirmInfo   true  "参数"
// @Success   200   {object}  response.Response{}  "获取确认信息"
// @Router    /purchase/allProductInWarehouse [post]
func (e *PurchaseApi) AllProductInWarehouse(c *gin.Context) {
    var params []*purchaserequest.PurchaseProductConfirmInfo
docs/docs.go
@@ -1606,6 +1606,44 @@
                }
            }
        },
        "/purchase/allProductInWarehouse": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "全部合格入库",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "$ref": "#/definitions/response.Response"
                        }
                    }
                }
            }
        },
        "/purchase/getOperationInfo/{id}": {
            "get": {
                "security": [
docs/swagger.json
@@ -1597,6 +1597,44 @@
                }
            }
        },
        "/purchase/allProductInWarehouse": {
            "post": {
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ],
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Purchase"
                ],
                "summary": "全部合格入库",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "data",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "获取确认信息",
                        "schema": {
                            "$ref": "#/definitions/response.Response"
                        }
                    }
                }
            }
        },
        "/purchase/getOperationInfo/{id}": {
            "get": {
                "security": [
docs/swagger.yaml
@@ -2110,6 +2110,29 @@
      summary: 预览Contract
      tags:
      - Contract
  /purchase/allProductInWarehouse:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 获取确认信息
          schema:
            $ref: '#/definitions/response.Response'
      security:
      - ApiKeyAuth: []
      summary: 全部合格入库
      tags:
      - Purchase
  /purchase/getOperationInfo/{id}:
    get:
      consumes: