From 34c99ef40f26f8812610e7ca14c56825f9bf2c3c Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 11:46:56 +0800
Subject: [PATCH] add

---
 docs/docs.go |  758 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 755 insertions(+), 3 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 0fb9be2..e97a5e1 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -16,6 +16,125 @@
     "host": "{{.Host}}",
     "basePath": "{{.BasePath}}",
     "paths": {
+        "/api/accountId/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "AccountId"
+                ],
+                "summary": "娣诲姞璐︽埛",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddAccountId"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/accountId/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "AccountId"
+                ],
+                "summary": "鍒犻櫎璐︽埛",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/accountId/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "AccountId"
+                ],
+                "summary": "鑾峰彇璐︽埛鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.AccountIdResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/accountId/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "AccountId"
+                ],
+                "summary": "鏇存柊璐︽埛",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateAccountIds"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/authority/add": {
             "post": {
                 "security": [
@@ -2040,6 +2159,125 @@
                 }
             }
         },
+        "/api/isInvoice/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "IsInvoice"
+                ],
+                "summary": "娣诲姞鏄惁寮�绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddIsInvoice"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/isInvoice/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "IsInvoice"
+                ],
+                "summary": "鍒犻櫎鏄惁寮�绁�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/isInvoice/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "IsInvoice"
+                ],
+                "summary": "鑾峰彇鏄惁寮�绁ㄥ垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.IsInvoiceResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/isInvoice/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "IsInvoice"
+                ],
+                "summary": "鏇存柊鏄惁寮�绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateIsInvoices"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/isVisit/add": {
             "post": {
                 "produces": [
@@ -3051,6 +3289,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateQuotation"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundMethod/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "RefundMethod"
+                ],
+                "summary": "娣诲姞閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddRefundMethod"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundMethod/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "RefundMethod"
+                ],
+                "summary": "鍒犻櫎閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundMethod/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "RefundMethod"
+                ],
+                "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.RefundMethodResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/refundMethod/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "RefundMethod"
+                ],
+                "summary": "鏇存柊閫�娆炬柟寮�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateRefundMethods"
                         }
                     }
                 ],
@@ -4876,6 +5233,125 @@
                 }
             }
         },
+        "/api/serviceContractType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "娣诲姞鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddServiceContractType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鍒犻櫎鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鑾峰彇鏈嶅姟鍚堝悓绫诲瀷鍒楄〃",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.ServiceContractTypeResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/serviceContractType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "ServiceContractType"
+                ],
+                "summary": "鏇存柊鏈嶅姟鍚堝悓绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateServiceContractTypes"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/serviceFeeManage/add": {
             "post": {
                 "produces": [
@@ -5940,6 +6416,17 @@
                 }
             }
         },
+        "model.AccountId": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Authority": {
             "type": "object",
             "properties": {
@@ -6460,6 +6947,17 @@
                 }
             }
         },
+        "model.IsInvoice": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.IsVisit": {
             "type": "object",
             "properties": {
@@ -6673,6 +7171,17 @@
                     "type": "integer"
                 },
                 "validity_date": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.RefundMethod": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
                     "type": "string"
                 }
             }
@@ -7129,6 +7638,9 @@
                 "serviceContractStatusId": {
                     "type": "integer"
                 },
+                "serviceContractTypeId": {
+                    "type": "integer"
+                },
                 "serviceTimes": {
                     "type": "integer"
                 },
@@ -7140,13 +7652,21 @@
                 },
                 "terms": {
                     "type": "string"
-                },
-                "typeId": {
-                    "type": "integer"
                 }
             }
         },
         "model.ServiceContractStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.ServiceContractType": {
             "type": "object",
             "properties": {
                 "id": {
@@ -7332,6 +7852,17 @@
                     "type": "string"
                 },
                 "uuid": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddAccountId": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
                     "type": "string"
                 }
             }
@@ -7664,6 +8195,17 @@
                 }
             }
         },
