From 090680391d6c9d51e31d30319ab6d35cc937aaf3 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 09 八月 2023 14:42:26 +0800 Subject: [PATCH] 服务合同列表增加关联内容返回 --- docs/docs.go | 4074 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 4,064 insertions(+), 10 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 9d0da4f..cce75ae 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -241,6 +241,169 @@ } } }, + "/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" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/base/captcha": { "post": { "produces": [ @@ -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": [ @@ -2345,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" } } ], @@ -3022,6 +4222,169 @@ } } }, + "/api/paymentType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "娣诲姞鏀粯鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddPaymentType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/paymentType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鍒犻櫎鏀粯鏂瑰紡", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/paymentType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鑾峰彇鏀粯鏂瑰紡鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "PaymentTypeKeywordCustomerName" + ], + "name": "keywordType", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "enum": [ + "" + ], + "type": "string", + "x-enum-varnames": [ + "PaymentTypeQueryClassExpireLessThen60Days" + ], + "name": "queryClass", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.PaymentType" + } + } + } + } + ] + } + } + } + } + }, + "/api/paymentType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏀粯鏂瑰紡绠$悊" + ], + "summary": "鏇存柊鏀粯鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdatePaymentType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/plan/add": { "post": { "produces": [ @@ -3266,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" + } + } + } + } + ] } } } @@ -3665,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" } } ], @@ -5019,6 +6767,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": [ @@ -5666,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": [ @@ -5734,7 +7642,7 @@ "tags": [ "ServiceContract" ], - "summary": "鐢熸垚璁″垝鍒楄〃", + "summary": "鏈嶅姟鍚堝悓鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -6300,6 +8208,372 @@ } } }, + "/api/serviceOrder/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "娣诲姞鏈嶅姟鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鍒犻櫎鏈嶅姟鍗�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceOrder/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鑾峰彇鏈嶅姟鍗曞垪琛�", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceOrder" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceOrder/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鍗曠鐞�" + ], + "summary": "鏇存柊鏈嶅姟鍗�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceOrder" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "娣诲姞鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鍒犻櫎鏈嶅姟鏂瑰紡", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/serviceType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鑾峰彇鏈嶅姟鏂瑰紡鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceType" + } + } + } + } + ] + } + } + } + } + }, + "/api/serviceType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鏈嶅姟鏂瑰紡绠$悊" + ], + "summary": "鏇存柊鏈嶅姟鏂瑰紡", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateServiceType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "娣诲姞涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddSeverity" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鍒犻櫎涓ラ噸绋嬪害", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/severity/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鑾峰彇涓ラ噸绋嬪害鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Severity" + } + } + } + } + ] + } + } + } + } + }, + "/api/severity/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "涓ラ噸绋嬪害绠$悊" + ], + "summary": "鏇存柊涓ラ噸绋嬪害", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSeverity" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, "/api/solveRate/add": { "post": { "produces": [ @@ -6643,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" } } ], @@ -7090,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": [ + -1, 1, 2, 3, 4, - 5, - 6 + 5 ], "x-enum-comments": { "SalesStatusFail": "澶辫触", "SalesStatusIng": "杩涜涓�", "SalesStatusLevelUptoClient": "鍗囩骇涓哄鎴�", "SalesStatusLevelUptoClientAndSalesChance": "鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�", + "SalesStatusNew": "鏂板缓", "SalesStatusSuccess": "鎴愬姛" }, "x-enum-varnames": [ + "SalesStatusFail", "SalesStatusNew", "SalesStatusIng", "SalesStatusSuccess", - "SalesStatusFail", "SalesStatusLevelUptoClient", "SalesStatusLevelUptoClientAndSalesChance" + ] + }, + "constvar.ServiceContractKeywordType": { + "type": "string", + "enum": [ + "鏈嶅姟鍚堝悓缂栧彿", + "瀹㈡埛鍚嶇О", + "绛剧害鏃ユ湡", + "鍚堝悓绫诲瀷", + "鍚堝悓鐘舵��", + "璐熻矗浜�", + "浜у搧鍚嶇О", + "鏈嶅姟寮�濮嬫棩", + "鏈嶅姟鍒版湡鏃�", + "浠风◣鍚堣" + ], + "x-enum-varnames": [ + "ServiceContractKeywordContractNo", + "ServiceContractKeywordCustomerName", + "ServiceContractKeywordContractDate", + "ServiceContractKeywordContractType", + "ServiceContractKeywordContractStatus", + "ServiceContractKeywordPrincipal", + "ServiceContractKeywordProductName", + "ServiceContractKeywordServiceBeginDate", + "ServiceContractKeywordServiceEndDate", + "ServiceContractKeywordServiceTotalPrice" + ] + }, + "constvar.ServiceContractQueryClass": { + "type": "string", + "enum": [ + "30澶╁悗杩囨湡", + "60澶╁悗杩囨湡", + "宸茶繃鏈�15澶�", + "宸茶繃鏈�60澶�" + ], + "x-enum-varnames": [ + "ServiceContractQueryClassExpireAfter30Day", + "ServiceContractQueryClassExpireAfter60Day", + "ServiceContractQueryClassExpiredBefore15Day", + "ServiceContractQueryClassExpiredBefore60Day" + ] + }, + "constvar.ServiceFeeKeywordType": { + "type": "string", + "enum": [ + "瀹㈡埛鍚嶇О", + "瀹㈡埛绫诲瀷", + "閿�鍞礋璐d汉", + "瀹㈡埛瑙勬ā", + "閲嶈绾у埆", + "瀹㈡埛缂栧彿", + "瀹㈡埛鐘舵��", + "浜у搧鍚嶇О", + "鏈嶅姟鍒版湡鏃�" + ], + "x-enum-varnames": [ + "ServiceFeeKeywordCustomerName", + "ServiceFeeKeywordCustomerType", + "ServiceFeeKeywordSalesPrincipal", + "ServiceFeeKeywordCustomerScale", + "ServiceFeeKeywordClientLevel", + "ServiceFeeKeywordCustomerNo", + "ServiceFeeKeywordCustomerStatus", + "ServiceFeeKeywordProductName", + "ServiceFeeKeywordServiceEndDate" + ] + }, + "constvar.ServiceFeeQueryClass": { + "type": "string", + "enum": [ + "杩囨湡鏈弧60澶�", + "杩囨湡鏈弧30澶�", + "鍗冲皢杩囨湡60澶�", + "鍗冲皢杩囨湡30澶�", + "宸茶繃鏈�", + "鏃犳湇鍔�" + ], + "x-enum-varnames": [ + "ServiceFeeQueryClassExpireLessThen60Days", + "ServiceFeeQueryClassExpireLessThen30Days", + "ServiceFeeQueryClassExpireAboutTo60Day", + "ServiceFeeQueryClassExpireAboutTo30Day", + "ServiceFeeQueryClassExpired", + "ServiceFeeQueryClassNoService" + ] + }, + "constvar.ServiceFollowupKeywordType": { + "type": "string", + "enum": [ + "鍥炶鍗曠紪鍙�", + "瀹㈡埛鍚嶇О", + "鑱旂郴浜哄鍚�", + "瀹㈡埛鏈嶅姟鍗�", + "鍥炶浜�", + "婊℃剰搴�" + ], + "x-enum-varnames": [ + "ServiceFollowupKeywordFollowupNo", + "ServiceFollowupKeywordCustomerName", + "ServiceFollowupKeywordContactName", + "ServiceFollowupKeywordCustomerServiceNo", + "ServiceFollowupKeywordVisitor", + "ServiceFollowupKeywordSatisfactionDegree" ] }, "constvar.UserType": { @@ -7177,6 +9849,17 @@ "items": { "$ref": "#/definitions/model.Menu" } + } + } + }, + "model.BankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -7277,6 +9960,9 @@ }, "latest_service_time": { "type": "string" + }, + "member": { + "$ref": "#/definitions/model.User" }, "member_id": { "type": "integer" @@ -7551,6 +10237,17 @@ } } }, + "model.CourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Currency": { "type": "object", "properties": { @@ -7621,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": { @@ -7678,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": { @@ -7815,6 +10628,17 @@ } } }, + "model.PaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Plan": { "type": "object", "properties": { @@ -7857,6 +10681,17 @@ } }, "model.Possibility": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "model.PriorityLevel": { "type": "object", "properties": { "id": { @@ -7962,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" } } }, @@ -8297,6 +11180,9 @@ "province_id": { "type": "integer" }, + "reason": { + "type": "string" + }, "region": { "$ref": "#/definitions/model.Region" }, @@ -8417,16 +11303,88 @@ } } }, + "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": { + "SaleChance": { + "$ref": "#/definitions/model.SaleChance" + }, + "amountInvoiced": { + "description": "宸插紑绁ㄩ噾棰�", + "type": "number" + }, + "amountReceivable": { + "description": "搴旀敹閲戦", + "type": "number" + }, + "amountReceived": { + "description": "宸叉敹閲戦", + "type": "number" + }, "clientId": { "type": "integer" }, "contactId": { - "type": "integer" - }, - "contractId": { "type": "integer" }, "endTime": { @@ -8447,6 +11405,9 @@ "$ref": "#/definitions/model.Product" } }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, "quotationId": { "type": "integer" }, @@ -8456,8 +11417,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" @@ -8566,11 +11539,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" } } }, @@ -8622,6 +11764,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "model.TimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8688,6 +11841,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": [ @@ -8710,6 +11901,17 @@ "items": { "$ref": "#/definitions/request.CasbinInfo" } + } + } + }, + "request.AddBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -8814,6 +12016,10 @@ "representative": { "description": "娉曚汉浠h〃", "type": "string" + }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", @@ -8952,6 +12158,17 @@ } } }, + "request.AddCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddCurrency": { "type": "object", "required": [ @@ -9016,6 +12233,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": [ @@ -9033,6 +12272,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" } @@ -9126,6 +12444,17 @@ } } }, + "request.AddPaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddPlan": { "type": "object", "properties": { @@ -9140,6 +12469,17 @@ "name" ], "properties": { + "name": { + "type": "string" + } + } + }, + "request.AddPriorityLevel": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, "name": { "type": "string" } @@ -9194,6 +12534,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" } } }, @@ -9493,6 +12881,20 @@ } } }, + "request.AddServiceCollectionPlan": { + "type": "object", + "required": [ + "list" + ], + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.ServiceCollectionPlan" + } + } + } + }, "request.AddServiceContract": { "type": "object", "properties": { @@ -9667,6 +13069,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -9717,6 +13123,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": [ @@ -9759,6 +13296,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "request.AddTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -10044,6 +13592,33 @@ } } }, + "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" + } + } + }, "request.FollowRecord": { "type": "object", "properties": { @@ -10103,6 +13678,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 } @@ -10137,6 +13713,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" } } }, @@ -10255,9 +13853,6 @@ "request.GetSalesLeadsList": { "type": "object", "properties": { - "keyword": { - "type": "string" - }, "page": { "description": "椤电爜", "type": "integer" @@ -10265,6 +13860,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 } } }, @@ -10306,6 +13906,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceContractKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10313,6 +13916,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceContractQueryClass" } } }, @@ -10322,6 +13928,9 @@ "keyword": { "type": "string" }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFeeKeywordType" + }, "page": { "description": "椤电爜", "type": "integer" @@ -10329,6 +13938,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "queryClass": { + "$ref": "#/definitions/constvar.ServiceFeeQueryClass" } } }, @@ -10337,6 +13949,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "椤电爜", @@ -10431,6 +14046,25 @@ }, "subOrderId": { "type": "integer" + } + } + }, + "request.PushSalesLeads": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "step": { + "description": "鍟嗘満鐘舵��: 1: 璺熻繘涓�; -1:澶辫触", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesStatus" + } + ] } } }, @@ -10697,6 +14331,17 @@ } } }, + "request.UpdateBankAccount": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateCities": { "type": "object", "properties": { @@ -10814,6 +14459,10 @@ "representative": { "description": "娉曚汉浠h〃", "type": "string" + }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", @@ -11042,6 +14691,17 @@ } } }, + "request.UpdateCourierCompany": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateCurrency": { "type": "object", "required": [ @@ -11175,6 +14835,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": [ @@ -11209,6 +14891,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" @@ -11366,6 +15126,17 @@ } } }, + "request.UpdatePaymentType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdatePlan": { "type": "object", "properties": { @@ -11397,6 +15168,17 @@ "id", "name" ], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, + "request.UpdatePriorityLevel": { + "type": "object", "properties": { "id": { "type": "integer" @@ -11492,6 +15274,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" } } }, @@ -11999,6 +15829,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": { @@ -12213,6 +16103,10 @@ "description": "娉曚汉浠h〃", "type": "string" }, + "sales_leads_id": { + "description": "閿�鍞嚎绱D", + "type": "integer" + }, "service_member_id": { "description": "鏈嶅姟璐熻矗浜篒D", "type": "integer" @@ -12263,6 +16157,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" } } }, @@ -12347,6 +16375,17 @@ "items": { "$ref": "#/definitions/model.Product" } + } + } + }, + "request.UpdateTimeSpent": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -12854,6 +16893,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