zhangqian
2023-11-01 530fed8ec225453572d57b15c200ab062c335457
docs/docs.go
@@ -404,79 +404,6 @@
                }
            }
        },
        "/api/base/captcha": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Base"
                ],
                "summary": "获取验证码",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.LoginResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/base/login": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Base"
                ],
                "summary": "用户登录",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.Login"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.LoginResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/city/add": {
            "post": {
                "produces": [
@@ -1267,6 +1194,84 @@
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/code/getAutoCode": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取自动编码",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/code.CodeStandard"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
            }
        },
        "/api/code/getCodeList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "编码"
                ],
                "summary": "获取编码列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "codeStandID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "name",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "type",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/response.ListResponse"
                        }
                    }
                }
@@ -3312,7 +3317,7 @@
            }
        },
        "/api/invoice/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -3322,43 +3327,13 @@
                "summary": "获取销售发票列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "InvoiceQueryClassExpireLessThen60Days"
                        ],
                        "name": "queryClass",
                        "in": "query"
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetInvoiceList"
                        }
                    }
                ],
                "responses": {
@@ -5520,19 +5495,9 @@
                "summary": "获取收款单列表",
                "parameters": [
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                        ],
                        "type": "string",
                        "x-enum-varnames": [
                            "ReceiptKeywordCustomerName"
                        ],
                        "name": "keywordType",
                        "type": "integer",
                        "description": "客户id",
                        "name": "clientId",
                        "in": "query"
                    },
                    {
@@ -5548,14 +5513,35 @@
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "name": "sourceId",
                        "in": "query"
                    },
                    {
                        "enum": [
                            ""
                            1,
                            2,
                            3,
                            4,
                            5
                        ],
                        "type": "string",
                        "type": "integer",
                        "x-enum-comments": {
                            "ReceiptSourceTypeChuKuDan": "出库单it",
                            "ReceiptSourceTypeCollectionPlan": "收款计划",
                            "ReceiptSourceTypeInvoice": "销售发票",
                            "ReceiptSourceTypeSalesDetails": "销售明细单",
                            "ReceiptSourceTypeServiceContract": "服务合同"
                        },
                        "x-enum-varnames": [
                            "ReceiptQueryClassExpireLessThen60Days"
                            "ReceiptSourceTypeSalesDetails",
                            "ReceiptSourceTypeServiceContract",
                            "ReceiptSourceTypeInvoice",
                            "ReceiptSourceTypeCollectionPlan",
                            "ReceiptSourceTypeChuKuDan"
                        ],
                        "name": "queryClass",
                        "description": "来源类型(1销售明细单2服务合同3销售发票4收款计划5出库单)",
                        "name": "sourceType",
                        "in": "query"
                    }
                ],
@@ -5720,6 +5706,142 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundMethods"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "添加退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddRefundType"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "删除退款方式",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/refundType/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "获取退款方式列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.RefundType"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/refundType/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "退款方式管理"
                ],
                "summary": "更新退款方式",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateRefundType"
                        }
                    }
                ],
