From 32209cfd10c7b96fd3a8a4336fe8227a673e0c4e Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期五, 28 六月 2024 16:29:17 +0800
Subject: [PATCH] 调拨、入库、出库按类型配置字典类(1 调拨 2 入库 3 出库)

---
 controllers/dict_controller.go |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/controllers/dict_controller.go b/controllers/dict_controller.go
index 8c8d8fb..21df86c 100644
--- a/controllers/dict_controller.go
+++ b/controllers/dict_controller.go
@@ -16,7 +16,7 @@
 // AddMiniDict
 //
 //	@Tags		鏁版嵁瀛楀吀
-//	@Summary	娣诲姞杩蜂綘瀛楀吀
+//	@Summary	娣诲姞瀛楀吀淇℃伅
 //	@Produce	application/json
 //	@Param		object	body		request.AddMiniDict	true	"鍙傛暟"
 //	@Success	200		{object}	util.Response		"鎴愬姛"
@@ -56,7 +56,7 @@
 // EditMiniDict
 //
 //	@Tags		鏁版嵁瀛楀吀
-//	@Summary	缂栬緫杩蜂綘瀛楀吀
+//	@Summary	缂栬緫瀛楀吀淇℃伅
 //	@Produce	application/json
 //	@Param		object	body		request.EditMiniDict	true	"鍙傛暟"
 //	@Success	200		{object}	util.Response			"鎴愬姛"
@@ -100,8 +100,8 @@
 
 // DeleteMiniDict
 //
-//	@Tags		灞炴�у�煎拰瀵硅薄
-//	@Summary	鍒犻櫎灞炴�у�煎拰瀵硅薄
+//	@Tags		鏁版嵁瀛楀吀
+//	@Summary	鍒犻櫎瀛楀吀淇℃伅
 //	@Param		id	path		string			true	"id"
 //	@Success	200	{object}	util.Response	"鎴愬姛"
 //	@Router		/api-wms/v1/dict/delete/{id} [delete]
@@ -177,12 +177,12 @@
 
 // GetMiniDictList
 //
-//		@Tags		鏁版嵁瀛楀吀
-//		@Summary	鑾峰彇杩蜂綘瀛楀吀鍒楄〃
-//		@Produce	application/json
-//	 @Param		object	query		request.GetMiniDictList	true	"鍙傛暟"
-//		@Success	200		{object}	util.ResponseList{data=[]models.MiniDict}	"鎴愬姛"
-//		@Router		/api-wms/v1/dict/getDictList [get]
+//	@Tags		鏁版嵁瀛楀吀
+//	@Summary	鑾峰彇瀛楀吀淇℃伅鍒楄〃
+//	@Produce	application/json
+//	 @Param		object	body		request.GetMiniDictList	true	"鍙傛暟"
+//	@Success	200		{object}	util.ResponseList{data=[]models.MiniDict}	"鎴愬姛"
+//	@Router		/api-wms/v1/dict/getDictList [post]
 func (slf DictController) GetMiniDictList(c *gin.Context) {
 	var params request.GetMiniDictList
 	if err := c.BindJSON(&params); err != nil {

--
Gitblit v1.8.0