From 58c8f42464f85bdce1c6ef683b92ccd25d74c6d2 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 30 八月 2023 10:20:10 +0800 Subject: [PATCH] fix --- docs/docs.go | 6465 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 6,267 insertions(+), 198 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 73dae90..a47945d 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,37 @@ } } }, - "/api/client/delete/{id}": { + "/api/client/checkName": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Client" + ], + "summary": "妫�鏌ュ鎴峰悕绉版槸鍚﹂噸澶�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CheckClientName" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/client/delete": { "delete": { "produces": [ "application/json" @@ -482,11 +705,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": { @@ -1047,6 +1272,127 @@ } } }, + "/api/collectionProjection/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "娣诲姞鏀舵棰勬祴", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddCollectionProjection" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/collectionProjection/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鍒犻櫎鏀舵棰勬祴", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/collectionProjection/list": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鑾峰彇鏀舵棰勬祴鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/collectionProjection/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "CollectionProjection" + ], + "summary": "鏇存柊鏀舵棰勬祴", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateCollectionProjection" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/contact/add": { "post": { "produces": [ @@ -1077,7 +1423,7 @@ } } }, - "/api/contact/delete/{id}": { + "/api/contact/delete": { "delete": { "produces": [ "application/json" @@ -1088,11 +1434,13 @@ "summary": "鍒犻櫎鑱旂郴浜�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteContact" + } } ], "responses": { @@ -1177,6 +1525,37 @@ } } }, + "/api/contactInformation/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "ContactInformation" + ], + "summary": "鑱旂郴鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.ContactInformationResponse" + } + } + } + ] + } + } + } + } + }, "/api/contract/add": { "post": { "produces": [ @@ -1207,7 +1586,7 @@ } } }, - "/api/contract/delete/{id}": { + "/api/contract/delete": { "delete": { "produces": [ "application/json" @@ -1218,11 +1597,13 @@ "summary": "鍒犻櫎鍚堝悓", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteContract" + } } ], "responses": { @@ -1415,6 +1796,169 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateCountry" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/courierCompany/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鐗╂祦鍏徃" + ], + "summary": "娣诲姞鐗╂祦鍏徃", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddCourierCompany" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/courierCompany/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/courierCompany/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鐗╂祦鍏徃" + ], + "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "CourierCompanyKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "CourierCompanyQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.CourierCompany" + } + } + } + } + ] + } + } + } + } + }, + "/api/courierCompany/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鐗╂祦鍏徃" + ], + "summary": "鏇存柊鐗╂祦鍏徃", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateCourierCompany" } } ], @@ -2042,6 +2586,391 @@ } } }, + "/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/download": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "闄勪欢涓嬭浇", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DownloadFile" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/file/preview": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "闄勪欢棰勮", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DownloadFile" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/followRecord/add": { "post": { "produces": [ @@ -2072,7 +3001,7 @@ } } }, - "/api/followRecord/delete/{id}": { + "/api/followRecord/delete": { "delete": { "produces": [ "application/json" @@ -2083,11 +3012,13 @@ "summary": "鍒犻櫎璺熻繘璁板綍", "parameters": [ { - "type": "string", - "description": "璺熻繘璁板綍id", - "name": "id", - "in": "path", - "required": true + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteFollowRecord" + } } ], "responses": { @@ -2108,7 +3039,7 @@ "tags": [ "FollowRecord" ], - "summary": "璺熻繘璁板綍鍒楄〃", + "summary": "鍥炶璁板綍鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -2309,6 +3240,495 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateIndustries" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoice/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞彂绁�" + ], + "summary": "娣诲姞閿�鍞彂绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddInvoice" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoice/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/invoice/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞彂绁�" + ], + "summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Invoice" + } + } + } + } + ] + } + } + } + } + }, + "/api/invoice/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞彂绁�" + ], + "summary": "鏇存柊閿�鍞彂绁�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateInvoice" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoiceStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ鐘舵��" + ], + "summary": "娣诲姞鍙戠エ鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddInvoiceStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoiceStatus/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/invoiceStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ鐘舵��" + ], + "summary": "鑾峰彇鍙戠エ鐘舵�佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.InvoiceStatus" + } + } + } + } + ] + } + } + } + } + }, + "/api/invoiceStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ鐘舵��" + ], + "summary": "鏇存柊鍙戠エ鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateInvoiceStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoiceType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ绫诲瀷" + ], + "summary": "娣诲姞鍙戠エ绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddInvoiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/invoiceType/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/invoiceType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ绫诲瀷" + ], + "summary": "鑾峰彇鍙戠エ绫诲瀷鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceTypeKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "InvoiceTypeQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.InvoiceType" + } + } + } + } + ] + } + } + } + } + }, + "/api/invoiceType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鍙戠エ绫诲瀷" + ], + "summary": "鏇存柊鍙戠エ绫诲瀷", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateInvoiceType" } } ], @@ -2590,7 +4010,7 @@ } } }, - "/api/masterOrder/delete/{id}": { + "/api/masterOrder/delete": { "delete": { "produces": [ "application/json" @@ -2601,11 +4021,13 @@ "summary": "鍒犻櫎涓昏鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteMasterOrder" + } } ], "responses": { @@ -2765,7 +4187,7 @@ } } }, - "/api/orderManage/delete/{id}": { + "/api/orderManage/delete": { "delete": { "produces": [ "application/json" @@ -2776,11 +4198,13 @@ "summary": "鍒犻櫎宸ュ崟", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteOrderManage" + } } ], "responses": { @@ -2971,6 +4395,169 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateOrderTypes" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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" } } ], @@ -3233,6 +4820,228 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/product/info": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浜у搧" + ], + "summary": "鑾峰彇浜у搧璇︽儏", + "parameters": [ + { + "type": "string", + "description": "鍙傛暟", + "name": "productNumber", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/product.Product" + } + } + } + ] + } + } + } + } + }, + "/api/product/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浜у搧" + ], + "summary": "鑾峰彇浜у搧鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "description": "浜у搧鍚嶇О", + "name": "productName", + "in": "query" + }, + { + "type": "string", + "description": "浜у搧缂栫爜", + "name": "productNumber", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/product.Product" + } + } + } + } + ] + } + } + } + } + }, "/api/province/add": { "post": { "produces": [ @@ -3421,7 +5230,7 @@ } } }, - "/api/quotation/delete/{id}": { + "/api/quotation/delete": { "delete": { "produces": [ "application/json" @@ -3432,11 +5241,13 @@ "summary": "鍒犻櫎鎶ヤ环鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteQuotation" + } } ], "responses": { @@ -3627,6 +5438,173 @@ "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": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "type": "integer", + "name": "sourceId", + "in": "query" + }, + { + "enum": [ + 1, + 2, + 3, + 4, + 5 + ], + "type": "integer", + "x-enum-comments": { + "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t", + "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝", + "ReceiptSourceTypeInvoice": "閿�鍞彂绁�", + "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟", + "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "ReceiptSourceTypeSalesDetails", + "ReceiptSourceTypeServiceContract", + "ReceiptSourceTypeInvoice", + "ReceiptSourceTypeCollectionPlan", + "ReceiptSourceTypeChuKuDan" + ], + "name": "sourceType", + "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" } } ], @@ -4411,7 +6389,7 @@ } } }, - "/api/saleChance/delete/{id}": { + "/api/saleChance/delete": { "delete": { "produces": [ "application/json" @@ -4422,11 +6400,13 @@ "summary": "鍒犻櫎閿�鍞満浼�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSaleChance" + } } ], "responses": { @@ -4476,6 +6456,36 @@ } } ] + } + } + } + } + }, + "/api/saleChance/push": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "SaleChance" + ], + "summary": "鎺ㄨ繘閿�鍞満浼�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PushSaleChance" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" } } } @@ -4773,6 +6783,48 @@ "200": { "description": "OK", "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/request.AddSalesDetails" + } + } + } + ] + } + } + } + } + }, + "/api/salesDetails/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails 閿�鍞槑缁�" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞槑缁�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { "$ref": "#/definitions/contextx.Response" } } @@ -4909,7 +6961,7 @@ } } }, - "/api/salesLeads/delete/{id}": { + "/api/salesLeads/delete": { "delete": { "produces": [ "application/json" @@ -4920,11 +6972,13 @@ "summary": "鍒犻櫎閿�鍞嚎绱�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSalesLeads" + } } ], "responses": { @@ -4979,6 +7033,36 @@ } } }, + "/api/salesLeads/push": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesLeads" + ], + "summary": "鎺ㄨ繘閿�鍞嚎绱�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.PushSalesLeads" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesLeads/update": { "put": { "produces": [ @@ -5015,7 +7099,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "娣诲姞閿�鍞��娆�", "parameters": [ @@ -5039,13 +7123,43 @@ } } }, + "/api/salesRefund/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞��娆惧崟" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞��娆惧崟", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesRefund/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鍒犻櫎閿�鍞��娆�", "parameters": [ @@ -5073,7 +7187,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "閿�鍞��娆惧崟鍒楄〃", "parameters": [ @@ -5115,7 +7229,7 @@ "application/json" ], "tags": [ - "SalesRefund" + "閿�鍞��娆惧崟" ], "summary": "鏇存柊閿�鍞��娆�", "parameters": [ @@ -5145,7 +7259,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "娣诲姞閿�鍞��璐�", "parameters": [ @@ -5169,13 +7283,43 @@ } } }, + "/api/salesReturn/delete": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閿�鍞��璐у崟" + ], + "summary": "鎵归噺鍒犻櫎閿�鍞��璐у崟", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/salesReturn/delete/{id}": { "delete": { "produces": [ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "鍒犻櫎閿�鍞��璐�", "parameters": [ @@ -5203,7 +7347,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "閿�鍞��璐у崟鍒楄〃", "parameters": [ @@ -5245,7 +7389,7 @@ "application/json" ], "tags": [ - "SalesReturn" + "閿�鍞��璐у崟" ], "summary": "鏇存柊閿�鍞��璐�", "parameters": [ @@ -5626,6 +7770,154 @@ } } }, + "/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", + "name": "sourceId", + "in": "query", + "required": true + }, + { + "enum": [ + 1, + 2 + ], + "type": "integer", + "x-enum-comments": { + "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", + "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "CollectionSourceTypeSaleDetails", + "CollectionSourceTypeServiceContract" + ], + "name": "sourceType", + "in": "query", + "required": true + } + ], + "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": [ @@ -5656,7 +7948,7 @@ } } }, - "/api/serviceContract/delete/{id}": { + "/api/serviceContract/delete": { "delete": { "produces": [ "application/json" @@ -5664,14 +7956,16 @@ "tags": [ "ServiceContract" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓", + "summary": "鎵归噺鍒犻櫎鏈嶅姟鍚堝悓", "parameters": [ { - "type": "integer", - "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } } ], "responses": { @@ -5685,7 +7979,7 @@ } }, "/api/serviceContract/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -5693,6 +7987,17 @@ "ServiceContract" ], "summary": "鏈嶅姟鍚堝悓鍒楄〃", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceContractList" + } + } + ], "responses": { "200": { "description": "OK", @@ -5751,9 +8056,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "娣诲姞鏈嶅姟鍚堝悓鐘舵��", + "summary": "娣诲姞鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -5781,9 +8086,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鍒犻櫎鏈嶅姟鍚堝悓鐘舵��", + "summary": "鍒犻櫎鍚堝悓鐘舵��", "parameters": [ { "type": "integer", @@ -5809,22 +8114,66 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鑾峰彇鏈嶅姟鍚堝悓鐘舵�佸垪琛�", + "summary": "鑾峰彇鍚堝悓鐘舵�佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { "allOf": [ { - "$ref": "#/definitions/contextx.Response" + "$ref": "#/definitions/response.ListResponse" }, { "type": "object", "properties": { "data": { - "$ref": "#/definitions/response.ServiceContractStatusResponse" + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceContractStatus" + } } } } @@ -5840,9 +8189,9 @@ "application/json" ], "tags": [ - "ServiceContractStatus" + "鍚堝悓鐘舵��" ], - "summary": "鏇存柊鏈嶅姟鍚堝悓鐘舵��", + "summary": "鏇存柊鍚堝悓鐘舵��", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -5850,7 +8199,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.UpdateServiceContractStatuss" + "$ref": "#/definitions/request.UpdateServiceContractStatus" } } ], @@ -6013,7 +8362,7 @@ } } }, - "/api/serviceFeeManage/delete/{id}": { + "/api/serviceFeeManage/delete": { "delete": { "produces": [ "application/json" @@ -6024,11 +8373,13 @@ "summary": "鍒犻櫎鏈嶅姟璐圭鐞�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteServiceFeeManage" + } } ], "responses": { @@ -6143,7 +8494,7 @@ } } }, - "/api/serviceFollowup/delete/{id}": { + "/api/serviceFollowup/delete": { "delete": { "produces": [ "application/json" @@ -6154,11 +8505,13 @@ "summary": "鍒犻櫎鏈嶅姟璺熻繘", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteServiceFollowup" + } } ], "responses": { @@ -6230,6 +8583,576 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateServiceFollowup" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/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": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗�" + ], + "summary": "鎵归噺鍒犻櫎鏈嶅姟鍗�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.CommonIds" + } + } + ], + "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": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceOrderList" + } + } + ], + "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/serviceOrderStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠姸鎬�" + ], + "summary": "娣诲姞鏈嶅姟鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceOrderStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrderStatus/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/serviceOrderStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠姸鎬�" + ], + "summary": "鑾峰彇鏈嶅姟鍗曠姸鎬佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceOrderStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ServiceOrderStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceOrderStatus" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceOrderStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠姸鎬�" + ], + "summary": "鏇存柊鏈嶅姟鍗曠姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceOrderStatus" + } + } + ], + "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" } } ], @@ -6499,7 +9422,7 @@ } } }, - "/api/subOrder/delete/{id}": { + "/api/subOrder/delete": { "delete": { "produces": [ "application/json" @@ -6510,11 +9433,13 @@ "summary": "鍒犻櫎瀛愯鍗�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSubOrder" + } } ], "responses": { @@ -6586,6 +9511,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" } } ], @@ -7030,33 +10077,650 @@ } } } + }, + "/api/wechatOrderStatus/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "寰俊璁㈠崟鐘舵��" + ], + "summary": "娣诲姞寰俊璁㈠崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddWechatOrderStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/wechatOrderStatus/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/wechatOrderStatus/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "寰俊璁㈠崟鐘舵��" + ], + "summary": "鑾峰彇寰俊璁㈠崟鐘舵�佸垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "WechatOrderStatusKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "WechatOrderStatusQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.WechatOrderStatus" + } + } + } + } + ] + } + } + } + } + }, + "/api/wechatOrderStatus/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "寰俊璁㈠崟鐘舵��" + ], + "summary": "鏇存柊寰俊璁㈠崟鐘舵��", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateWechatOrderStatus" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { - "constvar.SalesStatus": { + "constvar.BankAccountKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountKeywordCustomerName" + ] + }, + "constvar.BankAccountQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountQueryClassExpireLessThen60Days" + ] + }, + "constvar.CollectionSourceType": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", + "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "CollectionSourceTypeSaleDetails", + "CollectionSourceTypeServiceContract" + ] + }, + "constvar.CollectionStatus": { + "type": "integer", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-comments": { + "CollectionStatusCollected": "宸叉敹娆�", + "CollectionStatusSubCollected": "閮ㄥ垎鏀舵", + "CollectionStatusUnCollected": "寰呮敹娆�" + }, + "x-enum-varnames": [ + "CollectionStatusUnCollected", + "CollectionStatusSubCollected", + "CollectionStatusCollected" + ] + }, + "constvar.CourierCompanyKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "CourierCompanyKeywordCustomerName" + ] + }, + "constvar.CourierCompanyQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "CourierCompanyQueryClassExpireLessThen60Days" + ] + }, + "constvar.FaqKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FaqKeywordCustomerName" + ] + }, + "constvar.FaqQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "FaqQueryClassExpireLessThen60Days" + ] + }, + "constvar.InvoiceKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceKeywordCustomerName" + ] + }, + "constvar.InvoiceQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceQueryClassExpireLessThen60Days" + ] + }, + "constvar.InvoiceSourceType": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-varnames": [ + "InvoiceSourceTypeSaleDetail", + "InvoiceSourceTypeServiceContract" + ] + }, + "constvar.InvoiceStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceStatusKeywordCustomerName" + ] + }, + "constvar.InvoiceStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceStatusQueryClassExpireLessThen60Days" + ] + }, + "constvar.InvoiceTypeKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceTypeKeywordCustomerName" + ] + }, + "constvar.InvoiceTypeQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "InvoiceTypeQueryClassExpireLessThen60Days" + ] + }, + "constvar.PaymentTypeKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "PaymentTypeKeywordCustomerName" + ] + }, + "constvar.PaymentTypeQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "PaymentTypeQueryClassExpireLessThen60Days" + ] + }, + "constvar.ReceiptSourceType": { "type": "integer", "enum": [ 1, 2, 3, 4, - 5, - 6 + 5 + ], + "x-enum-comments": { + "ReceiptSourceTypeChuKuDan": "鍑哄簱鍗昳t", + "ReceiptSourceTypeCollectionPlan": "鏀舵璁″垝", + "ReceiptSourceTypeInvoice": "閿�鍞彂绁�", + "ReceiptSourceTypeSalesDetails": "閿�鍞槑缁嗗崟", + "ReceiptSourceTypeServiceContract": "鏈嶅姟鍚堝悓" + }, + "x-enum-varnames": [ + "ReceiptSourceTypeSalesDetails", + "ReceiptSourceTypeServiceContract", + "ReceiptSourceTypeInvoice", + "ReceiptSourceTypeCollectionPlan", + "ReceiptSourceTypeChuKuDan" + ] + }, + "constvar.RefundSourceType": { + "type": "integer", + "enum": [ + 1 + ], + "x-enum-comments": { + "RefundSourceTypeSalesReturn": "閿�鍞��璐�" + }, + "x-enum-varnames": [ + "RefundSourceTypeSalesReturn" + ] + }, + "constvar.SalesDetailsKeywordType": { + "type": "string", + "enum": [ + "瀹㈡埛鍚嶇О", + "璁㈠崟缂栧彿", + "绛剧害鏃ユ湡", + "閿�鍞礋璐d汉", + "浜у搧鍚嶇О" + ], + "x-enum-varnames": [ + "SalesDetailsKeywordTypeCustomerName", + "SalesDetailsKeywordTypeOrderNumber", + "SalesDetailsKeywordTypeSignTime", + "SalesDetailsKeywordTypePrincipal", + "SalesDetailsKeywordTypeProductName" + ] + }, + "constvar.SalesRefundKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "璐︽埛", + "鏄惁寮�绁�", + "浠樻鏂瑰紡", + "閿�鍞礋璐d汉", + "淇敼鏃堕棿", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "SalesRefundKeywordRefundNumber", + "SalesRefundKeywordClientName", + "SalesRefundKeywordRefundDate", + "SalesRefundKeywordAccount", + "SalesRefundKeywordIsInvoice", + "SalesRefundKeywordPaymentType", + "SalesRefundKeywordPrincipal", + "SalesRefundKeywordUpdateAt", + "SalesRefundKeywordPriceTotal" + ] + }, + "constvar.SalesReturnKeywordType": { + "type": "string", + "enum": [ + "閿�鍞��璐у崟缂栧彿", + "瀹㈡埛鍚嶇О", + "閫�娆炬棩鏈�", + "鐘舵��", + "閫�鍏ヤ粨搴�", + "搴旈��娆�", + "宸查��娆�", + "閿�鍞礋璐d汉" + ], + "x-enum-varnames": [ + "SalesReturnKeywordReturnNumber", + "SalesReturnKeywordClientName", + "SalesReturnKeywordReturnDate", + "SalesReturnKeywordStatus", + "SalesReturnKeywordRepository", + "SalesReturnKeywordAmountShouldRefund", + "SalesReturnKeywordAmountHasRefund", + "SalesReturnKeywordPrincipal" + ] + }, + "constvar.SalesReturnSourceType": { + "type": "integer", + "enum": [ + 1 + ], + "x-enum-comments": { + "SalesReturnSourceTypeSaleDetails": "閿�鍞槑缁�" + }, + "x-enum-varnames": [ + "SalesReturnSourceTypeSaleDetails" + ] + }, + "constvar.SalesStatus": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3, + -1 ], "x-enum-comments": { "SalesStatusFail": "澶辫触", "SalesStatusIng": "杩涜涓�", "SalesStatusLevelUptoClient": "鍗囩骇涓哄鎴�", "SalesStatusLevelUptoClientAndSalesChance": "鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�", - "SalesStatusSuccess": "鎴愬姛" + "SalesStatusNew": "鏂板缓" }, "x-enum-varnames": [ "SalesStatusNew", "SalesStatusIng", - "SalesStatusSuccess", - "SalesStatusFail", "SalesStatusLevelUptoClient", - "SalesStatusLevelUptoClientAndSalesChance" + "SalesStatusLevelUptoClientAndSalesChance", + "SalesStatusFail" + ] + }, + "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.ServiceContractStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusKeywordCustomerName" + ] + }, + "constvar.ServiceContractStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceContractStatusQueryClassExpireLessThen60Days" + ] + }, + "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.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.ServiceOrderStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceOrderStatusKeywordCustomerName" + ] + }, + "constvar.ServiceOrderStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ServiceOrderStatusQueryClassExpireLessThen60Days" ] }, "constvar.UserType": { @@ -7075,6 +10739,24 @@ "UserTypeSuper", "UserTypePrimary", "UserTypeSub" + ] + }, + "constvar.WechatOrderStatusKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "WechatOrderStatusKeywordCustomerName" + ] + }, + "constvar.WechatOrderStatusQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "WechatOrderStatusQueryClassExpireLessThen60Days" ] }, "contextx.Response": { @@ -7123,6 +10805,17 @@ } } }, + "model.BankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.City": { "type": "object", "properties": { @@ -7143,6 +10836,10 @@ "model.Client": { "type": "object", "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, "business_scope": { "type": "string" }, @@ -7188,6 +10885,13 @@ "country_id": { "type": "integer" }, + "created_at": { + "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "creator_id": { + "type": "integer" + }, "detail_address": { "type": "string" }, @@ -7210,6 +10914,7 @@ } }, "id": { + "description": "The ID of the item\nexample: 1", "type": "integer" }, "industry": { @@ -7220,6 +10925,9 @@ }, "latest_service_time": { "type": "string" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7262,6 +10970,10 @@ }, "service_member_id": { "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" } } }, @@ -7309,6 +11021,42 @@ } } }, + "model.CollectionProjection": { + "type": "object", + "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "created_at": { + "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "creator": { + "type": "integer" + }, + "estimated_collection_amount": { + "type": "number" + }, + "estimated_collection_date": { + "type": "string" + }, + "id": { + "description": "The ID of the item\nexample: 1", + "type": "integer" + }, + "modifier": { + "type": "integer" + }, + "sale_chance_id": { + "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" + } + } + }, "model.Contact": { "type": "object", "properties": { @@ -7341,6 +11089,9 @@ }, "is_first": { "type": "boolean" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7416,6 +11167,9 @@ "is_first": { "type": "boolean" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -7448,17 +11202,43 @@ } } }, + "model.ContactInformation": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Contract": { "type": "object", "properties": { + "_": { + "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", + "type": "string" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "created_at": { + "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", + "type": "string" }, "file": { "type": "string" }, "id": { + "description": "The ID of the item\nexample: 1", "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -7472,8 +11252,15 @@ "quotationId": { "type": "integer" }, + "serviceContractStatus": { + "$ref": "#/definitions/model.ServiceContractStatus" + }, "statusId": { "type": "integer" + }, + "updated_at": { + "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", + "type": "string" } } }, @@ -7494,7 +11281,7 @@ } } }, - "model.Currency": { + "model.CourierCompany": { "type": "object", "properties": { "id": { @@ -7505,29 +11292,14 @@ } } }, - "model.CustomerServiceSheet": { + "model.Currency": { "type": "object", "properties": { - "handleStatus": { - "type": "integer" - }, "id": { "type": "integer" }, - "memberId": { - "type": "integer" - }, - "number": { + "name": { "type": "string" - }, - "priority": { - "type": "integer" - }, - "serviceFollowupId": { - "type": "integer" - }, - "serviceMode": { - "type": "integer" } } }, @@ -7564,6 +11336,28 @@ } } }, + "model.Faq": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.FaultType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.FollowRecord": { "type": "object", "properties": { @@ -7573,6 +11367,9 @@ "client_id": { "type": "integer" }, + "client_status": { + "$ref": "#/definitions/model.ClientStatus" + }, "client_status_id": { "type": "integer" }, @@ -7581,6 +11378,9 @@ }, "contact_id": { "type": "integer" + }, + "contact_information": { + "$ref": "#/definitions/model.ContactInformation" }, "contact_information_id": { "type": "integer" @@ -7593,6 +11393,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7609,8 +11412,14 @@ "record": { "type": "string" }, + "sale_chance": { + "$ref": "#/definitions/model.SaleChance" + }, "sale_chance_id": { "type": "integer" + }, + "sales_leads": { + "$ref": "#/definitions/model.SalesLeads" }, "sales_leads_id": { "type": "integer" @@ -7621,6 +11430,106 @@ } }, "model.Industry": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Invoice": { + "type": "object", + "properties": { + "client": { + "$ref": "#/definitions/model.Client" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "courierCompany": { + "$ref": "#/definitions/model.CourierCompany" + }, + "courierCompanyId": { + "description": "鐗╂祦鍏徃", + "type": "integer" + }, + "courierNumber": { + "description": "鐗╂祦鍗曞彿", + "type": "string" + }, + "id": { + "type": "integer" + }, + "invoiceDate": { + "description": "寮�绁ㄦ棩鏈�", + "type": "string" + }, + "invoiceNumber": { + "description": "鍙戠エ鍙风爜", + "type": "string" + }, + "invoiceStatus": { + "$ref": "#/definitions/model.InvoiceStatus" + }, + "invoiceStatusId": { + "description": "鍙戠エ鐘舵�乮d", + "type": "integer" + }, + "invoiceType": { + "$ref": "#/definitions/model.InvoiceType" + }, + "invoiceTypeId": { + "description": "鍙戠エ绫诲瀷id", + "type": "integer" + }, + "principalId": { + "description": "閿�鍞礋璐d汉id", + "type": "integer" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)", + "allOf": [ + { + "$ref": "#/definitions/constvar.InvoiceSourceType" + } + ] + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "taxpayerIdNumber": { + "description": "绾崇◣璇嗗埆鍙�", + "type": "string" + } + } + }, + "model.InvoiceStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.InvoiceType": { "type": "object", "properties": { "id": { @@ -7667,6 +11576,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7758,6 +11670,17 @@ } } }, + "model.PaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Plan": { "type": "object", "properties": { @@ -7810,11 +11733,22 @@ } } }, + "model.PriorityLevel": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Product": { "type": "object", "properties": { "amount": { - "type": "integer" + "type": "number" }, "desc": { "type": "string" @@ -7877,11 +11811,23 @@ "id": { "type": "integer" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, "number": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "quotation_status": { + "$ref": "#/definitions/model.QuotationStatus" }, "quotation_status_id": { "type": "integer" @@ -7905,6 +11851,84 @@ }, "name": { "type": "string" + } + } + }, + "model.Receipt": { + "type": "object", + "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "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鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -7998,6 +12022,12 @@ "client_id": { "type": "integer" }, + "collection_projections": { + "type": "array", + "items": { + "$ref": "#/definitions/model.CollectionProjection" + } + }, "competitors": { "type": "string" }, @@ -8034,6 +12064,9 @@ "key_maker": { "type": "string" }, + "member": { + "$ref": "#/definitions/model.User" + }, "member_id": { "type": "integer" }, @@ -8051,6 +12084,9 @@ }, "possibilities_id": { "type": "integer" + }, + "possibility": { + "$ref": "#/definitions/model.Possibility" }, "process": { "type": "string" @@ -8070,19 +12106,28 @@ "region_id": { "type": "integer" }, + "regular_customers": { + "$ref": "#/definitions/model.RegularCustomers" + }, "regular_customers_id": { "type": "integer" }, "remark": { "type": "string" }, + "sale_stage": { + "$ref": "#/definitions/model.SaleStage" + }, "sale_stage_id": { "type": "integer" + }, + "sale_type": { + "$ref": "#/definitions/model.SaleType" }, "sale_type_id": { "type": "integer" }, - "salesSources": { + "sales_sources": { "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { @@ -8127,11 +12172,34 @@ "model.SalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, "addressee": { "type": "string" + }, + "amountInvoiced": { + "description": "宸插紑绁ㄩ噾棰�", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "amountUnInvoiced": { + "description": "鏈紑绁ㄩ噾棰�", + "type": "number" }, "client": { "$ref": "#/definitions/model.Client" @@ -8140,6 +12208,15 @@ "type": "integer" }, "conditions": { + "type": "string" + }, + "createTime": { + "type": "string" + }, + "creatorId": { + "type": "integer" + }, + "creatorName": { "type": "string" }, "deliveryDate": { @@ -8175,6 +12252,9 @@ "remark": { "type": "string" }, + "saleChance": { + "$ref": "#/definitions/model.SaleChance" + }, "saleChanceId": { "type": "integer" }, @@ -8184,7 +12264,13 @@ "signTime": { "type": "string" }, + "updateTime": { + "type": "string" + }, "wechatOrderStatus": { + "$ref": "#/definitions/model.WechatOrderStatus" + }, + "wechatOrderStatusId": { "type": "integer" } } @@ -8216,6 +12302,9 @@ "desc": { "type": "string" }, + "detail_address": { + "type": "string" + }, "followRecord": { "type": "array", "items": { @@ -8224,6 +12313,9 @@ }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -8240,11 +12332,17 @@ "province_id": { "type": "integer" }, + "reason": { + "type": "string" + }, "region": { "$ref": "#/definitions/model.Region" }, "region_id": { "type": "integer" + }, + "sales_sources": { + "$ref": "#/definitions/model.SalesSources" }, "sales_sources_id": { "type": "integer" @@ -8257,23 +12355,53 @@ "model.SalesRefund": { "type": "object", "properties": { - "accountId": { + "Source": { + "$ref": "#/definitions/model.SalesReturn" + }, + "amountTotal": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, + "bankAccountId": { + "description": "璐︽埛id", "type": "integer" + }, + "client": { + "$ref": "#/definitions/model.Client" }, "clientId": { "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "id": { "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" }, "number": { "type": "string" + }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" }, "products": { "type": "array", @@ -8287,7 +12415,19 @@ "refundDate": { "type": "string" }, - "refundMethod": { + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��璐э級", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] + }, + "updateTime": { "type": "string" } } @@ -8295,8 +12435,36 @@ "model.SalesReturn": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, + "SalesReturnStatus": { + "description": "閫�璐х姸鎬�", + "allOf": [ + { + "$ref": "#/definitions/model.SalesReturnStatus" + } + ] + }, + "amountHasRefund": { + "description": "宸查��娆鹃噾棰�", + "type": "number" + }, + "amountShouldRefund": { + "description": "搴旈��娆鹃噾棰�", + "type": "number" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "id": { "type": "integer" @@ -8308,22 +12476,41 @@ "type": "string" }, "products": { + "description": "閫�璐т骇鍝�", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { + "description": "閫�璐у師鍥�", "type": "string" }, "repository": { "type": "string" }, "returnDate": { + "description": "閫�璐ф棩鏈�", "type": "string" }, - "salesReturnStatus": { + "salesReturnStatusId": { + "description": "閫�璐х姸鎬乮d", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] + }, + "updateTime": { + "type": "string" } } }, @@ -8360,23 +12547,142 @@ } } }, + "model.ServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "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" + }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionSourceType" + } + ] + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "model.ServiceContract": { "type": "object", "properties": { + "SaleChance": { + "$ref": "#/definitions/model.SaleChance" + }, + "amountInvoiced": { + "description": "宸插紑绁ㄩ噾棰�", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "description": "浠风◣鍚堣", + "type": "number" + }, + "amountUnInvoiced": { + "description": "鏈紑绁ㄩ噾棰�", + "type": "number" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" }, - "contractId": { - "type": "integer" + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "endTime": { "type": "string" }, "id": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -8390,6 +12696,9 @@ "$ref": "#/definitions/model.Product" } }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, "quotationId": { "type": "integer" }, @@ -8399,8 +12708,20 @@ "saleChanceId": { "type": "integer" }, + "salesDetails": { + "$ref": "#/definitions/model.SalesDetails" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractStatus": { + "$ref": "#/definitions/model.ServiceContractStatus" + }, "serviceContractStatusId": { "type": "integer" + }, + "serviceContractType": { + "$ref": "#/definitions/model.ServiceContractType" }, "serviceContractTypeId": { "type": "integer" @@ -8415,6 +12736,9 @@ "type": "string" }, "terms": { + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -8470,20 +12794,35 @@ "model.ServiceFollowup": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" }, "contactId": { "type": "integer" }, - "customerServiceSheet": { - "$ref": "#/definitions/model.CustomerServiceSheet" + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" }, "file": { "type": "string" }, "id": { "type": "integer" + }, + "isVisit": { + "$ref": "#/definitions/model.IsVisit" }, "isVisitId": { "type": "integer" @@ -8494,6 +12833,9 @@ "number": { "type": "string" }, + "oldMember": { + "$ref": "#/definitions/model.User" + }, "oldMemberId": { "type": "integer" }, @@ -8503,17 +12845,230 @@ "remark": { "type": "string" }, + "satisfaction": { + "$ref": "#/definitions/model.Satisfaction" + }, "satisfactionId": { "type": "integer" }, - "serviceId": { + "serviceOrder": { + "$ref": "#/definitions/model.ServiceOrder" + }, + "serviceOrderId": { "type": "integer" + }, + "solveRate": { + "$ref": "#/definitions/model.SolveRate" }, "solveRateId": { "type": "integer" }, + "timelyRate": { + "$ref": "#/definitions/model.TimelyRate" + }, "timelyRateId": { "type": "integer" + }, + "updateTime": { + "type": "string" + } + } + }, + "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" + }, + "createTime": { + "type": "string" + }, + "creatorName": { + "type": "string" + }, + "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" + }, + "priorityLevel": { + "$ref": "#/definitions/model.PriorityLevel" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChance": { + "$ref": "#/definitions/model.SaleChance" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetails": { + "$ref": "#/definitions/model.SalesDetails" + }, + "salesDetailsId": { + "description": "閿�鍞槑缁唅d", + "type": "integer" + }, + "serviceContract": { + "$ref": "#/definitions/model.ServiceContract" + }, + "serviceContractId": { + "description": "鏈嶅姟鍚堝悓id", + "type": "integer" + }, + "serviceMan": { + "description": "鏈嶅姟浜哄憳", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceOrderStatus": { + "$ref": "#/definitions/model.ServiceOrderStatus" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "serviceType": { + "$ref": "#/definitions/model.ServiceType" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "$ref": "#/definitions/model.Severity" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpent": { + "$ref": "#/definitions/model.TimeSpent" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + }, + "updateTime": { + "type": "string" + } + } + }, + "model.ServiceOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.ServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Severity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8551,8 +13106,14 @@ "id": { "type": "integer" }, + "masterOrder": { + "$ref": "#/definitions/model.MasterOrder" + }, "masterOrderId": { "type": "integer" + }, + "member": { + "$ref": "#/definitions/model.User" }, "memberId": { "type": "integer" @@ -8565,6 +13126,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "model.TimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8631,6 +13203,71 @@ } } }, + "model.WechatOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "product.Product": { + "type": "object", + "properties": { + "Amount": { + "description": "搴撳瓨鍓╀綑閲�", + "type": "number" + }, + "IsSale": { + "description": "鏄惁閿�鍞�", + "type": "boolean" + }, + "MaterialMode": { + "description": "鐗╂枡绫诲瀷", + "type": "string" + }, + "MaxInventory": { + "description": "鏈�澶у簱瀛�", + "type": "integer" + }, + "MinInventory": { + "description": "瀹夊叏搴撳瓨", + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Node": { + "description": "澶囨敞", + "type": "string" + }, + "Number": { + "type": "string" + }, + "PurchaseType": { + "description": "閲囪喘绫诲瀷", + "type": "string" + }, + "SalePrice": { + "description": "閿�鍞环鏍�", + "type": "number" + }, + "Specs": { + "description": "瑙勬牸", + "type": "string" + }, + "Type": { + "description": "鍨嬪彿", + "type": "string" + }, + "Unit": { + "type": "string" + } + } + }, "request.AddAccountId": { "type": "object", "required": [ @@ -8653,6 +13290,17 @@ "items": { "$ref": "#/definitions/request.CasbinInfo" } + } + } + }, + "request.AddBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8696,6 +13344,10 @@ }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -8758,6 +13410,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -8794,6 +13450,23 @@ "properties": { "name": { "type": "string" + } + } + }, + "request.AddCollectionProjection": { + "type": "object", + "properties": { + "estimated_collection_amount": { + "description": "棰勮鏀舵閲戦", + "type": "number" + }, + "estimated_collection_time": { + "description": "棰勮鏀舵鏃堕棿", + "type": "string" + }, + "sale_chance_id": { + "description": "閿�鍞満浼歩d", + "type": "integer" } } }, @@ -8895,6 +13568,17 @@ } } }, + "request.AddCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddCurrency": { "type": "object", "required": [ @@ -8959,6 +13643,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": [ @@ -8976,6 +13682,92 @@ "name" ], "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddInvoice": { + "type": "object", + "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "courierCompanyId": { + "description": "鐗╂祦鍏徃", + "type": "integer" + }, + "courierNumber": { + "description": "鐗╂祦鍗曞彿", + "type": "string" + }, + "invoiceDate": { + "description": "寮�绁ㄦ棩鏈�", + "type": "string" + }, + "invoiceNumber": { + "description": "鍙戠エ鍙风爜", + "type": "string" + }, + "invoiceStatusId": { + "description": "鍙戠エ鐘舵�乮d", + "type": "integer" + }, + "invoiceTypeId": { + "description": "鍙戠エ绫诲瀷id", + "type": "integer" + }, + "principalId": { + "description": "閿�鍞礋璐d汉id", + "type": "integer" + }, + "products": { + "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)", + "allOf": [ + { + "$ref": "#/definitions/constvar.InvoiceSourceType" + } + ] + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "taxpayerIdNumber": { + "description": "绾崇◣璇嗗埆鍙�", + "type": "string" + } + } + }, + "request.AddInvoiceStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddInvoiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9069,6 +13861,17 @@ } } }, + "request.AddPaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddPlan": { "type": "object", "properties": { @@ -9083,6 +13886,17 @@ "name" ], "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddPriorityLevel": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9118,6 +13932,12 @@ "number": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "quotation_status_id": { "type": "integer" }, @@ -9137,6 +13957,84 @@ "properties": { "name": { "type": "string" + } + } + }, + "request.AddReceipt": { + "type": "object", + "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "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鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -9333,8 +14231,59 @@ "request.AddSalesDetails": { "type": "object", "properties": { - "salesDetails": { - "$ref": "#/definitions/request.SalesDetails" + "address": { + "type": "string" + }, + "addressee": { + "type": "string" + }, + "clientId": { + "type": "integer" + }, + "conditions": { + "type": "string" + }, + "deliveryDate": { + "type": "string" + }, + "logisticCompany": { + "type": "string" + }, + "logisticCost": { + "type": "number" + }, + "logisticNumber": { + "type": "string" + }, + "memberId": { + "type": "integer" + }, + "number": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "remark": { + "type": "string" + }, + "saleChanceId": { + "type": "integer" + }, + "saleType": { + "type": "integer" + }, + "signTime": { + "type": "string" + }, + "wechatOrderStatusId": { + "type": "integer" } } }, @@ -9361,6 +14310,10 @@ }, "desc": { "description": "澶囨敞", + "type": "string" + }, + "detail_address": { + "description": "璇︾粏鍦板潃", "type": "string" }, "member_id": { @@ -9436,16 +14389,30 @@ } } }, + "request.AddServiceCollectionPlan": { + "type": "object", + "required": [ + "list" + ], + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + }, "request.AddServiceContract": { "type": "object", + "required": [ + "memberId" + ], "properties": { "clientId": { "type": "integer" }, "contactId": { - "type": "integer" - }, - "contractId": { "type": "integer" }, "endTime": { @@ -9472,6 +14439,15 @@ "saleChanceId": { "type": "integer" }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -9494,10 +14470,10 @@ }, "request.AddServiceContractStatus": { "type": "object", - "required": [ - "name" - ], "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9542,6 +14518,10 @@ }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -9610,6 +14590,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -9649,7 +14633,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -9657,6 +14641,152 @@ }, "timelyRate": { "type": "integer" + } + } + }, + "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" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.AddServiceOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -9705,6 +14835,17 @@ } } }, + "request.AddTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddTimelyRate": { "type": "object", "required": [ @@ -9740,6 +14881,35 @@ }, "vettingType": { "type": "integer" + } + } + }, + "request.AddWechatOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.Assign": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + }, + "member_id": { + "type": "integer" + }, + "type": { + "description": "绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord: 璺熻繘璁板綍", + "type": "string" } } }, @@ -9795,6 +14965,28 @@ "pos": { "description": "鐢ㄦ埛宀椾綅", "type": "string" + } + } + }, + "request.CheckClientName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "request.CommonIds": { + "type": "object", + "required": [ + "ids" + ], + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -9864,6 +15056,39 @@ } } }, + "request.DeleteClient": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteContact": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteContract": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteCountry": { "type": "object", "properties": { @@ -9873,11 +15098,137 @@ } } }, + "request.DeleteFollowRecord": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteMasterOrder": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteOrderManage": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteQuotation": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteSaleChance": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteSalesLeads": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteServiceFeeManage": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteServiceFollowup": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteSubOrder": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "request.DeleteUserReq": { "type": "object", "properties": { "userId": { "description": "鐢ㄦ埛ID", + "type": "string" + } + } + }, + "request.DownloadFile": { + "type": "object", + "required": [ + "id", + "key", + "sourceId", + "sourceType" + ], + "properties": { + "id": { + "description": "闄勪欢id", + "type": "integer" + }, + "key": { + "description": "闄勪欢瀛樺偍key", + "type": "string" + }, + "sourceId": { + "description": "鏉ユ簮id", + "type": "integer" + }, + "sourceType": { + "description": "闄勪欢鏉ユ簮", "type": "string" } } @@ -9932,9 +15283,6 @@ "request.GetClientList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -9942,15 +15290,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\",\"representative\": \"娉曞畾浠h〃浜篭", \"registration_time\": \"娉ㄥ唽鏃堕棿\", \"business_scope\": \"缁忚惀鑼冨洿\", \"remark\": \"澶囨敞\", \"not_admin\":\"1:鎴戠殑瀹㈡埛; 2:admin瀹㈡埛\"}", + "type": "object", + "additionalProperties": true } } }, "request.GetContactList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -9958,14 +15308,40 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\", \"is_first\": \"鏄惁鏄瑕佽仈绯讳汉\", \"client_id\": \"clientId 鐢ㄤ簬杩斿洖棣栬鑱旂郴浜篭"}", + "type": "object", + "additionalProperties": true } } }, "request.GetContractList": { "type": "object", "properties": { + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{} {\"member_name\": \"閿�鍞礋璐d汉\", \"number\": \"鍚堝悓缂栧彿\", \"created_at\": \"鍒涘缓鏃堕棿\"}", + "type": "object", + "additionalProperties": true + } + } + }, + "request.GetFaqList": { + "type": "object", + "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.FaqKeywordType" }, "page": { "description": "椤电爜", @@ -9974,15 +15350,15 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.FaqQueryClass" } } }, "request.GetFollowRecordList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -9990,15 +15366,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}", + "type": "object", + "additionalProperties": true } } }, "request.GetMasterOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10006,6 +15384,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞�诲崟鍙穃", \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"start_time\": \"寮�濮嬫椂闂碶", \"end_time\": \"缁撴潫鏃堕棿\", \"money\": \"鎬婚噾棰漒", \"member_name\": \"璐熻矗浜篭"}", + "type": "object", + "additionalProperties": true } } }, @@ -10044,9 +15427,6 @@ "request.GetQuotationList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10054,15 +15434,17 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 閿�鍞嚎绱d, \"client_name\": \"瀹㈡埛鍚嶇О\", \"member_name\": \"閿�鍞礋璐d汉\", \"contact_name\": \"鑱旂郴浜篭", \"validity_date\": \"鏈夋晥鏈焅"}", + "type": "object", + "additionalProperties": true } } }, "request.GetSaleChanceList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10070,6 +15452,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"鏈轰細鍚嶇О\", \"client_name\": \"瀹㈡埛鍚嶇О\",\"number\":\"缂栧彿\", \"contact_name\":\"鑱旂郴浜哄鍚峔", \"member_name\": \"閿�鍞礋璐d汉\", \"status\": \"鐘舵�乗", \"sale_stage\": \"闃舵\", \"possibilities\": \"鍙兘鎬", \"expected_time\": \"棰勮鎴愪氦鏃堕棿\", \"budget\": \"璧勯噾缁濆鍊糪", \"projected_amount\": \"棰勮鍚堝悓閲戦\"}", + "type": "object", + "additionalProperties": true } } }, @@ -10078,6 +15465,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesDetailsKeywordType" }, "page": { "description": "椤电爜", @@ -10092,9 +15482,6 @@ "request.GetSalesLeadsList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10102,6 +15489,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"} {\"name\": \"瀹㈡埛鍚嶇О\", \"number\": \"閿�鍞嚎绱㈢紪鍙穃", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"phone\": \"鎵嬫満鍙风爜\", \"sales_resources\": \"鍟嗘満鏉ユ簮\", \"city\": \"鍩庡競\", \"province\": \"鐪佷唤\", \"member_name\": \"璐熻矗浜篭"}", + "type": "object", + "additionalProperties": true } } }, @@ -10110,6 +15502,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesRefundKeywordType" }, "page": { "description": "椤电爜", @@ -10127,6 +15522,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.SalesReturnKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10134,6 +15532,28 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.GetServiceContractList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceContractKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceContractQueryClass" } } }, @@ -10143,6 +15563,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFeeKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10150,6 +15573,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, @@ -10159,12 +15585,47 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" }, "pageSize": { "description": "姣忛〉澶у皬", + "type": "integer" + }, + "serviceOrderId": { + "description": "鏈嶅姟鍥炶鍗昳d", + "type": "integer" + } + } + }, + "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" + }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractId": { "type": "integer" } } @@ -10172,9 +15633,6 @@ "request.GetSubOrderList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10182,6 +15640,11 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"閿�鍞瓙鍗曞彿\", \"client_name\": \"瀹㈡埛鍚嶇О\", \"master_order_number\": \"閿�鍞�诲崟鍙穃", \"member_name\": \"閿�鍞礋璐d汉\", \"master_order_id\": \"閿�鍞�诲崟id\"}", + "type": "object", + "additionalProperties": true } } }, @@ -10252,6 +15715,40 @@ }, "subOrderId": { "type": "integer" + } + } + }, + "request.PushSaleChance": { + "type": "object", + "required": [ + "id", + "step" + ], + "properties": { + "id": { + "type": "integer" + }, + "step": { + "type": "integer" + } + } + }, + "request.PushSalesLeads": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "step": { + "description": "鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesStatus" + } + ] } } }, @@ -10355,28 +15852,37 @@ "signTime": { "type": "string" }, - "wechatOrderStatus": { + "wechatOrderStatusId": { "type": "integer" } } }, "request.SalesRefund": { "type": "object", + "required": [ + "sourceId", + "sourceType" + ], "properties": { - "accountId": { + "bankAccountId": { + "description": "璐︽埛id", "type": "integer" }, "clientId": { "type": "integer" }, "isInvoice": { - "type": "integer" + "type": "string" }, "memberId": { "type": "integer" }, "number": { "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" }, "products": { "type": "array", @@ -10390,8 +15896,17 @@ "refundDate": { "type": "string" }, - "refundMethod": { - "type": "string" + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞��娆惧崟锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RefundSourceType" + } + ] } } }, @@ -10408,22 +15923,38 @@ "type": "string" }, "products": { + "description": "閫�璐т骇鍝�", "type": "array", "items": { "$ref": "#/definitions/model.Product" } }, "reason": { + "description": "閫�璐у師鍥�", "type": "string" }, "repository": { "type": "string" }, "returnDate": { + "description": "閫�璐ф棩鏈�", "type": "string" }, - "status": { + "salesReturnStatusId": { + "description": "閫�璐х姸鎬乮d", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] } } }, @@ -10518,6 +16049,17 @@ } } }, + "request.UpdateBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateCities": { "type": "object", "properties": { @@ -10571,6 +16113,10 @@ }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -10635,6 +16181,10 @@ "representative": { "description": "娉曚汉浠h〃", "type": "string" + }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", @@ -10755,6 +16305,22 @@ } } }, + "request.UpdateCollectionProjection": { + "type": "object", + "properties": { + "estimated_collection_amount": { + "description": "棰勮鏀舵閲戦", + "type": "number" + }, + "estimated_collection_time": { + "description": "棰勮鏀舵鏃堕棿", + "type": "string" + }, + "id": { + "type": "integer" + } + } + }, "request.UpdateContact": { "type": "object", "properties": { @@ -10859,6 +16425,17 @@ }, "name": { "description": "鍥藉鍚嶇О", + "type": "string" + } + } + }, + "request.UpdateCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { "type": "string" } } @@ -10996,6 +16573,28 @@ } } }, + "request.UpdateFaq": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateFaultType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateFollowRecord": { "type": "object", "required": [ @@ -11030,6 +16629,94 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateInvoice": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "courierCompanyId": { + "description": "鐗╂祦鍏徃", + "type": "integer" + }, + "courierNumber": { + "description": "鐗╂祦鍗曞彿", + "type": "string" + }, + "id": { + "type": "integer" + }, + "invoiceDate": { + "description": "寮�绁ㄦ棩鏈�", + "type": "integer" + }, + "invoiceNumber": { + "description": "鍙戠エ鍙风爜", + "type": "string" + }, + "invoiceStatusId": { + "description": "鍙戠エ鐘舵�乮d", + "type": "integer" + }, + "invoiceTypeId": { + "description": "鍙戠エ绫诲瀷id", + "type": "integer" + }, + "principalId": { + "description": "閿�鍞礋璐d汉id", + "type": "integer" + }, + "products": { + "description": "鍙戠エ瀵瑰簲浜у搧锛屼粠鐩稿簲婧愬崟閲岃幏鍙�", + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "taxpayerIdNumber": { + "description": "绾崇◣璇嗗埆鍙�", + "type": "string" + } + } + }, + "request.UpdateInvoiceStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateInvoiceType": { + "type": "object", "properties": { "id": { "type": "integer" @@ -11187,6 +16874,17 @@ } } }, + "request.UpdatePaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdatePlan": { "type": "object", "properties": { @@ -11218,6 +16916,17 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdatePriorityLevel": { + "type": "object", "properties": { "id": { "type": "integer" @@ -11276,6 +16985,12 @@ "number": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "quotation_status_id": { "type": "integer" }, @@ -11313,6 +17028,84 @@ "items": { "$ref": "#/definitions/request.UpdateQuotationStatus" } + } + } + }, + "request.UpdateReceipt": { + "type": "object", + "properties": { + "amount": { + "description": "鏀舵閲戦", + "type": "number" + }, + "bankAccount": { + "$ref": "#/definitions/model.BankAccount" + }, + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "client": { + "description": "瀹㈡埛id", + "allOf": [ + { + "$ref": "#/definitions/model.Client" + } + ] + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentType": { + "$ref": "#/definitions/model.PaymentType" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principal": { + "description": "璐熻矗浜篿d", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "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鍑哄簱鍗曪級", + "allOf": [ + { + "$ref": "#/definitions/constvar.ReceiptSourceType" + } + ] } } }, @@ -11687,6 +17480,10 @@ "description": "澶囨敞", "type": "string" }, + "detail_address": { + "description": "璇︾粏鍦板潃", + "type": "string" + }, "id": { "type": "integer" }, @@ -11820,16 +17617,100 @@ } } }, + "request.UpdateServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, + "amountTotal": { + "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" + }, + "principal": { + "description": "鏀舵璐熻矗浜篒D", + "allOf": [ + { + "$ref": "#/definitions/model.User" + } + ] + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionSourceType" + } + ] + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2閮ㄥ垎宸叉敹3宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "request.UpdateServiceContract": { "type": "object", + "required": [ + "memberId" + ], "properties": { "clientId": { "type": "integer" }, "contactId": { - "type": "integer" - }, - "contractId": { "type": "integer" }, "endTime": { @@ -11859,6 +17740,15 @@ "saleChanceId": { "type": "integer" }, + "salesDetailsId": { + "type": "integer" + }, + "serviceContractStatusId": { + "type": "integer" + }, + "serviceContractTypeId": { + "type": "integer" + }, "serviceTimes": { "type": "integer" }, @@ -11881,30 +17771,12 @@ }, "request.UpdateServiceContractStatus": { "type": "object", - "required": [ - "id", - "name" - ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" - } - } - }, - "request.UpdateServiceContractStatuss": { - "type": "object", - "required": [ - "service_contract_status" - ], - "properties": { - "service_contract_status": { - "type": "array", - "items": { - "$ref": "#/definitions/request.UpdateServiceContractStatus" - } } } }, @@ -11965,6 +17837,10 @@ }, "contact": { "$ref": "#/definitions/request.Contact" + }, + "contact_id": { + "description": "鑱旂郴浜篒D", + "type": "integer" }, "country_id": { "type": "integer" @@ -12034,6 +17910,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -12076,7 +17956,7 @@ "satisfaction": { "type": "integer" }, - "serviceId": { + "serviceOrderId": { "type": "integer" }, "solveRate": { @@ -12084,6 +17964,155 @@ }, "timelyRate": { "type": "integer" + } + } + }, + "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" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "productTypeName": { + "description": "浜у搧鍒嗙被鍚嶇О", + "type": "string" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "serviceContractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceOrderStatusId": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.UpdateServiceOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12171,6 +18200,17 @@ } } }, + "request.UpdateTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateTimelyRate": { "type": "object", "required": [ @@ -12212,6 +18252,17 @@ }, "status": { "type": "integer" + } + } + }, + "request.UpdateWechatOrderStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12291,6 +18342,17 @@ "type": "array", "items": { "$ref": "#/definitions/model.ClientType" + } + } + } + }, + "response.ContactInformationResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ContactInformation" } } } @@ -12675,6 +18737,21 @@ } } }, + "response.ListResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, "response.LoginResponse": { "type": "object", "properties": { @@ -12995,17 +19072,6 @@ } } }, - "response.ServiceContractStatusResponse": { - "type": "object", - "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/model.ServiceContractStatus" - } - } - } - }, "response.ServiceContractTypeResponse": { "type": "object", "properties": { @@ -13020,6 +19086,9 @@ "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0