From 8fab255a4509a7ec5bfc7439b6e352054d677e29 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 10 八月 2023 17:40:58 +0800 Subject: [PATCH] fix --- docs/docs.go | 73 ++++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+), 1 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index aa11e95..217dc9b 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -8267,7 +8267,7 @@ } }, "/api/serviceOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -8275,6 +8275,17 @@ "鏈嶅姟鍗曠鐞�" ], "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceOrderList" + } + } + ], "responses": { "200": { "description": "OK", @@ -9963,6 +9974,38 @@ "ServiceFollowupKeywordCustomerServiceNo", "ServiceFollowupKeywordVisitor", "ServiceFollowupKeywordSatisfactionDegree" + ] + }, + "constvar.ServiceOrderKeywordType": { + "type": "string", + "enum": [ + "鏈嶅姟鍗曠紪鍙�", + "涓婚", + "瀹㈡埛鍚嶇О", + "瀹為檯澶勭悊鏃堕棿", + "鏈嶅姟浜哄憳", + "鏈嶅姟鏂瑰紡", + "浜у搧绫诲埆", + "鏁呴殰绫诲埆" + ], + "x-enum-varnames": [ + "ServiceOrderKeywordOrderNumber", + "ServiceOrderKeywordSubject", + "ServiceOrderKeywordClientName", + "ServiceOrderKeywordRealProcessTime", + "ServiceOrderKeywordServiceMan", + "ServiceOrderKeywordServiceType", + "ServiceOrderKeywordProductType", + "ServiceOrderKeywordFaultType" + ] + }, + "constvar.ServiceOrderQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceOrderQueryClassExpireLessThen60Days" ] }, "constvar.UserType": { @@ -11733,8 +11776,14 @@ "model.ServiceFollowup": { "type": "object", "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" @@ -14287,6 +14336,28 @@ } } }, + "request.GetServiceOrderList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceOrderKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceOrderQueryClass" + } + } + }, "request.GetSubOrderList": { "type": "object", "properties": { -- Gitblit v1.8.0