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/docs.go | 455 ++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 354 insertions(+), 101 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 294d119..6d6eace 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": [
@@ -5630,6 +5749,9 @@
"model.MasterOrder": {
"type": "object",
"properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"client_id": {
"type": "integer"
},
@@ -6011,6 +6133,9 @@
"addressee": {
"type": "string"
},
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
@@ -6204,6 +6329,17 @@
}
}
},
+ "model.Satisfaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"model.ServiceContract": {
"type": "object",
"properties": {
@@ -6342,6 +6478,9 @@
"model.SubOrder": {
"type": "object",
"properties": {
+ "client": {
+ "$ref": "#/definitions/model.Client"
+ },
"clientId": {
"type": "integer"
},
@@ -7101,6 +7240,17 @@
}
}
},
+ "request.AddSatisfaction": {
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"request.AddServiceContract": {
"type": "object",
"properties": {
@@ -7160,20 +7310,102 @@
"request.AddServiceFeeManage": {
"type": "object",
"properties": {
- "client_id": {
+ "business_scope": {
+ "description": "缁忚惀鑼冨洿",
+ "type": "string"
+ },
+ "city_id": {
+ "type": "integer"
+ },
+ "client_level_id": {
+ "description": "瀹㈡埛绛夌骇ID",
+ "type": "integer"
+ },
+ "client_origin_id": {
+ "description": "瀹㈡埛鏉ユ簮ID",
+ "type": "integer"
+ },
+ "client_status_id": {
+ "description": "瀹㈡埛鐘舵�両D",
+ "type": "integer"
+ },
+ "client_type_id": {
+ "description": "瀹㈡埛绫诲瀷ID",
+ "type": "integer"
+ },
+ "contact": {
+ "$ref": "#/definitions/request.Contact"
+ },
+ "country_id": {
+ "type": "integer"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
+ "type": "string"
+ },
+ "enterprise_nature_id": {
+ "description": "浼佷笟鎬ц川",
+ "type": "integer"
+ },
+ "enterprise_scale_id": {
+ "description": "浼佷笟瑙勬ā",
"type": "integer"
},
"file": {
"type": "string"
},
+ "industry_id": {
+ "description": "鎵�灞炶涓�",
+ "type": "integer"
+ },
"latest_date": {
"type": "string"
},
+ "latest_service_time": {
+ "description": "鏈�鏅氭湇鍔℃椂闂�",
+ "type": "string"
+ },
"member_id": {
+ "description": "閿�鍞礋璐d汉ID",
"type": "integer"
},
- "remark": {
+ "name": {
+ "description": "鍏徃鍚嶇О",
"type": "string"
+ },
+ "next_visit_time": {
+ "description": "涓嬫鍥炶鏃堕棿",
+ "type": "string"
+ },
+ "number": {
+ "description": "鍏徃缂栧彿",
+ "type": "string"
+ },
+ "province_id": {
+ "type": "integer"
+ },
+ "region_id": {
+ "type": "integer"
+ },
+ "registered_capital_id": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "integer"
+ },
+ "registration_time": {
+ "description": "娉ㄥ唽鏃堕棿",
+ "type": "string"
+ },
+ "remark": {
+ "description": "澶囨敞",
+ "type": "string"
+ },
+ "representative": {
+ "description": "娉曚汉浠h〃",
+ "type": "string"
+ },
+ "service_member_id": {
+ "description": "鏈嶅姟璐熻矗浜篒D",
+ "type": "integer"
}
}
},
@@ -7334,102 +7566,6 @@
"pos": {
"description": "鐢ㄦ埛宀椾綅",
"type": "string"
- }
- }
- },
- "request.Client": {
- "type": "object",
- "properties": {
- "business_scope": {
- "description": "缁忚惀鑼冨洿",
- "type": "string"
- },
- "city_id": {
- "type": "integer"
- },
- "client_level_id": {
- "description": "瀹㈡埛绛夌骇ID",
- "type": "integer"
- },
- "client_origin_id": {
- "description": "瀹㈡埛鏉ユ簮ID",
- "type": "integer"
- },
- "client_status_id": {
- "description": "瀹㈡埛鐘舵�両D",
- "type": "integer"
- },
- "client_type_id": {
- "description": "瀹㈡埛绫诲瀷ID",
- "type": "integer"
- },
- "contact": {
- "$ref": "#/definitions/request.Contact"
- },
- "country_id": {
- "type": "integer"
- },
- "detail_address": {
- "description": "璇︾粏鍦板潃",
- "type": "string"
- },
- "enterprise_nature_id": {
- "description": "浼佷笟鎬ц川",
- "type": "integer"
- },
- "enterprise_scale_id": {
- "description": "浼佷笟瑙勬ā",
- "type": "integer"
- },
- "industry_id": {
- "description": "鎵�灞炶涓�",
- "type": "integer"
- },
- "latest_service_time": {
- "description": "鏈�鏅氭湇鍔℃椂闂�",
- "type": "string"
- },
- "member_id": {
- "description": "閿�鍞礋璐d汉ID",
- "type": "integer"
- },
- "name": {
- "description": "鍏徃鍚嶇О",
- "type": "string"
- },
- "next_visit_time": {
- "description": "涓嬫鍥炶鏃堕棿",
- "type": "string"
- },
- "number": {
- "description": "鍏徃缂栧彿",
- "type": "string"
- },
- "province_id": {
- "type": "integer"
- },
- "region_id": {
- "type": "integer"
- },
- "registered_capital_id": {
- "description": "娉ㄥ唽璧勯噾",
- "type": "integer"
- },
- "registration_time": {
- "description": "娉ㄥ唽鏃堕棿",
- "type": "string"
- },
- "remark": {
- "description": "澶囨敞",
- "type": "string"
- },
- "representative": {
- "description": "娉曚汉浠h〃",
- "type": "string"
- },
- "service_member_id": {
- "description": "鏈嶅姟璐熻矗浜篒D",
- "type": "integer"
}
}
},
@@ -8871,6 +9007,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": {
@@ -8933,10 +9098,45 @@
"request.UpdateServiceFeeManage": {
"type": "object",
"properties": {
- "client": {
- "$ref": "#/definitions/request.Client"
+ "business_scope": {
+ "description": "缁忚惀鑼冨洿",
+ "type": "string"
},
- "client_id": {
+ "city_id": {
+ "type": "integer"
+ },
+ "client_level_id": {
+ "description": "瀹㈡埛绛夌骇ID",
+ "type": "integer"
+ },
+ "client_origin_id": {
+ "description": "瀹㈡埛鏉ユ簮ID",
+ "type": "integer"
+ },
+ "client_status_id": {
+ "description": "瀹㈡埛鐘舵�両D",
+ "type": "integer"
+ },
+ "client_type_id": {
+ "description": "瀹㈡埛绫诲瀷ID",
+ "type": "integer"
+ },
+ "contact": {
+ "$ref": "#/definitions/request.Contact"
+ },
+ "country_id": {
+ "type": "integer"
+ },
+ "detail_address": {
+ "description": "璇︾粏鍦板潃",
+ "type": "string"
+ },
+ "enterprise_nature_id": {
+ "description": "浼佷笟鎬ц川",
+ "type": "integer"
+ },
+ "enterprise_scale_id": {
+ "description": "浼佷笟瑙勬ā",
"type": "integer"
},
"file": {
@@ -8945,14 +9145,56 @@
"id": {
"type": "integer"
},
+ "industry_id": {
+ "description": "鎵�灞炶涓�",
+ "type": "integer"
+ },
"latest_date": {
+ "type": "string"
+ },
+ "latest_service_time": {
+ "description": "鏈�鏅氭湇鍔℃椂闂�",
"type": "string"
},
"member_id": {
"type": "integer"
},
+ "name": {
+ "description": "鍏徃鍚嶇О",
+ "type": "string"
+ },
+ "next_visit_time": {
+ "description": "涓嬫鍥炶鏃堕棿",
+ "type": "string"
+ },
+ "number": {
+ "description": "鍏徃缂栧彿",
+ "type": "string"
+ },
+ "province_id": {
+ "type": "integer"
+ },
+ "region_id": {
+ "type": "integer"
+ },
+ "registered_capital_id": {
+ "description": "娉ㄥ唽璧勯噾",
+ "type": "integer"
+ },
+ "registration_time": {
+ "description": "娉ㄥ唽鏃堕棿",
+ "type": "string"
+ },
"remark": {
"type": "string"
+ },
+ "representative": {
+ "description": "娉曚汉浠h〃",
+ "type": "string"
+ },
+ "service_member_id": {
+ "description": "鏈嶅姟璐熻矗浜篒D",
+ "type": "integer"
}
}
},
@@ -9548,6 +9790,17 @@
}
}
},
+ "response.SatisfactionResponse": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/model.Satisfaction"
+ }
+ }
+ }
+ },
"response.ServiceContractsResponse": {
"type": "object",
"properties": {
--
Gitblit v1.8.0