From c229f8922a4142a8ae2ac161bb6c121b9c9de672 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期三, 09 八月 2023 19:35:49 +0800 Subject: [PATCH] fix --- docs/docs.go | 4211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 4,167 insertions(+), 44 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 109093a..fac055d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -143,7 +143,7 @@ "tags": [ "Assign" ], - "summary": "瀹℃牳", + "summary": "鍒嗛厤", "parameters": [ { "description": "鏌ヨ鍙傛暟", @@ -228,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" } } ], @@ -1462,6 +1625,169 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/currency/add": { "post": { "produces": [ @@ -2076,6 +2402,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": [ @@ -2106,7 +2817,7 @@ } } }, - "/api/followRecord/delete/{id}": { + "/api/followRecord/delete": { "delete": { "produces": [ "application/json" @@ -2117,11 +2828,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": { @@ -2343,6 +3056,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" } } ], @@ -2799,7 +4001,7 @@ } } }, - "/api/orderManage/delete/{id}": { + "/api/orderManage/delete": { "delete": { "produces": [ "application/json" @@ -2810,11 +4012,13 @@ "summary": "鍒犻櫎宸ュ崟", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteOrderManage" + } } ], "responses": { @@ -3005,6 +4209,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" } } ], @@ -3262,6 +4629,228 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "娣诲姞浼樺厛绾у埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddPriorityLevel" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鍒犻櫎浼樺厛绾у埆", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/priorityLevel/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鑾峰彇浼樺厛绾у埆鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.PriorityLevel" + } + } + } + } + ] + } + } + } + } + }, + "/api/priorityLevel/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "浼樺厛绾у埆绠$悊" + ], + "summary": "鏇存柊浼樺厛绾у埆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdatePriorityLevel" + } + } + ], + "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" + } + } + } + } + ] } } } @@ -3661,6 +5250,169 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateQuotationStatuss" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "娣诲姞鏀舵鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddReceipt" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鍒犻櫎鏀舵鍗�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/receipt/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鑾峰彇鏀舵鍗曞垪琛�", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ReceiptKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "ReceiptQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Receipt" + } + } + } + } + ] + } + } + } + } + }, + "/api/receipt/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵鍗曠鐞�" + ], + "summary": "鏇存柊鏀舵鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateReceipt" } } ], @@ -4943,7 +6695,7 @@ } } }, - "/api/salesLeads/delete/{id}": { + "/api/salesLeads/delete": { "delete": { "produces": [ "application/json" @@ -4954,11 +6706,13 @@ "summary": "鍒犻櫎閿�鍞嚎绱�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteSalesLeads" + } } ], "responses": { @@ -5008,6 +6762,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" } } } @@ -5660,6 +7444,136 @@ } } }, + "/api/serviceCollectionPlan/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "娣诲姞鏀舵璁″垝", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceCollectionPlan" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceCollectionPlan/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鍒犻櫎鏀舵璁″垝", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceCollectionPlan/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鑾峰彇鏀舵璁″垝鍒楄〃", + "parameters": [ + { + "type": "integer", + "description": "鏈嶅姟鍚堝悓id", + "name": "serviceContractId", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceCollectionPlan/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀舵璁″垝绠$悊" + ], + "summary": "鏇存柊鏀舵璁″垝", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceCollectionPlan" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/serviceContract/add": { "post": { "produces": [ @@ -5690,7 +7604,7 @@ } } }, - "/api/serviceContract/delete/{id}": { + "/api/serviceContract/delete": { "delete": { "produces": [ "application/json" @@ -5701,11 +7615,13 @@ "summary": "鍒犻櫎鏈嶅姟鍚堝悓", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteserviceContract" + } } ], "responses": { @@ -6058,7 +7974,7 @@ } } }, - "/api/serviceFeeManage/delete/{id}": { + "/api/serviceFeeManage/delete": { "delete": { "produces": [ "application/json" @@ -6069,11 +7985,13 @@ "summary": "鍒犻櫎鏈嶅姟璐圭鐞�", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteServiceFeeManage" + } } ], "responses": { @@ -6188,7 +8106,7 @@ } } }, - "/api/serviceFollowup/delete/{id}": { + "/api/serviceFollowup/delete": { "delete": { "produces": [ "application/json" @@ -6199,11 +8117,13 @@ "summary": "鍒犻櫎鏈嶅姟璺熻繘", "parameters": [ { - "type": "integer", "description": "鏌ヨ鍙傛暟", - "name": "id", - "in": "path", - "required": true + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.DeleteServiceFollowup" + } } ], "responses": { @@ -6275,6 +8195,372 @@ "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/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鍒犻櫎鏈嶅姟鍗�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceOrder" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceOrder/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鏇存柊鏈嶅姟鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "娣诲姞鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鍒犻櫎鏈嶅姟鏂瑰紡", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鑾峰彇鏈嶅姟鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceType" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鏇存柊鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "娣诲姞涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSeverity" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鍒犻櫎涓ラ噸绋嬪害", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鑾峰彇涓ラ噸绋嬪害鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Severity" + } + } + } + } + ] + } + } + } + } + }, + "/api/severity/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鏇存柊涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSeverity" } } ], @@ -6631,6 +8917,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" } } ], @@ -7078,30 +9486,306 @@ } }, "definitions": { + "constvar.BankAccountKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountKeywordCustomerName" + ] + }, + "constvar.BankAccountQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "BankAccountQueryClassExpireLessThen60Days" + ] + }, + "constvar.CollectionStatus": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "CollectionStatusCollected": "宸叉敹娆�", + "CollectionStatusUnCollected": "寰呮敹娆�" + }, + "x-enum-varnames": [ + "CollectionStatusUnCollected", + "CollectionStatusCollected" + ] + }, + "constvar.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.ReceiptKeywordType": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ReceiptKeywordCustomerName" + ] + }, + "constvar.ReceiptQueryClass": { + "type": "string", + "enum": [ + "" + ], + "x-enum-varnames": [ + "ReceiptQueryClassExpireLessThen60Days" + ] + }, "constvar.SalesStatus": { "type": "integer", "enum": [ + 0, 1, 2, 3, 4, - 5, - 6 + -1 ], "x-enum-comments": { "SalesStatusFail": "澶辫触", "SalesStatusIng": "杩涜涓�", "SalesStatusLevelUptoClient": "鍗囩骇涓哄鎴�", "SalesStatusLevelUptoClientAndSalesChance": "鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�", + "SalesStatusNew": "鏂板缓", "SalesStatusSuccess": "鎴愬姛" }, "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.ServiceFeeKeywordType": { + "type": "string", + "enum": [ + "瀹㈡埛鍚嶇О", + "瀹㈡埛绫诲瀷", + "閿�鍞礋璐d汉", + "瀹㈡埛瑙勬ā", + "閲嶈绾у埆", + "瀹㈡埛缂栧彿", + "瀹㈡埛鐘舵��", + "浜у搧鍚嶇О", + "鏈嶅姟鍒版湡鏃�" + ], + "x-enum-varnames": [ + "ServiceFeeKeywordCustomerName", + "ServiceFeeKeywordCustomerType", + "ServiceFeeKeywordSalesPrincipal", + "ServiceFeeKeywordCustomerScale", + "ServiceFeeKeywordClientLevel", + "ServiceFeeKeywordCustomerNo", + "ServiceFeeKeywordCustomerStatus", + "ServiceFeeKeywordProductName", + "ServiceFeeKeywordServiceEndDate" + ] + }, + "constvar.ServiceFeeQueryClass": { + "type": "string", + "enum": [ + "杩囨湡鏈弧60澶�", + "杩囨湡鏈弧30澶�", + "鍗冲皢杩囨湡60澶�", + "鍗冲皢杩囨湡30澶�", + "宸茶繃鏈�", + "鏃犳湇鍔�" + ], + "x-enum-varnames": [ + "ServiceFeeQueryClassExpireLessThen60Days", + "ServiceFeeQueryClassExpireLessThen30Days", + "ServiceFeeQueryClassExpireAboutTo60Day", + "ServiceFeeQueryClassExpireAboutTo30Day", + "ServiceFeeQueryClassExpired", + "ServiceFeeQueryClassNoService" + ] + }, + "constvar.ServiceFollowupKeywordType": { + "type": "string", + "enum": [ + "鍥炶鍗曠紪鍙�", + "瀹㈡埛鍚嶇О", + "鑱旂郴浜哄鍚�", + "瀹㈡埛鏈嶅姟鍗�", + "鍥炶浜�", + "婊℃剰搴�" + ], + "x-enum-varnames": [ + "ServiceFollowupKeywordFollowupNo", + "ServiceFollowupKeywordCustomerName", + "ServiceFollowupKeywordContactName", + "ServiceFollowupKeywordCustomerServiceNo", + "ServiceFollowupKeywordVisitor", + "ServiceFollowupKeywordSatisfactionDegree" ] }, "constvar.UserType": { @@ -7165,6 +9849,17 @@ "items": { "$ref": "#/definitions/model.Menu" } + } + } + }, + "model.BankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -7265,6 +9960,9 @@ }, "latest_service_time": { "type": "string" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7539,6 +10237,17 @@ } } }, + "model.CourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Currency": { "type": "object", "properties": { @@ -7609,6 +10318,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": { @@ -7666,6 +10397,100 @@ } }, "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" + }, + "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": { @@ -7803,6 +10628,17 @@ } } }, + "model.PaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Plan": { "type": "object", "properties": { @@ -7845,6 +10681,17 @@ } }, "model.Possibility": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.PriorityLevel": { "type": "object", "properties": { "id": { @@ -7950,6 +10797,54 @@ }, "name": { "type": "string" + } + } + }, + "model.Receipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -8285,6 +11180,9 @@ "province_id": { "type": "integer" }, + "reason": { + "type": "string" + }, "region": { "$ref": "#/definitions/model.Region" }, @@ -8405,9 +11303,81 @@ } } }, + "model.ServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "collectionDate": { + "description": "璁″垝鏀舵鏃ユ湡", + "type": "string" + }, + "collectionType": { + "description": "绫诲瀷锛�1 璁″垝鏀舵鏃ユ湡 2 椤圭洰鐘舵�侊級", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "percent": { + "description": "姣斾緥", + "type": "number" + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "type": "integer" + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "model.ServiceContract": { "type": "object", "properties": { + "amountInvoiced": { + "description": "宸插紑绁ㄩ噾棰�", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, "clientId": { "type": "integer" }, @@ -8554,11 +11524,180 @@ "serviceId": { "type": "integer" }, + "serviceOrder": { + "$ref": "#/definitions/model.ServiceOrder" + }, "solveRateId": { "type": "integer" }, "timelyRateId": { "type": "integer" + } + } + }, + "model.ServiceOrder": { + "type": "object", + "properties": { + "address": { + "description": "涓婇棬鍦板潃", + "type": "string" + }, + "appointmentTime": { + "description": "棰勭害涓婇棬鏃堕棿", + "type": "string" + }, + "carFare": { + "description": "浜ら�氳垂", + "type": "number" + }, + "chargeAmount": { + "description": "鏀惰垂閲戦", + "type": "number" + }, + "client": { + "$ref": "#/definitions/model.Client" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "contact": { + "$ref": "#/definitions/model.Contact" + }, + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, + "contract": { + "$ref": "#/definitions/model.Contract" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faq": { + "$ref": "#/definitions/model.Faq" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultType": { + "$ref": "#/definitions/model.FaultType" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "orderManage": { + "$ref": "#/definitions/model.OrderManage" + }, + "priorityLevel": { + "$ref": "#/definitions/model.PriorityLevel" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "product": { + "$ref": "#/definitions/model.Product" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChance": { + "$ref": "#/definitions/model.SaleChance" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceType": { + "$ref": "#/definitions/model.ServiceType" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "$ref": "#/definitions/model.Severity" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpent": { + "$ref": "#/definitions/model.TimeSpent" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "model.ServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.Severity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8610,6 +11749,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "model.TimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8676,6 +11826,44 @@ } } }, + "product.Product": { + "type": "object", + "properties": { + "Amount": { + "description": "搴撳瓨鍓╀綑閲�", + "type": "number" + }, + "IsSale": { + "description": "鏄惁閿�鍞�", + "type": "boolean" + }, + "MaterialMode": { + "description": "鐗╂枡绫诲瀷", + "type": "string" + }, + "MinInventory": { + "description": "瀹夊叏搴撳瓨", + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Number": { + "type": "string" + }, + "PurchaseType": { + "description": "閲囪喘绫诲瀷", + "type": "string" + }, + "SalePrice": { + "description": "閿�鍞环鏍�", + "type": "number" + }, + "Unit": { + "type": "string" + } + } + }, "request.AddAccountId": { "type": "object", "required": [ @@ -8698,6 +11886,17 @@ "items": { "$ref": "#/definitions/request.CasbinInfo" } + } + } + }, + "request.AddBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8802,6 +12001,10 @@ "representative": { "description": "娉曚汉浠h〃", "type": "string" + }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", @@ -8940,6 +12143,17 @@ } } }, + "request.AddCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddCurrency": { "type": "object", "required": [ @@ -9004,6 +12218,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": [ @@ -9021,6 +12257,85 @@ "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" + }, + "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" } @@ -9114,6 +12429,17 @@ } } }, + "request.AddPaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddPlan": { "type": "object", "properties": { @@ -9128,6 +12454,17 @@ "name" ], "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddPriorityLevel": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9182,6 +12519,54 @@ "properties": { "name": { "type": "string" + } + } + }, + "request.AddReceipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -9481,6 +12866,20 @@ } } }, + "request.AddServiceCollectionPlan": { + "type": "object", + "required": [ + "list" + ], + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + }, "request.AddServiceContract": { "type": "object", "properties": { @@ -9655,6 +13054,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -9705,6 +13108,137 @@ } } }, + "request.AddServiceOrder": { + "type": "object", + "properties": { + "address": { + "description": "涓婇棬鍦板潃", + "type": "string" + }, + "appointmentTime": { + "description": "棰勭害涓婇棬鏃堕棿", + "type": "string" + }, + "carFare": { + "description": "浜ら�氳垂", + "type": "number" + }, + "chargeAmount": { + "description": "鏀惰垂閲戦", + "type": "number" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.AddServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.AddSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddSolveRate": { "type": "object", "required": [ @@ -9750,6 +13284,17 @@ } } }, + "request.AddTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddTimelyRate": { "type": "object", "required": [ @@ -9791,13 +13336,17 @@ "request.Assign": { "type": "object", "properties": { - "id": { - "type": "integer" + "ids": { + "type": "array", + "items": { + "type": "integer" + } }, "member_id": { "type": "integer" }, "type": { + "description": "绫诲瀷: client: 瀹㈡埛; salesLead: 閿�鍞嚎绱�; contact: 鑱旂郴浜�; followRecord: 璺熻繘璁板綍", "type": "string" } } @@ -9954,11 +13503,104 @@ } } }, + "request.DeleteFollowRecord": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "request.DeleteOrderManage": { + "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.DeleteUserReq": { "type": "object", "properties": { "userId": { "description": "鐢ㄦ埛ID", + "type": "string" + } + } + }, + "request.DeleteserviceContract": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "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" } } @@ -10022,6 +13664,7 @@ "type": "integer" }, "search_map": { + "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\"}", "type": "object", "additionalProperties": true } @@ -10030,9 +13673,6 @@ "request.GetContactList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10040,6 +13680,11 @@ "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\": \"閲嶈绾у埆\"}", + "type": "object", + "additionalProperties": true } } }, @@ -10056,6 +13701,28 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.GetFaqList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.FaqKeywordType" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.FaqQueryClass" } } }, @@ -10174,9 +13841,6 @@ "request.GetSalesLeadsList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10184,6 +13848,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 } } }, @@ -10225,6 +13894,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceContractKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10232,6 +13904,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceContractQueryClass" } } }, @@ -10241,6 +13916,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFeeKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10248,6 +13926,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, @@ -10256,6 +13937,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "椤电爜", @@ -10350,6 +14034,25 @@ }, "subOrderId": { "type": "integer" + } + } + }, + "request.PushSalesLeads": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "step": { + "description": "鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesStatus" + } + ] } } }, @@ -10616,6 +14319,17 @@ } } }, + "request.UpdateBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateCities": { "type": "object", "properties": { @@ -10733,6 +14447,10 @@ "representative": { "description": "娉曚汉浠h〃", "type": "string" + }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", @@ -10961,6 +14679,17 @@ } } }, + "request.UpdateCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateCurrency": { "type": "object", "required": [ @@ -11094,6 +14823,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": [ @@ -11128,6 +14879,84 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateInvoice": { + "type": "object", + "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" + }, + "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" @@ -11285,6 +15114,17 @@ } } }, + "request.UpdatePaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdatePlan": { "type": "object", "properties": { @@ -11316,6 +15156,17 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdatePriorityLevel": { + "type": "object", "properties": { "id": { "type": "integer" @@ -11411,6 +15262,54 @@ "items": { "$ref": "#/definitions/request.UpdateQuotationStatus" } + } + } + }, + "request.UpdateReceipt": { + "type": "object", + "properties": { + "bankAccountId": { + "description": "璐︽埛id", + "type": "integer" + }, + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "paymentTypeId": { + "description": "鏀舵鏂瑰紡ID", + "type": "integer" + }, + "principalId": { + "description": "璐熻矗浜篿d", + "type": "integer" + }, + "receiptDate": { + "description": "鏀舵鏃ユ湡", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", + "type": "integer" } } }, @@ -11918,6 +15817,66 @@ } } }, + "request.UpdateServiceCollectionPlan": { + "type": "object", + "properties": { + "amount": { + "description": "閲戦", + "type": "number" + }, + "collectionDate": { + "description": "璁″垝鏀舵鏃ユ湡", + "type": "string" + }, + "collectionType": { + "description": "绫诲瀷锛�1 璁″垝鏀舵鏃ユ湡 2 椤圭洰鐘舵�侊級", + "type": "integer" + }, + "fileId": { + "description": "闄勪欢id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "moneyType": { + "description": "甯佺", + "type": "string" + }, + "percent": { + "description": "姣斾緥", + "type": "number" + }, + "principalId": { + "description": "鏀舵璐熻矗浜篒D", + "type": "integer" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁�2鏈嶅姟鍚堝悓3閿�鍞彂绁級", + "type": "integer" + }, + "status": { + "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�", + "allOf": [ + { + "$ref": "#/definitions/constvar.CollectionStatus" + } + ] + }, + "term": { + "description": "鏈熸", + "type": "integer" + } + } + }, "request.UpdateServiceContract": { "type": "object", "properties": { @@ -12132,6 +16091,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -12182,6 +16145,140 @@ }, "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" + }, + "contractId": { + "description": "鍚堝悓id", + "type": "integer" + }, + "expectTime": { + "description": "甯屾湜澶勭悊鏃堕棿", + "type": "string" + }, + "faqId": { + "description": "甯歌闂id", + "type": "integer" + }, + "faultTypeId": { + "description": "鏁呴殰绫诲埆id", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "orderId": { + "description": "閿�鍞鍗昳d", + "type": "integer" + }, + "priorityLevelId": { + "description": "浼樺厛绾у埆id", + "type": "integer" + }, + "problemDesc": { + "description": "闂鎻忚堪", + "type": "string" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "realTime": { + "description": "瀹為檯澶勭悊鏃堕棿", + "type": "string" + }, + "remark": { + "description": "澶囨敞", + "type": "string" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "serviceManId": { + "description": "鏈嶅姟浜哄憳", + "type": "integer" + }, + "serviceNumber": { + "description": "鏈嶅姟鍗曠紪鍙�", + "type": "string" + }, + "serviceTypeId": { + "description": "鏈嶅姟鏂瑰紡id", + "type": "integer" + }, + "severity": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, + "solution": { + "description": "瑙e喅鏂规硶", + "type": "string" + }, + "solutionRemark": { + "description": "鍐呴儴澶囨敞", + "type": "string" + }, + "status": { + "description": "澶勭悊鐘舵��", + "type": "integer" + }, + "subject": { + "description": "涓婚", + "type": "string" + }, + "timeSpentId": { + "description": "鑺辫垂鏃堕棿", + "type": "integer" + } + } + }, + "request.UpdateServiceType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdateSeverity": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12266,6 +16363,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "request.UpdateTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12773,6 +16881,21 @@ } } }, + "response.ListResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" + } + } + }, "response.LoginResponse": { "type": "object", "properties": { -- Gitblit v1.8.0