add
wangpengfei
2023-07-21 624d15a1baedef4b872dfea64331532c9ef31b4e
docs/docs.go
@@ -1395,6 +1395,125 @@
                }
            }
        },
        "/api/currency/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "添加币种",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddCurrency"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/currency/delete/{id}": {
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "删除币种",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "查询参数",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/currency/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "获取币种列表",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/contextx.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.CurrencyResponse"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/currency/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "Currency"
                ],
                "summary": "更新币种",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateCurrencys"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/customerServiceSheet/add": {
            "post": {
                "produces": [
@@ -6696,27 +6815,6 @@
        }
    },
    "definitions": {
        "constvar.CurrencyType": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4
            ],
            "x-enum-comments": {
                "CurrencyTypeCNY": "人民币",
                "CurrencyTypeEUR": "欧元",
                "CurrencyTypeGBP": "英镑",
                "CurrencyTypeUSD": "美元"
            },
            "x-enum-varnames": [
                "CurrencyTypeCNY",
                "CurrencyTypeUSD",
                "CurrencyTypeEUR",
                "CurrencyTypeGBP"
            ]
        },
        "constvar.SalesStatus": {
            "type": "integer",
            "enum": [
@@ -7175,6 +7273,17 @@
                    "items": {
                        "$ref": "#/definitions/model.Province"
                    }
                }
            }
        },
        "model.Currency": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
@@ -7649,7 +7758,7 @@
                    "type": "integer"
                },
                "currency": {
                    "$ref": "#/definitions/constvar.CurrencyType"
                    "type": "integer"
                },
                "detail_address": {
                    "type": "string"
@@ -8154,6 +8263,17 @@
                }
            }
        },
        "model.Status": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "model.SubOrder": {
            "type": "object",
            "properties": {
@@ -8506,6 +8626,17 @@
            "properties": {
                "name": {
                    "description": "国家名称",
                    "type": "string"
                }
            }
        },
        "request.AddCurrency": {
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string"
                }
            }
@@ -10202,6 +10333,35 @@
                }
            }
        },
        "request.UpdateCurrency": {
            "type": "object",
            "required": [
                "id",
                "name"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                }
            }
        },
        "request.UpdateCurrencys": {
            "type": "object",
            "required": [
                "currency"
            ],
            "properties": {
                "currency": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.UpdateCurrency"
                    }
                }
            }
        },
        "request.UpdateCustomerServiceSheet": {
            "type": "object",
            "properties": {
@@ -11620,6 +11780,17 @@
                }
            }
        },
        "response.CurrencyResponse": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                }
            }
        },
        "response.DataResponse": {
            "type": "object",
            "properties": {
@@ -11670,6 +11841,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Country"
                    }
                },
                "currency": {
                    "description": "币种",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Currency"
                    }
                },
                "department": {
@@ -11726,6 +11904,13 @@
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.OrderType"
                    }
                },
                "possibility": {
                    "description": "可能性",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Possibility"
                    }
                },
                "province": {
@@ -11840,6 +12025,13 @@
                        "$ref": "#/definitions/model.SolveRate"
                    }
                },
                "status": {
                    "description": "状态",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.Status"
                    }
                },
                "timely_rate": {
                    "description": "及时率",
                    "type": "array",