@@ -6779,7 +6901,19 @@
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/request.AddSalesDetails"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -7813,7 +7947,7 @@
            }
        },
        "/api/serviceCollectionPlan/list": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -7823,10 +7957,13 @@
                "summary": "获取收款计划列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "服务合同id",
                        "name": "serviceContractId",
                        "in": "query"
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetServiceCollectionPlanList"
                        }
                    }
                ],
                "responses": {
@@ -9731,259 +9868,6 @@
                }
            }
        },
        "/api/user/changePassword": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "用户修改密码",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangePasswordReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/deleteUser": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "删除用户",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DeleteUserReq"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/getUserInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "获取自身信息",
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/getUserList": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "分页获取用户列表(不传分页参数,获取全部)",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetUserList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.PageResult"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/user/register": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "注册账号",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.Register"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.UserResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/user/resetPassword": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "重置用户密码",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/model.User"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/setSelfInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "设置用户信息",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangeUserInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/user/setUserInfo": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "User"
                ],
                "summary": "设置用户信息",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.ChangeUserInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/vetting/add": {
            "post": {
                "produces": [
@@ -10209,6 +10093,69 @@
        }
    },
    "definitions": {
        "code.CodeAuto": {
            "type": "object",
            "properties": {
                "AutoLength": {
                    "type": "integer"
                },
                "Desc": {
                    "type": "string"
                },
                "PrefixMethod": {
                    "type": "integer"
                },
                "PrefixValue": {
                    "type": "string"
                },
                "SuffixMethod": {
                    "type": "integer"
                }
            }
        },
        "code.CodeRule": {
            "type": "object",
            "properties": {
                "Desc": {
                    "type": "string"
                },
                "Length": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                }
            }
        },
        "code.CodeStandard": {
            "type": "object",
            "properties": {
                "AutoRule": {
                    "$ref": "#/definitions/code.CodeAuto"
                },
                "ID": {
                    "type": "string"
                },
                "List": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/code.CodeRule"
                    }
                },
                "Method": {
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                },
                "Status": {
                    "type": "string"
                },
                "Type": {
                    "type": "string"
                }
            }
        },
        "constvar.BankAccountKeywordType": {
            "type": "string",
            "enum": [
@@ -10296,24 +10243,6 @@
                "FaqQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceKeywordCustomerName"
            ]
        },
        "constvar.InvoiceQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "InvoiceQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.InvoiceSourceType": {
            "type": "integer",
            "enum": [
@@ -10379,24 +10308,6 @@
                "PaymentTypeQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.ReceiptKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "ReceiptKeywordCustomerName"
            ]
        },
        "constvar.ReceiptQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "ReceiptQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.ReceiptSourceType": {
            "type": "integer",
            "enum": [
@@ -10406,6 +10317,13 @@
                4,
                5
            ],
            "x-enum-comments": {
                "ReceiptSourceTypeChuKuDan": "出库单it",
                "ReceiptSourceTypeCollectionPlan": "收款计划",
                "ReceiptSourceTypeInvoice": "销售发票",
                "ReceiptSourceTypeSalesDetails": "销售明细单",
                "ReceiptSourceTypeServiceContract": "服务合同"
            },
            "x-enum-varnames": [
                "ReceiptSourceTypeSalesDetails",
                "ReceiptSourceTypeServiceContract",
@@ -10813,10 +10731,6 @@
        "model.Client": {
            "type": "object",
            "properties": {
                "_": {
                    "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
                    "type": "string"
                },
                "business_scope": {
                    "type": "string"
                },
@@ -10850,6 +10764,9 @@
                "client_type_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contacts": {
                    "type": "array",
                    "items": {
@@ -10862,8 +10779,10 @@
                "country_id": {
                    "type": "integer"
                },
                "created_at": {
                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "creator_id": {
@@ -10891,7 +10810,6 @@
                    }
                },
                "id": {
                    "description": "The ID of the item\nexample: 1",
                    "type": "integer"
                },
                "industry": {
@@ -10948,8 +10866,7 @@
                "service_member_id": {
                    "type": "integer"
                },
                "updated_at": {
                    "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25",
                "updateTime": {
                    "type": "string"
                }
            }
@@ -11001,10 +10918,6 @@
        "model.CollectionProjection": {
            "type": "object",
            "properties": {
                "_": {
                    "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
                    "type": "string"
                },
                "created_at": {
                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
                    "type": "string"
@@ -11048,6 +10961,9 @@
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "country": {
                    "$ref": "#/definitions/model.Country"
@@ -11119,6 +11035,9 @@
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "country": {
                    "$ref": "#/definitions/model.Country"
@@ -11193,15 +11112,17 @@
        "model.Contract": {
            "type": "object",
            "properties": {
                "_": {
                    "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25",
                    "type": "string"
                },
                "client": {
                    "$ref": "#/definitions/model.Client"
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contractName": {
                    "type": "string"
                },
                "created_at": {
                    "description": "The date when the item was created\nexample: 2023-08-10 15:48:25",
@@ -11228,6 +11149,9 @@
                },
                "quotationId": {
                    "type": "integer"
                },
                "sendTime": {
                    "type": "string"
                },
                "serviceContractStatus": {
                    "$ref": "#/definitions/model.ServiceContractStatus"
@@ -11350,6 +11274,9 @@
                "client_status_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
@@ -11427,6 +11354,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompany": {
                    "$ref": "#/definitions/model.CourierCompany"
                },
@@ -11462,6 +11392,9 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -11547,6 +11480,9 @@
                },
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -11773,6 +11709,9 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -11802,6 +11741,9 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "type": "string"
                },
                "quotation_status": {
                    "$ref": "#/definitions/model.QuotationStatus"
@@ -11845,9 +11787,23 @@
                    "description": "账户id",
                    "type": "integer"
                },
                "client": {
                    "description": "客户id",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Client"
                        }
                    ]
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "fileId": {
                    "description": "附件id",
@@ -11858,6 +11814,9 @@
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "paymentType": {
@@ -11898,10 +11857,24 @@
                            "$ref": "#/definitions/constvar.ReceiptSourceType"
                        }
                    ]
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
        "model.RefundMethod": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.RefundType": {
            "type": "object",
            "properties": {
                "id": {
@@ -11991,6 +11964,9 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "collection_projections": {
                    "type": "array",
                    "items": {
@@ -12060,6 +12036,12 @@
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
                },
@@ -12104,6 +12086,14 @@
                },
                "solutions": {
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Status"
                        }
                    ]
                },
                "status_id": {
                    "type": "integer"
@@ -12176,6 +12166,9 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -12187,6 +12180,9 @@
                },
                "creatorName": {
                    "type": "string"
                },
                "deliverType": {
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -12218,6 +12214,12 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotation": {
                    "$ref": "#/definitions/model.Quotation"
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -12231,6 +12233,9 @@
                    "type": "integer"
                },
                "signTime": {
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                },
                "wechatOrderStatus": {
@@ -12250,6 +12255,9 @@
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact_name": {
                    "type": "string"
                },
@@ -12266,6 +12274,9 @@
                    "type": "integer"
                },
                "desc": {
                    "type": "string"
                },
                "detail_address": {
                    "type": "string"
                },
                "followRecord": {
@@ -12318,6 +12329,14 @@
        "model.SalesRefund": {
            "type": "object",
            "properties": {
                "RefundType": {
                    "description": "退款方式",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.RefundType"
                        }
                    ]
                },
                "amountTotal": {
                    "description": "价税合计",
                    "type": "number"
@@ -12334,6 +12353,9 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "createTime": {
                    "type": "string"
@@ -12375,6 +12397,13 @@
                "refundDate": {
                    "type": "string"
                },
                "refundTypeId": {
                    "description": "退款方式ID",
                    "type": "integer"
                },
                "salesReturn": {
                    "$ref": "#/definitions/model.SalesReturn"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
@@ -12386,6 +12415,9 @@
                            "$ref": "#/definitions/constvar.RefundSourceType"
                        }
                    ]
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -12416,6 +12448,9 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "createTime": {
                    "type": "string"
@@ -12454,6 +12489,9 @@
                    "description": "退货状态id",
                    "type": "integer"
                },
                "source": {
                    "$ref": "#/definitions/model.SalesDetails"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
@@ -12465,6 +12503,9 @@
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -12543,6 +12584,14 @@
                    "description": "比例",
                    "type": "number"
                },
                "principal": {
                    "description": "收款负责人ID",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.User"
                        }
                    ]
                },
                "principalId": {
                    "description": "收款负责人ID",
                    "type": "integer"
@@ -12609,11 +12658,20 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
                "contactId": {
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "endTime": {
                    "type": "string"
@@ -12676,6 +12734,9 @@
                    "type": "string"
                },
                "terms": {
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                }
            }
@@ -12740,11 +12801,20 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
                "contactId": {
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "file": {
                    "type": "string"
@@ -12799,6 +12869,9 @@
                },
                "timelyRateId": {
                    "type": "integer"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -12828,12 +12901,21 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/model.Contact"
                },
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "expectTime": {
                    "description": "希望处理时间",
@@ -12855,6 +12937,9 @@
                },
                "id": {
                    "type": "integer"
                },
                "number": {
                    "type": "string"
                },
                "priorityLevel": {
                    "$ref": "#/definitions/model.PriorityLevel"
@@ -12937,6 +13022,10 @@
                "severity": {
                    "$ref": "#/definitions/model.Severity"
                },
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
                "solution": {
                    "description": "解决方法",
                    "type": "string"
@@ -12955,6 +13044,9 @@
                "timeSpentId": {
                    "description": "花费时间",
                    "type": "integer"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -13021,6 +13113,9 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
@@ -13148,11 +13243,19 @@
                    "description": "物料类型",
                    "type": "string"
                },
                "MaxInventory": {
                    "description": "最大库存",
                    "type": "integer"
                },
                "MinInventory": {
                    "description": "安全库存",
                    "type": "integer"
                },
                "Name": {
                    "type": "string"
                },
                "Node": {
                    "description": "备注",
                    "type": "string"
                },
                "Number": {
@@ -13165,6 +13268,14 @@
                "SalePrice": {
                    "description": "销售价格",
                    "type": "number"
                },
                "Specs": {
                    "description": "规格",
                    "type": "string"
                },
                "Type": {
                    "description": "型号",
                    "type": "string"
                },
                "Unit": {
                    "type": "string"
@@ -13244,6 +13355,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -13445,6 +13560,14 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contractName": {
                    "description": "合同名称",
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
@@ -13456,6 +13579,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -13597,6 +13724,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -13620,6 +13750,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -13703,6 +13837,10 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -13820,6 +13958,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -13840,6 +13982,10 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "description": "报价单名称",
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
@@ -13877,9 +14023,23 @@
                    "description": "账户id",
                    "type": "integer"
                },
                "client": {
                    "description": "客户id",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Client"
                        }
                    ]
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "fileId": {
                    "description": "附件id",
@@ -13890,6 +14050,9 @@
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "paymentType": {
@@ -13930,6 +14093,9 @@
                            "$ref": "#/definitions/constvar.ReceiptSourceType"
                        }
                    ]
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -13939,6 +14105,17 @@
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        },
        "request.AddRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
@@ -14015,6 +14192,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "competitors": {
                    "type": "string"
                },
@@ -14062,6 +14243,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -14135,8 +14322,16 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -14165,6 +14360,9 @@
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
                },
@@ -14188,6 +14386,10 @@
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact_name": {
                    "description": "联系人姓名",
                    "type": "string"
@@ -14205,6 +14407,10 @@
                },
                "desc": {
                    "description": "备注",
                    "type": "string"
                },
                "detail_address": {
                    "description": "详细地址",
                    "type": "string"
                },
                "member_id": {
@@ -14303,6 +14509,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -14331,6 +14541,12 @@
                    "type": "integer"
                },
                "salesDetailsId": {
                    "type": "integer"
                },
                "serviceContractStatusId": {
                    "type": "integer"
                },
                "serviceContractTypeId": {
                    "type": "integer"
                },
                "serviceTimes": {
@@ -14400,6 +14616,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -14491,6 +14711,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -14551,6 +14775,10 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "description": "联系人id",
@@ -14620,7 +14848,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -14702,6 +14930,10 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "masterOrderId": {
                    "type": "integer"
@@ -14807,48 +15039,6 @@
                },
                "path": {
                    "description": "路径",
                    "type": "string"
                }
            }
        },
        "request.ChangePasswordReq": {
            "type": "object",
            "properties": {
                "newPassword": {
                    "description": "新密码",
                    "type": "string"
                },
                "password": {
                    "description": "密码",
                    "type": "string"
                }
            }
        },
        "request.ChangeUserInfo": {
            "type": "object",
            "properties": {
                "email": {
                    "description": "用户邮箱",
                    "type": "string"
                },
                "headerImg": {
                    "description": "用户头像",
                    "type": "string"
                },
                "id": {
                    "description": "用户ID",
                    "type": "string"
                },
                "nickName": {
                    "description": "用户昵称",
                    "type": "string"
                },
                "phone": {
                    "description": "用户手机号",
                    "type": "string"
                },
                "pos": {
                    "description": "用户岗位",
                    "type": "string"
                }
            }
@@ -15082,15 +15272,6 @@
                }
            }
        },
        "request.DeleteUserReq": {
            "type": "object",
            "properties": {
                "userId": {
                    "description": "用户ID",
                    "type": "string"
                }
            }
        },
        "request.DownloadFile": {
            "type": "object",
            "required": [
@@ -15126,6 +15307,9 @@
                },
                "client_status_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "contact_id": {
                    "type": "integer"
@@ -15177,7 +15361,7 @@
                    "type": "integer"
                },
                "search_map": {
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\"}",
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\",\"representative\": \"法定代表人\", \"registration_time\": \"注册时间\", \"business_scope\": \"经营范围\", \"remark\": \"备注\", \"not_admin\":\"1:我的客户; 2:admin客户\"}",
                    "type": "object",
                    "additionalProperties": true
                }
@@ -15186,6 +15370,10 @@
        "request.GetContactList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -15256,6 +15444,30 @@
                    "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}",
                    "type": "object",
                    "additionalProperties": true
                }
            }
        },
        "request.GetInvoiceList": {
            "type": "object",
            "properties": {
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "sourceId": {
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细单2服务合同)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.InvoiceSourceType"
                        }
                    ]
                }
            }
        },
@@ -15348,11 +15560,19 @@
        "request.GetSalesDetailsList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.SalesDetailsKeywordType"
                },
                "number": {
                    "description": "销售子单号",
                    "type": "string"
                },
                "page": {
                    "description": "页码",
@@ -15360,6 +15580,10 @@
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                }
            }
