From aab89dff18f597d4cdd10c73b9ad8c3c14d82d28 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 20 七月 2023 20:28:59 +0800
Subject: [PATCH] add

---
 docs/docs.go |  382 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 380 insertions(+), 2 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 5f12fa8..eeb01be 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -4162,6 +4162,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": [
@@ -4732,6 +4851,125 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateSubOrder"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "娣诲姞閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddTimelyRate"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/delete/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鍒犻櫎閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鑾峰彇閿�鍞樁娈靛垪琛�",
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/contextx.Response"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "$ref": "#/definitions/response.TimelyRateResponse"
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/timelyRate/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "TimelyRate"
+                ],
+                "summary": "鏇存柊閿�鍞樁娈�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateTimelyRates"
                         }
                     }
                 ],
@@ -5630,6 +5868,9 @@
         "model.MasterOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "client_id": {
                     "type": "integer"
                 },
@@ -6011,6 +6252,9 @@
                 "addressee": {
                     "type": "string"
                 },
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
@@ -6204,6 +6448,17 @@
                 }
             }
         },
+        "model.Satisfaction": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.ServiceContract": {
             "type": "object",
             "properties": {
@@ -6325,7 +6580,7 @@
                 "remark": {
                     "type": "string"
                 },
-                "satisfaction": {
+                "satisfactionId": {
                     "type": "integer"
                 },
                 "serviceId": {
@@ -6334,7 +6589,7 @@
                 "solveRate": {
                     "type": "integer"
                 },
-                "timelyRate": {
+                "timelyRateId": {
                     "type": "integer"
                 }
             }
@@ -6342,6 +6597,9 @@
         "model.SubOrder": {
             "type": "object",
             "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
                 "clientId": {
                     "type": "integer"
                 },
@@ -6362,6 +6620,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                }
+            }
+        },
+        "model.TimelyRate": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -7101,6 +7370,17 @@
                 }
             }
         },
+        "request.AddSatisfaction": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddServiceContract": {
             "type": "object",
             "properties": {
@@ -7334,6 +7614,17 @@
                     "items": {
                         "$ref": "#/definitions/model.Product"
                     }
+                }
+            }
+        },
+        "request.AddTimelyRate": {
+            "type": "object",
+            "required": [
+                "name"
+            ],
+            "properties": {
+                "name": {
+                    "type": "string"
                 }
             }
         },
@@ -8857,6 +9148,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": {
@@ -9121,6 +9441,35 @@
                 }
             }
         },
+        "request.UpdateTimelyRate": {
+            "type": "object",
+            "required": [
+                "id",
+                "name"
+            ],
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateTimelyRates": {
+            "type": "object",
+            "required": [
+                "timely_rate"
+            ],
+            "properties": {
+                "timely_rate": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/request.UpdateTimelyRate"
+                    }
+                }
+            }
+        },
         "response.CityResponse": {
             "type": "object",
             "properties": {
@@ -9347,6 +9696,13 @@
                     "type": "array",
                     "items": {
                         "$ref": "#/definitions/model.SalesSources"
+                    }
+                },
+                "satisfaction": {
+                    "description": "婊℃剰搴�",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Satisfaction"
                     }
                 }
             }
@@ -9611,6 +9967,17 @@
                 }
             }
         },
+        "response.SatisfactionResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.Satisfaction"
+                    }
+                }
+            }
+        },
         "response.ServiceContractsResponse": {
             "type": "object",
             "properties": {
@@ -9655,6 +10022,17 @@
                 }
             }
         },
+        "response.TimelyRateResponse": {
+            "type": "object",
+            "properties": {
+                "list": {
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/model.TimelyRate"
+                    }
+                }
+            }
+        },
         "response.UserResponse": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0