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 | 88 ++++++++++++++++++-------------------------- 1 files changed, 36 insertions(+), 52 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5b72437..217dc9b 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -8267,7 +8267,7 @@ } }, "/api/serviceOrder/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -8277,57 +8277,13 @@ "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", "parameters": [ { - "type": "string", - "name": "keyword", - "in": "query" - }, - { - "enum": [ - "鏈嶅姟鍗曠紪鍙�", - "涓婚", - "瀹㈡埛鍚嶇О", - "瀹為檯澶勭悊鏃堕棿", - "鏈嶅姟浜哄憳", - "鏈嶅姟鏂瑰紡", - "浜у搧绫诲埆", - "鏁呴殰绫诲埆" - ], - "type": "string", - "x-enum-varnames": [ - "ServiceOrderKeywordOrderNumber", - "ServiceOrderKeywordSubject", - "ServiceOrderKeywordClientName", - "ServiceOrderKeywordRealProcessTime", - "ServiceOrderKeywordServiceMan", - "ServiceOrderKeywordServiceType", - "ServiceOrderKeywordProductType", - "ServiceOrderKeywordFaultType" - ], - "name": "keywordType", - "in": "query" - }, - { - "type": "integer", - "description": "椤电爜", - "name": "page", - "in": "query" - }, - { - "type": "integer", - "description": "姣忛〉澶у皬", - "name": "pageSize", - "in": "query" - }, - { - "enum": [ - "" - ], - "type": "string", - "x-enum-varnames": [ - "ServiceOrderQueryClassExpireLessThen60Days" - ], - "name": "queryClass", - "in": "query" + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceOrderList" + } } ], "responses": { @@ -11820,8 +11776,14 @@ "model.ServiceFollowup": { "type": "object", "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" @@ -14374,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