From f1fac6447debc8136f931b85a946de7d5b205481 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 03 十一月 2023 16:56:24 +0800
Subject: [PATCH] swagger修改

---
 constvar/const.go |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index 5c6a63f..ff95383 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -184,3 +184,18 @@
 	PostType_Soon       PostType = iota + 1 //灏藉揩
 	PostType_AfterReady                     //褰撴墍鏈変骇鍝佸氨缁椂
 )
+
+type RuleType int
+
+const (
+	RuleType_Product         RuleType = iota + 1 //浜у搧涓婃灦瑙勫垯
+	RuleType_ProductCategory                     //浜у搧绫诲埆涓婃灦瑙勫垯
+)
+
+type UserType int
+
+const (
+	UserTypeSuper   UserType = iota + 1 // 瓒呯骇绠$悊鍛�
+	UserTypePrimary                     // 涓昏处鎴�
+	UserTypeSub                         // 瀛愯处鎴�
+)

--
Gitblit v1.8.0