From 504f3e9bc274bcd6c7221e738802e0e5d4aef36f Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期四, 20 六月 2024 17:07:02 +0800
Subject: [PATCH] 查询属性值和对象 通过主键ID查询

---
 router/router.go |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/router/router.go b/router/router.go
index e6e6faf..9376dd6 100644
--- a/router/router.go
+++ b/router/router.go
@@ -135,6 +135,7 @@
 		productAPI.GET("getUserInfo", productController.GetUserInfo)       //鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅
 		productAPI.GET("getUnitInfo", productController.GetUnitInfo)       //鑾峰彇鍗曚綅淇℃伅
 		productAPI.POST("saveUnitDict", productController.SaveUnitDict)    //鏇存柊璁¢噺鍗曚綅瀛楀吀
+		productAPI.POST("inputProduct", productController.InputProduct)    //鏇存柊璁¢噺鍗曚綅瀛楀吀
 
 	}
 
@@ -204,7 +205,9 @@
 	{
 		attributeValueAPI.POST("add", attributeValueController.AddAttributeValue)
 		attributeValueAPI.POST("update", attributeValueController.UpdateAttributeValue)
-		attributeValueAPI.DELETE("delete/:id", attributeValueController.DeleteAttributeValue) //鍒犻櫎浣嶇疆
+		attributeValueAPI.DELETE("delete/:id", attributeValueController.DeleteAttributeValue) //鍒犻櫎
+		attributeValueAPI.POST("list", attributeValueController.ListAttributeValue)
+		attributeValueAPI.GET("primary/:id", attributeValueController.PrimaryAttributeValue) //鍒犻櫎
 	}
 
 	return r

--
Gitblit v1.8.0