@@ -15398,12 +15622,19 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "sourceId": {
                    "type": "integer"
                }
            }
        },
        "request.GetSalesReturnList": {
            "type": "object",
            "properties": {
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
@@ -15417,12 +15648,43 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "sourceId": {
                    "description": "源单id",
                    "type": "integer"
                },
                "sourceType": {
                    "description": "源单类型(1销售明细)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.SalesReturnSourceType"
                        }
                    ]
                }
            }
        },
        "request.GetServiceCollectionPlanList": {
            "type": "object",
            "required": [
                "sourceId",
                "sourceType"
            ],
            "properties": {
                "sourceId": {
                    "type": "integer"
                },
                "sourceType": {
                    "$ref": "#/definitions/constvar.CollectionSourceType"
                }
            }
        },
        "request.GetServiceContractList": {
            "type": "object",
            "properties": {
                "contactId": {
                    "description": "联系人id",
                    "type": "integer"
                },
                "keyword": {
                    "type": "string"
                },
@@ -15439,6 +15701,18 @@
                },
                "queryClass": {
                    "$ref": "#/definitions/constvar.ServiceContractQueryClass"
                },
                "quotationId": {
                    "description": "报价单id",
                    "type": "integer"
                },
                "saleChanceId": {
                    "description": "销售机会id",
                    "type": "integer"
                },
                "salesDetailsId": {
                    "description": "合同订单id",
                    "type": "integer"
                }
            }
        },
