From 3f1fb8181a80624ec3f77412040777892a462fdc Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期一, 30 十月 2023 19:42:05 +0800 Subject: [PATCH] 上架规则支持产品类别 --- docs/docs.go | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 56f55bb..f287150 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2172,6 +2172,21 @@ "ReservationMethodByDate" ] }, + "constvar.RuleType": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "RuleType_Product": "浜у搧涓婃灦瑙勫垯", + "RuleType_ProductCategory": "浜у搧绫诲埆涓婃灦瑙勫垯" + }, + "x-enum-varnames": [ + "RuleType_Product", + "RuleType_ProductCategory" + ] + }, "constvar.WhetherType": { "type": "integer", "enum": [ @@ -2836,6 +2851,14 @@ "productId": { "description": "浜у搧id", "type": "string" + }, + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, @@ -3388,6 +3411,14 @@ "productId": { "description": "浜у搧id", "type": "string" + }, + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, -- Gitblit v1.8.0