add
wangpengfei
2023-07-20 a63566fef15a499c82a5198578d5cb99fca299d4
docs/docs.go
@@ -4013,7 +4013,7 @@
                }
            }
        },
        "/api/salesReturn/update/{id}": {
        "/api/salesReturn/update": {
            "put": {
                "produces": [
                    "application/json"
@@ -4997,6 +4997,36 @@
                    }
                }
            }
        },
        "/api/vetting/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Vetting"
                ],
                "summary": "添加审批",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddVetting"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
@@ -5864,6 +5894,9 @@
                "currency": {
                    "$ref": "#/definitions/constvar.CurrencyType"
                },
                "detail_address": {
                    "type": "string"
                },
                "disadvantages": {
                    "type": "string"
                },
@@ -5917,6 +5950,9 @@
                },
                "regular_customers_id": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "sale_stage_id": {
                    "type": "integer"
@@ -6722,7 +6758,7 @@
                    "type": "integer"
                },
                "money": {
                    "type": "string"
                    "type": "number"
                },
                "number": {
                    "type": "string"
@@ -6885,6 +6921,9 @@
                "currency": {
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
                },
                "disadvantages": {
                    "type": "string"
                },
@@ -6929,6 +6968,9 @@
                },
                "regular_customers_id": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "sale_stage_id": {
                    "type": "integer"
@@ -7193,8 +7235,50 @@
        "request.AddSubOrder": {
            "type": "object",
            "properties": {
                "subOrder": {
                    "$ref": "#/definitions/request.SubOrder"
                "clientId": {
                    "type": "integer"
                },
                "masterOrderId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "product": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "request.AddVetting": {
            "type": "object",
            "required": [
                "opinion",
                "status",
                "userId",
                "vettingId",
                "vettingType"
            ],
            "properties": {
                "opinion": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "userId": {
                    "type": "integer"
                },
                "vettingId": {
                    "type": "integer"
                },
                "vettingType": {
                    "type": "integer"
                }
            }
        },
@@ -7775,29 +7859,6 @@
                }
            }
        },
        "request.SubOrder": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "masterOrderId": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "product": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                }
            }
        },
        "request.UpdateCities": {
            "type": "object",
            "properties": {
@@ -8306,7 +8367,7 @@
                    "type": "integer"
                },
                "money": {
                    "type": "string"
                    "type": "number"
                },
                "number": {
                    "type": "string"
@@ -8564,6 +8625,9 @@
                "currency": {
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
                },
                "disadvantages": {
                    "type": "string"
                },
@@ -8611,6 +8675,9 @@
                },
                "regular_customers_id": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
                "sale_stage_id": {
                    "type": "integer"
@@ -8770,35 +8837,11 @@
        "request.UpdateSalesReturnRequest": {
            "type": "object",
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "memberId": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "reason": {
                    "type": "string"
                },
                "repository": {
                    "type": "string"
                },
                "returnDate": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                "salesReturn": {
                    "$ref": "#/definitions/request.SalesReturn"
                }
            }
        },