From 4b2c52b17abef8521f9211b4865e1cad0288b12a Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期六, 21 十月 2023 17:47:50 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm --- docs/docs.go | 1246 ++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 682 insertions(+), 564 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 049bf2e..c49c09a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -404,79 +404,6 @@ } } }, - "/api/base/captcha": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鑾峰彇楠岃瘉鐮�", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, - "/api/base/login": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "Base" - ], - "summary": "鐢ㄦ埛鐧诲綍", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Login" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.LoginResponse" - } - } - } - ] - } - } - } - } - }, "/api/city/add": { "post": { "produces": [ @@ -1267,6 +1194,54 @@ "description": "OK", "schema": { "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/code/getCodeList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "缂栫爜" + ], + "summary": "鑾峰彇缂栫爜鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "codeStandID", + "in": "query" + }, + { + "type": "string", + "name": "name", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "type": "string", + "name": "type", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" } } } @@ -3312,7 +3287,7 @@ } }, "/api/invoice/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -3322,43 +3297,13 @@ "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" + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetInvoiceList" + } } ], "responses": { @@ -5521,6 +5466,12 @@ "parameters": [ { "type": "integer", + "description": "瀹㈡埛id", + "name": "clientId", + "in": "query" + }, + { + "type": "integer", "description": "椤电爜", "name": "page", "in": "query" @@ -5559,6 +5510,7 @@ "ReceiptSourceTypeCollectionPlan", "ReceiptSourceTypeChuKuDan" ], + "description": "鏉ユ簮绫诲瀷锛�1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓3閿�鍞彂绁�4鏀舵璁″垝5鍑哄簱鍗曪級", "name": "sourceType", "in": "query" } @@ -5724,6 +5676,142 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateRefundMethods" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "娣诲姞閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRefundType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/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/refundType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundType" + } + } + } + } + ] + } + } + } + } + }, + "/api/refundType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鏇存柊閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRefundType" } } ], @@ -7829,7 +7917,7 @@ } }, "/api/serviceCollectionPlan/list": { - "get": { + "post": { "produces": [ "application/json" ], @@ -7839,28 +7927,13 @@ "summary": "鑾峰彇鏀舵璁″垝鍒楄〃", "parameters": [ { - "type": "integer", - "name": "sourceId", - "in": "query", - "required": true - }, - { - "enum": [ - 1, - 2 - ], - "type": "integer", - "x-enum-comments": { - "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�", - "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓" - }, - "x-enum-varnames": [ - "CollectionSourceTypeSaleDetails", - "CollectionSourceTypeServiceContract" - ], - "name": "sourceType", - "in": "query", - "required": true + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetServiceCollectionPlanList" + } } ], "responses": { @@ -9765,259 +9838,6 @@ } } }, - "/api/user/changePassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鐢ㄦ埛淇敼瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangePasswordReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/deleteUser": { - "delete": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒犻櫎鐢ㄦ埛", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.DeleteUserReq" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鑾峰彇鑷韩淇℃伅", - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/getUserList": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "鍒嗛〉鑾峰彇鐢ㄦ埛鍒楄〃(涓嶄紶鍒嗛〉鍙傛暟锛岃幏鍙栧叏閮�)", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.GetUserList" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.PageResult" - } - } - } - ] - } - } - } - } - }, - "/api/user/register": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "娉ㄥ唽璐﹀彿", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.Register" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "allOf": [ - { - "$ref": "#/definitions/contextx.Response" - }, - { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/response.UserResponse" - } - } - } - ] - } - } - } - } - }, - "/api/user/resetPassword": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "閲嶇疆鐢ㄦ埛瀵嗙爜", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/model.User" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setSelfInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, - "/api/user/setUserInfo": { - "post": { - "produces": [ - "application/json" - ], - "tags": [ - "User" - ], - "summary": "璁剧疆鐢ㄦ埛淇℃伅", - "parameters": [ - { - "description": "鏌ヨ鍙傛暟", - "name": "object", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/request.ChangeUserInfo" - } - } - ], - "responses": { - "200": { - "description": "鎴愬姛", - "schema": { - "$ref": "#/definitions/contextx.Response" - } - } - } - } - }, "/api/vetting/add": { "post": { "produces": [ @@ -10243,6 +10063,69 @@ } }, "definitions": { + "code.CodeAuto": { + "type": "object", + "properties": { + "AutoLength": { + "type": "integer" + }, + "Desc": { + "type": "string" + }, + "PrefixMethod": { + "type": "integer" + }, + "PrefixValue": { + "type": "string" + }, + "SuffixMethod": { + "type": "integer" + } + } + }, + "code.CodeRule": { + "type": "object", + "properties": { + "Desc": { + "type": "string" + }, + "Length": { + "type": "integer" + }, + "Name": { + "type": "string" + } + } + }, + "code.CodeStandard": { + "type": "object", + "properties": { + "AutoRule": { + "$ref": "#/definitions/code.CodeAuto" + }, + "ID": { + "type": "string" + }, + "List": { + "type": "array", + "items": { + "$ref": "#/definitions/code.CodeRule" + } + }, + "Method": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Type": { + "type": "string" + } + } + }, "constvar.BankAccountKeywordType": { "type": "string", "enum": [ @@ -10328,24 +10211,6 @@ ], "x-enum-varnames": [ "FaqQueryClassExpireLessThen60Days" - ] - }, - "constvar.InvoiceKeywordType": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceKeywordCustomerName" - ] - }, - "constvar.InvoiceQueryClass": { - "type": "string", - "enum": [ - "" - ], - "x-enum-varnames": [ - "InvoiceQueryClassExpireLessThen60Days" ] }, "constvar.InvoiceSourceType": { @@ -10869,6 +10734,9 @@ "client_type_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contacts": { "type": "array", "items": { @@ -11064,6 +10932,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "country": { "$ref": "#/definitions/model.Country" }, @@ -11134,6 +11005,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "country": { "$ref": "#/definitions/model.Country" @@ -11213,6 +11087,12 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" + }, + "contractName": { + "type": "string" }, "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", @@ -11360,6 +11240,9 @@ }, "client_status_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" @@ -11558,6 +11441,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "end_time": { "type": "string" @@ -11784,6 +11670,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "conditions": { "type": "string" }, @@ -11813,6 +11702,9 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "type": "string" }, "quotation_status": { "$ref": "#/definitions/model.QuotationStatus" @@ -11943,6 +11835,17 @@ } } }, + "model.RefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Region": { "type": "object", "properties": { @@ -12022,6 +11925,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "collection_projections": { "type": "array", "items": { @@ -12091,6 +11997,12 @@ "process": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "projected_amount": { "type": "number" }, @@ -12137,7 +12049,7 @@ "type": "string" }, "status_id": { - "type": "integer" + "$ref": "#/definitions/model.Status" }, "threats": { "type": "string" @@ -12206,6 +12118,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "conditions": { "type": "string" @@ -12284,6 +12199,9 @@ "city_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact_name": { "type": "string" }, @@ -12355,6 +12273,14 @@ "model.SalesRefund": { "type": "object", "properties": { + "RefundType": { + "description": "閫�娆炬柟寮�", + "allOf": [ + { + "$ref": "#/definitions/model.RefundType" + } + ] + }, "Source": { "$ref": "#/definitions/model.SalesReturn" }, @@ -12374,6 +12300,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "createTime": { "type": "string" @@ -12414,6 +12343,10 @@ }, "refundDate": { "type": "string" + }, + "refundTypeId": { + "description": "閫�娆炬柟寮廔D", + "type": "integer" }, "sourceId": { "description": "婧愬崟id", @@ -12459,6 +12392,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "createTime": { "type": "string" @@ -12666,6 +12602,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, @@ -12806,6 +12745,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, @@ -12902,6 +12844,9 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeStandID": { + "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" @@ -13108,6 +13053,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "id": { "type": "integer" @@ -13348,6 +13296,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -13547,6 +13502,17 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" }, "file": { "type": "string" @@ -13807,6 +13773,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -13923,6 +13896,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -13943,6 +13923,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -14067,6 +14051,17 @@ } } }, + "request.AddRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -14138,6 +14133,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "competitors": { "type": "string" }, @@ -14185,6 +14187,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -14258,6 +14266,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -14310,6 +14325,13 @@ "properties": { "city_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact_name": { "description": "鑱旂郴浜哄鍚�", @@ -14430,6 +14452,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14534,6 +14563,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -14624,6 +14660,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14684,6 +14727,13 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contactId": { "description": "鑱旂郴浜篿d", @@ -14836,6 +14886,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "masterOrderId": { "type": "integer" }, @@ -14940,48 +14997,6 @@ }, "path": { "description": "璺緞", - "type": "string" - } - } - }, - "request.ChangePasswordReq": { - "type": "object", - "properties": { - "newPassword": { - "description": "鏂板瘑鐮�", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - } - } - }, - "request.ChangeUserInfo": { - "type": "object", - "properties": { - "email": { - "description": "鐢ㄦ埛閭", - "type": "string" - }, - "headerImg": { - "description": "鐢ㄦ埛澶村儚", - "type": "string" - }, - "id": { - "description": "鐢ㄦ埛ID", - "type": "string" - }, - "nickName": { - "description": "鐢ㄦ埛鏄电О", - "type": "string" - }, - "phone": { - "description": "鐢ㄦ埛鎵嬫満鍙�", - "type": "string" - }, - "pos": { - "description": "鐢ㄦ埛宀椾綅", "type": "string" } } @@ -15215,15 +15230,6 @@ } } }, - "request.DeleteUserReq": { - "type": "object", - "properties": { - "userId": { - "description": "鐢ㄦ埛ID", - "type": "string" - } - } - }, "request.DownloadFile": { "type": "object", "required": [ @@ -15259,6 +15265,12 @@ }, "client_status_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "type": "string" }, "contact_id": { "type": "integer" @@ -15319,6 +15331,10 @@ "request.GetContactList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" @@ -15389,6 +15405,30 @@ "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"璺熻繘涓婚\", \"member_name\": \"璺熻繘浜篭", \"client_name\": \"瀹㈡埛鍚嶇О\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"follow_time\": \"璺熻繘鏃堕棿\", \"next_follow_time\": \"涓嬫璺熻繘鏃堕棿\", \"record\": \"璺熻繘璁板綍\", \"phone\": \"鑱旂郴浜虹數璇漒", \"contact_name\": \"鑱旂郴浜哄鍚峔", \"sales_leads_id\": \"閿�鍞嚎绱d\", \"sale_chance_id\": \"閿�鍞満浼歩d\"}", "type": "object", "additionalProperties": true + } + } + }, + "request.GetInvoiceList": { + "type": "object", + "properties": { + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "sourceId": { + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)", + "allOf": [ + { + "$ref": "#/definitions/constvar.InvoiceSourceType" + } + ] } } }, @@ -15481,11 +15521,19 @@ "request.GetSalesDetailsList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, "keywordType": { "$ref": "#/definitions/constvar.SalesDetailsKeywordType" + }, + "number": { + "description": "閿�鍞瓙鍗曞彿", + "type": "string" }, "page": { "description": "椤电爜", @@ -15493,6 +15541,10 @@ }, "pageSize": { "description": "姣忛〉澶у皬", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", "type": "integer" } } @@ -15531,12 +15583,19 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "type": "integer" } } }, "request.GetSalesReturnList": { "type": "object", "properties": { + "clientId": { + "description": "瀹㈡埛id", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15550,12 +15609,43 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "sourceId": { + "description": "婧愬崟id", + "type": "integer" + }, + "sourceType": { + "description": "婧愬崟绫诲瀷锛�1閿�鍞槑缁嗭級", + "allOf": [ + { + "$ref": "#/definitions/constvar.SalesReturnSourceType" + } + ] + } + } + }, + "request.GetServiceCollectionPlanList": { + "type": "object", + "required": [ + "sourceId", + "sourceType" + ], + "properties": { + "sourceId": { + "type": "integer" + }, + "sourceType": { + "$ref": "#/definitions/constvar.CollectionSourceType" } } }, "request.GetServiceContractList": { "type": "object", "properties": { + "contactId": { + "description": "鑱旂郴浜篿d", + "type": "integer" + }, "keyword": { "type": "string" }, @@ -15572,6 +15662,18 @@ }, "queryClass": { "$ref": "#/definitions/constvar.ServiceContractQueryClass" + }, + "quotationId": { + "description": "鎶ヤ环鍗昳d", + "type": "integer" + }, + "saleChanceId": { + "description": "閿�鍞満浼歩d", + "type": "integer" + }, + "salesDetailsId": { + "description": "鍚堝悓璁㈠崟id", + "type": "integer" } } }, @@ -15666,44 +15768,6 @@ } } }, - "request.GetUserList": { - "type": "object", - "properties": { - "keyword": { - "description": "妯$硦鏌ヨ鍏抽敭瀛�", - "type": "string" - }, - "page": { - "description": "椤电爜", - "type": "integer" - }, - "pageSize": { - "description": "姣忛〉澶у皬", - "type": "integer" - } - } - }, - "request.Login": { - "type": "object", - "properties": { - "captcha": { - "description": "楠岃瘉鐮�", - "type": "string" - }, - "captchaId": { - "description": "楠岃瘉鐮両D", - "type": "string" - }, - "password": { - "description": "瀵嗙爜", - "type": "string" - }, - "username": { - "description": "鐢ㄦ埛鍚�", - "type": "string" - } - } - }, "request.Plan": { "type": "object", "properties": { @@ -15770,52 +15834,6 @@ } } }, - "request.Register": { - "type": "object", - "properties": { - "authorityId": { - "description": "鐢ㄦ埛瑙掕壊ID", - "type": "integer" - }, - "departmentId": { - "type": "integer" - }, - "email": { - "type": "string" - }, - "headerImg": { - "type": "string" - }, - "id": { - "type": "string" - }, - "nickName": { - "type": "string" - }, - "password": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "pos": { - "type": "string" - }, - "rePassword": { - "description": "纭瀵嗙爜", - "type": "string" - }, - "realName": { - "type": "string" - }, - "userType": { - "$ref": "#/definitions/constvar.UserType" - }, - "username": { - "type": "string" - } - } - }, "request.SalesDetails": { "type": "object", "properties": { @@ -15827,6 +15845,13 @@ }, "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "conditions": { "type": "string" @@ -15889,6 +15914,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "isInvoice": { "type": "string" }, @@ -15933,6 +15965,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "memberId": { "type": "integer" @@ -16128,6 +16167,13 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" @@ -16413,6 +16459,17 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, + "contractName": { + "description": "鍚堝悓鍚嶇О", + "type": "string" }, "file": { "type": "string" @@ -16808,6 +16865,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -16985,6 +17049,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -17008,6 +17079,10 @@ "items": { "$ref": "#/definitions/model.Product" } + }, + "quotationName": { + "description": "鎶ヤ环鍗曞悕绉�", + "type": "string" }, "quotation_status_id": { "type": "integer" @@ -17165,6 +17240,17 @@ "items": { "$ref": "#/definitions/request.UpdateRefundMethod" } + } + } + }, + "request.UpdateRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" } } }, @@ -17327,6 +17413,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "competitors": { "type": "string" }, @@ -17377,6 +17470,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -17490,6 +17589,13 @@ "properties": { "city_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact_name": { "description": "鑱旂郴浜哄鍚�", @@ -17740,6 +17846,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -17865,6 +17978,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -17956,6 +18076,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -18019,6 +18146,13 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contactId": { "description": "鑱旂郴浜篿d", @@ -18209,6 +18343,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "id": { "type": "integer" @@ -18846,21 +18987,6 @@ } } }, - "response.PageResult": { - "type": "object", - "properties": { - "list": {}, - "page": { - "type": "integer" - }, - "pageSize": { - "type": "integer" - }, - "total": { - "type": "integer" - } - } - }, "response.PlanResponse": { "type": "object", "properties": { @@ -19188,14 +19314,6 @@ "items": { "$ref": "#/definitions/model.TimelyRate" } - } - } - }, - "response.UserResponse": { - "type": "object", - "properties": { - "user": { - "$ref": "#/definitions/model.User" } } } -- Gitblit v1.8.0