From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- docs/docs.go | 368 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 368 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 049bf2e..ed04f35 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1272,6 +1272,54 @@ } } }, + "/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" + } + } + } + } + }, "/api/collectionProjection/add": { "post": { "produces": [ @@ -10243,6 +10291,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": [ @@ -10869,6 +10980,9 @@ "client_type_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contacts": { "type": "array", "items": { @@ -11064,6 +11178,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "country": { "$ref": "#/definitions/model.Country" }, @@ -11134,6 +11251,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "country": { "$ref": "#/definitions/model.Country" @@ -11213,6 +11333,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "created_at": { "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", @@ -11360,6 +11483,9 @@ }, "client_status_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" @@ -11558,6 +11684,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "end_time": { "type": "string" @@ -11783,6 +11912,9 @@ }, "client_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "conditions": { "type": "string" @@ -12022,6 +12154,9 @@ "client_id": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "collection_projections": { "type": "array", "items": { @@ -12207,6 +12342,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "conditions": { "type": "string" }, @@ -12283,6 +12421,9 @@ }, "city_id": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "contact_name": { "type": "string" @@ -12375,6 +12516,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "createTime": { "type": "string" }, @@ -12459,6 +12603,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "createTime": { "type": "string" @@ -12666,6 +12813,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, @@ -12806,6 +12956,9 @@ "clientId": { "type": "integer" }, + "codeStandID": { + "type": "string" + }, "contact": { "$ref": "#/definitions/model.Contact" }, @@ -12902,6 +13055,9 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeStandID": { + "type": "string" }, "contact": { "$ref": "#/definitions/model.Contact" @@ -13108,6 +13264,9 @@ }, "clientId": { "type": "integer" + }, + "codeStandID": { + "type": "string" }, "id": { "type": "integer" @@ -13348,6 +13507,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -13492,6 +13658,13 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -13547,6 +13720,13 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "file": { "type": "string" @@ -13807,6 +13987,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -13922,6 +14109,13 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "conditions": { "type": "string" @@ -14138,6 +14332,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "competitors": { "type": "string" }, @@ -14258,6 +14459,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -14310,6 +14518,13 @@ "properties": { "city_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact_name": { "description": "鑱旂郴浜哄鍚�", @@ -14430,6 +14645,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14534,6 +14756,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -14624,6 +14853,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -14684,6 +14920,13 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contactId": { "description": "鑱旂郴浜篿d", @@ -14835,6 +15078,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "masterOrderId": { "type": "integer" @@ -15023,6 +15273,13 @@ "client_id": { "description": "鎵�灞炲叕鍙窱D", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "country_id": { "description": "鍥藉ID", @@ -15259,6 +15516,12 @@ }, "client_status_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "type": "string" }, "contact_id": { "type": "integer" @@ -15828,6 +16091,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "conditions": { "type": "string" }, @@ -15889,6 +16159,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "isInvoice": { "type": "string" }, @@ -15933,6 +16210,13 @@ "properties": { "clientId": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "memberId": { "type": "integer" @@ -16128,6 +16412,13 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact": { "$ref": "#/definitions/request.Contact" @@ -16355,6 +16646,13 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -16413,6 +16711,13 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "file": { "type": "string" @@ -16808,6 +17113,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "end_time": { "type": "string" }, @@ -16984,6 +17296,13 @@ "properties": { "client_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "conditions": { "type": "string" @@ -17327,6 +17646,13 @@ "client_id": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "competitors": { "type": "string" }, @@ -17490,6 +17816,13 @@ "properties": { "city_id": { "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contact_name": { "description": "鑱旂郴浜哄鍚�", @@ -17740,6 +18073,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -17865,6 +18205,13 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contact": { "$ref": "#/definitions/request.Contact" }, @@ -17956,6 +18303,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "contactId": { "type": "integer" }, @@ -18019,6 +18373,13 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" + }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" }, "contactId": { "description": "鑱旂郴浜篿d", @@ -18210,6 +18571,13 @@ "clientId": { "type": "integer" }, + "codeRule": { + "$ref": "#/definitions/code.CodeStandard" + }, + "codeStandID": { + "description": "缂栫爜id", + "type": "string" + }, "id": { "type": "integer" }, -- Gitblit v1.8.0