@@ -15533,44 +15807,6 @@
                }
            }
        },
        "request.GetUserList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "description": "模糊查询关键字",
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.Login": {
            "type": "object",
            "properties": {
                "captcha": {
                    "description": "验证码",
                    "type": "string"
                },
                "captchaId": {
                    "description": "验证码ID",
                    "type": "string"
                },
                "password": {
                    "description": "密码",
                    "type": "string"
                },
                "username": {
                    "description": "用户名",
                    "type": "string"
                }
            }
        },
        "request.Plan": {
            "type": "object",
            "properties": {
@@ -15637,52 +15873,6 @@
                }
            }
        },
        "request.Register": {
            "type": "object",
            "properties": {
                "authorityId": {
                    "description": "用户角色ID",
                    "type": "integer"
                },
                "departmentId": {
                    "type": "integer"
                },
                "email": {
                    "type": "string"
                },
                "headerImg": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "nickName": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "pos": {
                    "type": "string"
                },
                "rePassword": {
                    "description": "确认密码",
                    "type": "string"
                },
                "realName": {
                    "type": "string"
                },
                "userType": {
                    "$ref": "#/definitions/constvar.UserType"
                },
                "username": {
                    "type": "string"
                }
            }
        },
        "request.SalesDetails": {
            "type": "object",
            "properties": {
@@ -15695,8 +15885,16 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
                "deliverType": {
                    "description": "交付类型:1.一次发货,2.多次发货",
                    "type": "integer"
                },
                "deliveryDate": {
                    "type": "string"
@@ -15724,6 +15922,9 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationId": {
                    "type": "integer"
                },
                "remark": {
                    "type": "string"
@@ -15755,6 +15956,10 @@
                },
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "isInvoice": {
                    "type": "string"
@@ -15800,6 +16005,10 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "memberId": {
                    "type": "integer"
@@ -15995,6 +16204,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -16281,6 +16494,14 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contractName": {
                    "description": "合同名称",
                    "type": "string"
                },
                "file": {
                    "type": "string"
                },
@@ -16295,6 +16516,10 @@
                },
                "quotation_id": {
                    "type": "integer"
                },
                "sendTime": {
                    "description": "发货时间",
                    "type": "string"
                },
                "status_id": {
                    "type": "integer"
@@ -16533,6 +16758,9 @@
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "type": "string"
                },
                "courierCompanyId": {
                    "description": "物流公司",
                    "type": "integer"
@@ -16559,6 +16787,10 @@
                "invoiceTypeId": {
                    "description": "发票类型id",
                    "type": "integer"
                },
                "number": {
                    "description": "发票编号",
                    "type": "string"
                },
                "principalId": {
                    "description": "销售负责人id",
@@ -16674,6 +16906,10 @@
            "properties": {
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "end_time": {
                    "type": "string"
@@ -16852,6 +17088,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "conditions": {
                    "type": "string"
                },
@@ -16875,6 +17115,10 @@
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "quotationName": {
                    "description": "报价单名称",
                    "type": "string"
                },
                "quotation_status_id": {
                    "type": "integer"
@@ -16930,9 +17174,23 @@
                    "description": "账户id",
                    "type": "integer"
                },
                "client": {
                    "description": "客户id",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.Client"
                        }
                    ]
                },
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "createTime": {
                    "type": "string"
                },
                "creatorName": {
                    "type": "string"
                },
                "fileId": {
                    "description": "附件id",
@@ -16943,6 +17201,9 @@
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
                "paymentType": {
@@ -16983,6 +17244,9 @@
                            "$ref": "#/definitions/constvar.ReceiptSourceType"
                        }
                    ]
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -17012,6 +17276,17 @@
                    "items": {
                        "$ref": "#/definitions/request.UpdateRefundMethod"
                    }
                }
            }
        },
        "request.UpdateRefundType": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -17174,6 +17449,10 @@
                "client_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "competitors": {
                    "type": "string"
                },