+        "request.AddIsInvoice": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddIsVisit": {
             "type": "object",
             "required": [
@@ -7797,6 +8339,17 @@
                     "type": "integer"
                 },
                 "validity_date": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddRefundMethod": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
                     "type": "string"
                 }
             }
@@ -8121,6 +8674,17 @@
             }
         },
         "request.AddServiceContractStatus": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddServiceContractType": {
             "type": "object",
             "required": [
                 "name"
@@ -8841,6 +9405,35 @@
                 }
             }
         },
+        "request.UpdateAccountId": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateAccountIds": {
+            "type": "object",
+            "required": [
+                "account_id"
+            ],
+            "properties": {
+                "account_id": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateAccountId"
+                    }
+                }
+            }
+        },
         "request.UpdateCities": {
             "type": "object",
             "properties": {
@@ -9333,6 +9926,35 @@
                 }
             }
         },
+        "request.UpdateIsInvoice": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateIsInvoices": {
+            "type": "object",
+            "required": [
+                "is_invoice"
+            ],
+            "properties": {
+                "is_invoice": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateIsInvoice"
+                    }
+                }
+            }
+        },
         "request.UpdateIsVisit": {
             "type": "object",
             "required": [
@@ -9549,6 +10171,35 @@
                 },
                 "validity_date": {
                     "type": "string"
+                }
+            }
+        },
+        "request.UpdateRefundMethod": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateRefundMethods": {
+            "type": "object",
+            "required": [
+                "refund_method"
+            ],
+            "properties": {
+                "refund_method": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateRefundMethod"
+                    }
                 }
             }
         },
@@ -10057,6 +10708,35 @@
                 }
             }
         },
+        "request.UpdateServiceContractType": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateServiceContractTypes": {
+            "type": "object",
+            "required": [
+                "service_contract_type"
+            ],
+            "properties": {
+                "service_contract_type": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateServiceContractType"
+                    }
+                }
+            }
+        },
         "request.UpdateServiceFeeManage": {
             "type": "object",
             "properties": {
@@ -10320,6 +11000,17 @@
                 }
             }
         },
+        "response.AccountIdResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.AccountId"
+                    }
+                }
+            }
+        },
         "response.CityResponse": {
             "type": "object",
             "properties": {
@@ -10422,6 +11113,13 @@
         "response.DataResponse": {
             "type": "object",
             "properties": {
+                "accountId": {
+                    "description": "璐︽埛",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.AccountId"
+                    }
+                },
                 "city": {
                     "description": "鍩庡競鏁版嵁",
                     "type": "array",
@@ -10492,6 +11190,13 @@
                         "$ref": "#/definitions/model.Industry"
                     }
                 },
+                "isInvoice": {
+                    "description": "鏄惁寮�绁�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.IsInvoice"
+                    }
+                },
                 "isVisit": {
                     "description": "鏈嶅姟浜哄憳鏄惁鏉ヨ繃",
                     "type": "array",
@@ -10518,6 +11223,13 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Province"
+                    }
+                },
+                "refundMethod": {
+                    "description": "閫�娆炬柟寮�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.RefundMethod"
                     }
                 },
                 "region": {
@@ -10581,6 +11293,13 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.ServiceContractStatus"
+                    }
+                },
+                "serviceContractType": {
+                    "description": "鏈嶅姟鍚堝悓绫诲瀷",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractType"
                     }
                 },
                 "solve_rate": {
@@ -10650,6 +11369,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Industry"
+                    }
+                }
+            }
+        },
+        "response.IsInvoiceResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.IsInvoice"
                     }
                 }
             }
@@ -10767,6 +11497,17 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.Quotation"
+                    }
+                }
+            }
+        },
+        "response.RefundMethodResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.RefundMethod"
                     }
                 }
             }
@@ -10914,6 +11655,17 @@
                 }
             }
         },
+        "response.ServiceContractTypeResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.ServiceContractType"
+                    }
+                }
+            }
+        },
         "response.ServiceContractsResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0