From 25fcc66e4c844306489dcfec6880004157a2dff7 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 20 七月 2023 17:24:47 +0800
Subject: [PATCH] fix

---
 docs/swagger.json |  190 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 190 insertions(+), 0 deletions(-)

diff --git a/docs/swagger.json b/docs/swagger.json
index e3d258e..4fb2c34 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -4150,6 +4150,125 @@
                 }
             }
         },
+        "/api/satisfaction/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "娣诲姞婊℃剰搴�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddSatisfaction"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "鍒犻櫎婊℃剰搴�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "婊℃剰搴﹀垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.SatisfactionResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/satisfaction/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "Satisfaction"
+                ],
+                "summary": "鏇存柊婊℃剰搴�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateSatisfactions"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/serviceContract/add": {
             "post": {
                 "produces": [
@@ -5618,6 +5737,9 @@
         "model.MasterOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "client_id": {
                     "type": "integer"
                 },
@@ -5999,6 +6121,9 @@
                 "addressee": {
                     "type": "string"
                 },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
@@ -6192,6 +6317,17 @@
                 }
             }
         },
+        "model.Satisfaction": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.ServiceContract": {
             "type": "object",
             "properties": {
@@ -6330,6 +6466,9 @@
         "model.SubOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
@@ -7079,6 +7218,17 @@
             }
         },
         "request.AddSalesSources": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddSatisfaction": {
             "type": "object",
             "required": [
                 "name"
@@ -8845,6 +8995,35 @@
                 }
             }
         },
+        "request.UpdateSatisfaction": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateSatisfactions": {
+            "type": "object",
+            "required": [
+                "satisfactions"
+            ],
+            "properties": {
+                "satisfactions": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateSatisfaction"
+                    }
+                }
+            }
+        },
         "request.UpdateServiceContract": {
             "type": "object",
             "properties": {
@@ -9599,6 +9778,17 @@
                 }
             }
         },
+        "response.SatisfactionResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Satisfaction"
+                    }
+                }
+            }
+        },
         "response.ServiceContractsResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0