@@ -17224,6 +17503,12 @@
                },
                "process": {
                    "type": "string"
                },
                "products": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Product"
                    }
                },
                "projected_amount": {
                    "type": "number"
@@ -17338,6 +17623,10 @@
                "city_id": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact_name": {
                    "description": "联系人姓名",
                    "type": "string"
@@ -17355,6 +17644,10 @@
                },
                "desc": {
                    "description": "备注",
                    "type": "string"
                },
                "detail_address": {
                    "description": "详细地址",
                    "type": "string"
                },
                "id": {
@@ -17532,6 +17825,14 @@
                    "description": "比例",
                    "type": "number"
                },
                "principal": {
                    "description": "收款负责人ID",
                    "allOf": [
                        {
                            "$ref": "#/definitions/model.User"
                        }
                    ]
                },
                "principalId": {
                    "description": "收款负责人ID",
                    "type": "integer"
@@ -17575,6 +17876,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -17606,6 +17911,12 @@
                    "type": "integer"
                },
                "salesDetailsId": {
                    "type": "integer"
                },
                "serviceContractStatusId": {
                    "type": "integer"
                },
                "serviceContractTypeId": {
                    "type": "integer"
                },
                "serviceTimes": {
@@ -17693,6 +18004,10 @@
                "client_type_id": {
                    "description": "客户类型ID",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contact": {
                    "$ref": "#/definitions/request.Contact"
@@ -17785,6 +18100,10 @@
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "type": "integer"
                },
@@ -17848,6 +18167,10 @@
                "clientId": {
                    "description": "客户id",
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "contactId": {
                    "description": "联系人id",
@@ -17920,7 +18243,7 @@
                    "description": "服务方式id",
                    "type": "integer"
                },
                "severity": {
                "severityId": {
                    "description": "严重程度id",
                    "type": "integer"
                },
@@ -18038,6 +18361,10 @@
            "properties": {
                "clientId": {
                    "type": "integer"
                },
                "codeStandID": {
                    "description": "编码id",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
@@ -18675,21 +19002,6 @@
                }
            }
        },
        "response.PageResult": {
            "type": "object",
            "properties": {
                "list": {},
                "page": {
                    "type": "integer"
                },
                "pageSize": {
                    "type": "integer"
                },
                "total": {
                    "type": "integer"
                }
            }
        },
        "response.PlanResponse": {
            "type": "object",
            "properties": {
@@ -19017,14 +19329,6 @@
                    "items": {
                        "$ref": "#/definitions/model.TimelyRate"
                    }
                }
            }
        },
        "response.UserResponse": {
            "type": "object",
            "properties": {
                "user": {
                    "$ref": "#/definitions/model.User"
                }
            }
        }