From 4b63908ad085bc570623f7b0c0fd397b2ae7a80d Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 07 八月 2023 15:41:32 +0800 Subject: [PATCH] 增加文件列表接口,文件上传时间,文件删除时间 --- docs/docs.go | 3054 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 3,044 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 73dae90..93d955e 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -135,6 +135,36 @@ } } }, + "/api/assign/assign": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Assign" + ], + "summary": "瀹℃牳", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.Assign" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/authority/add": { "post": { "security": [ @@ -198,6 +228,169 @@ "required": true, "schema": { "$ref": "#/definitions/request.SetAuthorityMenu" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/bankAccount/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閾惰璐︽埛绠$悊" + ], + "summary": "娣诲姞閾惰璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddBankAccount" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/bankAccount/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閾惰璐︽埛绠$悊" + ], + "summary": "鍒犻櫎閾惰璐︽埛", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/bankAccount/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "閾惰璐︽埛绠$悊" + ], + "summary": "鑾峰彇閾惰璐︽埛鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "BankAccountKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "BankAccountQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.BankAccount" + } + } + } + } + ] + } + } + } + } + }, + "/api/bankAccount/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "閾惰璐︽埛绠$悊" + ], + "summary": "鏇存柊閾惰璐︽埛", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateBankAccount" } } ], @@ -471,7 +664,7 @@ } } }, - "/api/client/delete/{id}": { + "/api/client/delete": { "delete": { "produces": [ "application/json" @@ -482,11 +675,13 @@ "summary": "鍒犻櫎瀹㈡埛", "parameters": [ { - "type": "integer", - "description": "瀹㈡埛ID", - "name": "id", - "in": "path", - "required": true + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteClient" + } } ], "responses": { @@ -2042,6 +2237,436 @@ } } }, + "/api/faq/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "甯歌闂绠$悊" + ], + "summary": "娣诲姞甯歌闂", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddFaq" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/faq/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "甯歌闂绠$悊" + ], + "summary": "鍒犻櫎甯歌闂", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/faq/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "甯歌闂绠$悊" + ], + "summary": "鑾峰彇甯歌闂鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetFaqList" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Faq" + } + } + } + } + ] + } + } + } + } + }, + "/api/faq/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "甯歌闂绠$悊" + ], + "summary": "鏇存柊甯歌闂", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateFaq" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/faultType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏁呴殰绫诲埆绠$悊" + ], + "summary": "娣诲姞鏁呴殰绫诲埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddFaultType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/faultType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏁呴殰绫诲埆绠$悊" + ], + "summary": "鍒犻櫎鏁呴殰绫诲埆", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/faultType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏁呴殰绫诲埆绠$悊" + ], + "summary": "鑾峰彇鏁呴殰绫诲埆鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.FaultType" + } + } + } + } + ] + } + } + } + } + }, + "/api/faultType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏁呴殰绫诲埆绠$悊" + ], + "summary": "鏇存柊鏁呴殰绫诲埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateFaultType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/file/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "娣诲姞闄勪欢", + "parameters": [ + { + "type": "integer", + "description": "鏉ユ簮id", + "name": "sourceId", + "in": "formData", + "required": true + }, + { + "type": "string", + "description": "闄勪欢鏉ユ簮", + "name": "sourceType", + "in": "formData", + "required": true + }, + { + "type": "file", + "description": "涓婁紶鏂囦欢", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/file/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "鍒犻櫎闄勪欢", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/file/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "鑾峰彇闄勪欢鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "FileKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "FileQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.File" + } + } + } + } + ] + } + } + } + } + }, + "/api/file/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "鏇存柊闄勪欢", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateFile" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/followRecord/add": { "post": { "produces": [ @@ -2108,7 +2733,7 @@ "tags": [ "FollowRecord" ], - "summary": "璺熻繘璁板綍鍒楄〃", + "summary": "鍥炶璁板綍鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -2984,6 +3609,169 @@ } } }, + "/api/paymentType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "娣诲姞鏀粯鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddPaymentType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/paymentType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鍒犻櫎鏀粯鏂瑰紡", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/paymentType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鑾峰彇鏀粯鏂瑰紡鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "PaymentTypeKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "PaymentTypeQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.PaymentType" + } + } + } + } + ] + } + } + } + } + }, + "/api/paymentType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鏇存柊鏀粯鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdatePaymentType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/plan/add": { "post": { "produces": [ @@ -3220,6 +4008,128 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdatePossibilities" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "娣诲姞浼樺厛绾у埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddPriorityLevel" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鍒犻櫎浼樺厛绾у埆", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鑾峰彇浼樺厛绾у埆鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.PriorityLevel" + } + } + } + } + ] + } + } + } + } + }, + "/api/priorityLevel/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鏇存柊浼樺厛绾у埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdatePriorityLevel" } } ], @@ -3627,6 +4537,169 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotationStatuss" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "娣诲姞鏀舵鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddReceipt" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鍒犻櫎鏀舵鍗�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鑾峰彇鏀舵鍗曞垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ReceiptKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ReceiptQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Receipt" + } + } + } + } + ] + } + } + } + } + }, + "/api/receipt/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鏇存柊鏀舵鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateReceipt" } } ], @@ -5626,6 +6699,136 @@ } } }, + "/api/serviceCollectionPlan/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "娣诲姞鏀舵璁″垝", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceCollectionPlan" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceCollectionPlan/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鍒犻櫎鏀舵璁″垝", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceCollectionPlan/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鑾峰彇鏀舵璁″垝鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "鏈嶅姟鍚堝悓id", + "name": "serviceContractId", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceCollectionPlan/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鏇存柊鏀舵璁″垝", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceCollectionPlan" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/serviceContract/add": { "post": { "produces": [ @@ -5685,14 +6888,25 @@ } }, "/api/serviceContract/list": { - "get": { + "post": { "produces": [ "application/json" ], "tags": [ "ServiceContract" ], - "summary": "鏈嶅姟鍚堝悓鍒楄〃", + "summary": "鐢熸垚璁″垝鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -6243,6 +7457,372 @@ } } }, + "/api/serviceOrder/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "娣诲姞鏈嶅姟鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鍒犻櫎鏈嶅姟鍗�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceOrder" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceOrder/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鏇存柊鏈嶅姟鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "娣诲姞鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鍒犻櫎鏈嶅姟鏂瑰紡", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鑾峰彇鏈嶅姟鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceType" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鏇存柊鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "娣诲姞涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSeverity" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鍒犻櫎涓ラ噸绋嬪害", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鑾峰彇涓ラ噸绋嬪害鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Severity" + } + } + } + } + ] + } + } + } + } + }, + "/api/severity/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鏇存柊涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSeverity" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/solveRate/add": { "post": { "produces": [ @@ -6586,6 +8166,128 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSubOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timeSpent/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鑺辫垂鏃堕棿绠$悊" + ], + "summary": "娣诲姞鑺辫垂鏃堕棿", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddTimeSpent" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timeSpent/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鑺辫垂鏃堕棿绠$悊" + ], + "summary": "鍒犻櫎鑺辫垂鏃堕棿", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/timeSpent/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鑺辫垂鏃堕棿绠$悊" + ], + "summary": "鑾峰彇鑺辫垂鏃堕棿鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.TimeSpent" + } + } + } + } + ] + } + } + } + } + }, + "/api/timeSpent/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鑺辫垂鏃堕棿绠$悊" + ], + "summary": "鏇存柊鑺辫垂鏃堕棿", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateTimeSpent" } } ], @@ -7033,6 +8735,111 @@ } }, "definitions": { + "constvar.BankAccountKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountKeywordCustomerName" + ] + }, + "constvar.BankAccountQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountQueryClassExpireLessThen60Days" + ] + }, + "constvar.CollectionStatus": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "CollectionStatusCollected": "宸叉敹娆�", + "CollectionStatusUnCollected": "寰呮敹娆�" + }, + "x-enum-varnames": [ + "CollectionStatusUnCollected", + "CollectionStatusCollected" + ] + }, + "constvar.FaqKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FaqKeywordCustomerName" + ] + }, + "constvar.FaqQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FaqQueryClassExpireLessThen60Days" + ] + }, + "constvar.FileKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FileKeywordCustomerName" + ] + }, + "constvar.FileQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FileQueryClassExpireLessThen60Days" + ] + }, + "constvar.PaymentTypeKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "PaymentTypeKeywordCustomerName" + ] + }, + "constvar.PaymentTypeQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "PaymentTypeQueryClassExpireLessThen60Days" + ] + }, + "constvar.ReceiptKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ReceiptKeywordCustomerName" + ] + }, + "constvar.ReceiptQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ReceiptQueryClassExpireLessThen60Days" + ] + }, "constvar.SalesStatus": { "type": "integer", "enum": [ @@ -7057,6 +8864,111 @@ "SalesStatusFail", "SalesStatusLevelUptoClient", "SalesStatusLevelUptoClientAndSalesChance" + ] + }, + "constvar.ServiceContractKeywordType": { + "type": "string", + "enum": [ + "鏈嶅姟鍚堝悓缂栧彿", + "瀹㈡埛鍚嶇О", + "绛剧害鏃ユ湡", + "鍚堝悓绫诲瀷", + "鍚堝悓鐘舵��", + "璐熻矗浜�", + "浜у搧鍚嶇О", + "鏈嶅姟寮�濮嬫棩", + "鏈嶅姟鍒版湡鏃�", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "ServiceContractKeywordContractNo", + "ServiceContractKeywordCustomerName", + "ServiceContractKeywordContractDate", + "ServiceContractKeywordContractType", + "ServiceContractKeywordContractStatus", + "ServiceContractKeywordPrincipal", + "ServiceContractKeywordProductName", + "ServiceContractKeywordServiceBeginDate", + "ServiceContractKeywordServiceEndDate", + "ServiceContractKeywordServiceTotalPrice" + ] + }, + "constvar.ServiceContractQueryClass": { + "type": "string", + "enum": [ + "30澶╁悗杩囨湡", + "60澶╁悗杩囨湡", + "宸茶繃鏈�15澶�", + "宸茶繃鏈�60澶�" + ], + "x-enum-varnames": [ + "ServiceContractQueryClassExpireAfter30Day", + "ServiceContractQueryClassExpireAfter60Day", + "ServiceContractQueryClassExpiredBefore15Day", + "ServiceContractQueryClassExpiredBefore60Day" + ] + }, + "constvar.ServiceFeeKeywordType": { + "type": "string", + "enum": [ + "瀹㈡埛鍚嶇О", + "瀹㈡埛绫诲瀷", + "閿�鍞礋璐d汉", + "瀹㈡埛瑙勬ā", + "閲嶈绾у埆", + "瀹㈡埛缂栧彿", + "瀹㈡埛鐘舵��", + "浜у搧鍚嶇О", + "鏈嶅姟鍒版湡鏃�" + ], + "x-enum-varnames": [ + "ServiceFeeKeywordCustomerName", + "ServiceFeeKeywordCustomerType", + "ServiceFeeKeywordSalesPrincipal", + "ServiceFeeKeywordCustomerScale", + "ServiceFeeKeywordClientLevel", + "ServiceFeeKeywordCustomerNo", + "ServiceFeeKeywordCustomerStatus", + "ServiceFeeKeywordProductName", + "ServiceFeeKeywordServiceEndDate" + ] + }, + "constvar.ServiceFeeQueryClass": { + "type": "string", + "enum": [ + "杩囨湡鏈弧60澶�", + "杩囨湡鏈弧30澶�", + "鍗冲皢杩囨湡60澶�", + "鍗冲皢杩囨湡30澶�", + "宸茶繃鏈�", + "鏃犳湇鍔�" + ], + "x-enum-varnames": [ + "ServiceFeeQueryClassExpireLessThen60Days", + "ServiceFeeQueryClassExpireLessThen30Days", + "ServiceFeeQueryClassExpireAboutTo60Day", + "ServiceFeeQueryClassExpireAboutTo30Day", + "ServiceFeeQueryClassExpired", + "ServiceFeeQueryClassNoService" + ] + }, + "constvar.ServiceFollowupKeywordType": { + "type": "string", + "enum": [ + "鍥炶鍗曠紪鍙�", + "瀹㈡埛鍚嶇О", + "鑱旂郴浜哄鍚�", + "瀹㈡埛鏈嶅姟鍗�", + "鍥炶浜�", + "婊℃剰搴�" + ], + "x-enum-varnames": [ + "ServiceFollowupKeywordFollowupNo", + "ServiceFollowupKeywordCustomerName", + "ServiceFollowupKeywordContactName", + "ServiceFollowupKeywordCustomerServiceNo", + "ServiceFollowupKeywordVisitor", + "ServiceFollowupKeywordSatisfactionDegree" ] }, "constvar.UserType": { @@ -7120,6 +9032,17 @@ "items": { "$ref": "#/definitions/model.Menu" } + } + } + }, + "model.BankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -7564,6 +9487,86 @@ } } }, + "model.Faq": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.FaultType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.File": { + "type": "object", + "properties": { + "bucket": { + "description": "瀵硅薄瀛樺偍bucket", + "type": "string" + }, + "content": { + "description": "鏂囦欢鍐呭", + "type": "string" + }, + "createTime": { + "description": "鍒涘缓鏃堕棿", + "type": "string" + }, + "downloadCount": { + "description": "涓嬫娆℃暟", + "type": "integer" + }, + "filePath": { + "description": "鏂囦欢璺緞", + "type": "string" + }, + "fileType": { + "description": "鏂囦欢绫诲瀷", + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "description": "瀵硅薄瀛樺偍key", + "type": "string" + }, + "name": { + "type": "string" + }, + "previewCount": { + "description": "棰勮娆℃暟", + "type": "integer" + }, + "size": { + "description": "鏂囦欢澶у皬", + "type": "integer" + }, + "sourceId": { + "description": "鏉ユ簮id", + "type": "integer" + }, + "sourceType": { + "description": "闄勪欢鏉ユ簮", + "type": "string" + }, + "updateTime": { + "type": "string" + } + } + }, "model.FollowRecord": { "type": "object", "properties": { @@ -7758,6 +9761,17 @@ } } }, + "model.PaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Plan": { "type": "object", "properties": { @@ -7800,6 +9814,17 @@ } }, "model.Possibility": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.PriorityLevel": { "type": "object", "properties": { "id": { @@ -7905,6 +9930,54 @@ }, "name": { "type": "string" + } + } + }, + "model.Receipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -8360,6 +10433,66 @@ } } }, + "model.ServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "collectionDate": { + "description": "璁″垝鏀舵鏃ユ湡", + "type": "string" + }, + "collectionType": { + "description": "绫诲瀷锛�1 璁″垝鏀舵鏃ユ湡 2 椤圭洰鐘舵�侊級", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "percent": { + "description": "姣斾緥", + "type": "number" + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "type": "integer" + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "model.ServiceContract": { "type": "object", "properties": { @@ -8509,11 +10642,180 @@ "serviceId": { "type": "integer" }, + "serviceOrder": { + "$ref": "#/definitions/model.ServiceOrder" + }, "solveRateId": { "type": "integer" }, "timelyRateId": { "type": "integer" + } + } + }, + "model.ServiceOrder": { + "type": "object", + "properties": { + "address": { + "description": "涓婇棬鍦板潃", + "type": "string" + }, + "appointmentTime": { + "description": "棰勭害涓婇棬鏃堕棿", + "type": "string" + }, + "carFare": { + "description": "浜ら�氳垂", + "type": "number" + }, + "chargeAmount": { + "description": "鏀惰垂閲戦", + "type": "number" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" + }, + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, + "contract": { + "$ref": "#/definitions/model.Contract" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faq": { + "$ref": "#/definitions/model.Faq" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultType": { + "$ref": "#/definitions/model.FaultType" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "orderManage": { + "$ref": "#/definitions/model.OrderManage" + }, + "priorityLevel": { + "$ref": "#/definitions/model.PriorityLevel" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "product": { + "$ref": "#/definitions/model.Product" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChance": { + "$ref": "#/definitions/model.SaleChance" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceType": { + "$ref": "#/definitions/model.ServiceType" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "$ref": "#/definitions/model.Severity" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpent": { + "$ref": "#/definitions/model.TimeSpent" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "model.ServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Severity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8565,6 +10867,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "model.TimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8653,6 +10966,17 @@ "items": { "$ref": "#/definitions/request.CasbinInfo" } + } + } + }, + "request.AddBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8959,6 +11283,28 @@ } } }, + "request.AddFaq": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddFaultType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddFollowRecord": { "type": "object", "required": [ @@ -9069,6 +11415,17 @@ } } }, + "request.AddPaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddPlan": { "type": "object", "properties": { @@ -9083,6 +11440,17 @@ "name" ], "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddPriorityLevel": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9137,6 +11505,54 @@ "properties": { "name": { "type": "string" + } + } + }, + "request.AddReceipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -9436,6 +11852,20 @@ } } }, + "request.AddServiceCollectionPlan": { + "type": "object", + "required": [ + "list" + ], + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + }, "request.AddServiceContract": { "type": "object", "properties": { @@ -9660,6 +12090,137 @@ } } }, + "request.AddServiceOrder": { + "type": "object", + "properties": { + "address": { + "description": "涓婇棬鍦板潃", + "type": "string" + }, + "appointmentTime": { + "description": "棰勭害涓婇棬鏃堕棿", + "type": "string" + }, + "carFare": { + "description": "浜ら�氳垂", + "type": "number" + }, + "chargeAmount": { + "description": "鏀惰垂閲戦", + "type": "number" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.AddServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddSolveRate": { "type": "object", "required": [ @@ -9705,6 +12266,17 @@ } } }, + "request.AddTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddTimelyRate": { "type": "object", "required": [ @@ -9740,6 +12312,20 @@ }, "vettingType": { "type": "integer" + } + } + }, + "request.Assign": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "member_id": { + "type": "integer" + }, + "type": { + "type": "string" } } }, @@ -9864,6 +12450,17 @@ } } }, + "request.DeleteClient": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteCountry": { "type": "object", "properties": { @@ -9974,6 +12571,28 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.GetFaqList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.FaqKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.FaqQueryClass" } } }, @@ -10137,11 +12756,14 @@ } } }, - "request.GetServiceFeeManageList": { + "request.GetServiceContractList": { "type": "object", "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceContractKeywordType" }, "page": { "description": "椤电爜", @@ -10150,6 +12772,31 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceContractQueryClass" + } + } + }, + "request.GetServiceFeeManageList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFeeKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, @@ -10158,6 +12805,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "椤电爜", @@ -10515,6 +13165,17 @@ "items": { "$ref": "#/definitions/request.UpdateAccountId" } + } + } + }, + "request.UpdateBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -10996,6 +13657,86 @@ } } }, + "request.UpdateFaq": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateFaultType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateFile": { + "type": "object", + "properties": { + "bucket": { + "description": "瀵硅薄瀛樺偍bucket", + "type": "string" + }, + "content": { + "description": "鏂囦欢鍐呭", + "type": "string" + }, + "createTime": { + "description": "鍒涘缓鏃堕棿", + "type": "string" + }, + "downloadCount": { + "description": "涓嬫娆℃暟", + "type": "integer" + }, + "filePath": { + "description": "鏂囦欢璺緞", + "type": "string" + }, + "fileType": { + "description": "鏂囦欢绫诲瀷", + "type": "string" + }, + "id": { + "type": "integer" + }, + "key": { + "description": "瀵硅薄瀛樺偍key", + "type": "string" + }, + "name": { + "type": "string" + }, + "previewCount": { + "description": "棰勮娆℃暟", + "type": "integer" + }, + "size": { + "description": "鏂囦欢澶у皬", + "type": "integer" + }, + "sourceId": { + "description": "鏉ユ簮id", + "type": "integer" + }, + "sourceType": { + "description": "闄勪欢鏉ユ簮", + "type": "string" + }, + "updateTime": { + "type": "string" + } + } + }, "request.UpdateFollowRecord": { "type": "object", "required": [ @@ -11187,6 +13928,17 @@ } } }, + "request.UpdatePaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdatePlan": { "type": "object", "properties": { @@ -11218,6 +13970,17 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdatePriorityLevel": { + "type": "object", "properties": { "id": { "type": "integer" @@ -11313,6 +14076,54 @@ "items": { "$ref": "#/definitions/request.UpdateQuotationStatus" } + } + } + }, + "request.UpdateReceipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -11820,6 +14631,66 @@ } } }, + "request.UpdateServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "collectionDate": { + "description": "璁″垝鏀舵鏃ユ湡", + "type": "string" + }, + "collectionType": { + "description": "绫诲瀷锛�1 璁″垝鏀舵鏃ユ湡 2 椤圭洰鐘舵�侊級", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "percent": { + "description": "姣斾緥", + "type": "number" + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "type": "integer" + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "request.UpdateServiceContract": { "type": "object", "properties": { @@ -12087,6 +14958,140 @@ } } }, + "request.UpdateServiceOrder": { + "type": "object", + "properties": { + "address": { + "description": "涓婇棬鍦板潃", + "type": "string" + }, + "appointmentTime": { + "description": "棰勭害涓婇棬鏃堕棿", + "type": "string" + }, + "carFare": { + "description": "浜ら�氳垂", + "type": "number" + }, + "chargeAmount": { + "description": "鏀惰垂閲戦", + "type": "number" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.UpdateServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateSolveRate": { "type": "object", "required": [ @@ -12168,6 +15173,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "request.UpdateTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12675,6 +15691,21 @@ } } }, + "response.ListResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, "response.LoginResponse": { "type": "object", "properties": { @@ -13020,6 +16051,9 @@ "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0