From c6d19b35b74d020b3ca28d33101d8f1695e39945 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 21 七月 2023 13:49:25 +0800
Subject: [PATCH] ignore

---
 api/v1/orderManage.go |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/api/v1/orderManage.go b/api/v1/orderManage.go
index 61e6a79..a295dfc 100644
--- a/api/v1/orderManage.go
+++ b/api/v1/orderManage.go
@@ -15,7 +15,7 @@
 // Add
 //
 //	@Tags		OrderManage
-//	@Summary	娣诲姞璁㈠崟
+//	@Summary	娣诲姞宸ュ崟
 //	@Produce	application/json
 //	@Param		object	body		request.AddOrderManage	true	"鏌ヨ鍙傛暟"
 //	@Success	200		{object}	contextx.Response{}
@@ -45,7 +45,7 @@
 // Delete
 //
 //	@Tags		OrderManage
-//	@Summary	鍒犻櫎璁㈠崟
+//	@Summary	鍒犻櫎宸ュ崟
 //	@Produce	application/json
 //	@Param		id	path		int	true	"鏌ヨ鍙傛暟"
 //	@Success	200	{object}	contextx.Response{}
@@ -69,7 +69,7 @@
 // Update
 //
 //	@Tags		OrderManage
-//	@Summary	鏇存柊璁㈠崟
+//	@Summary	鏇存柊宸ュ崟
 //	@Produce	application/json
 //	@Param		object	body		request.UpdateOrderManage	true	"鏌ヨ鍙傛暟"
 //	@Success	200		{object}	contextx.Response{}
@@ -87,6 +87,8 @@
 		return
 	}
 
+	orderManage.Id = params.Id
+
 	errCode = orderManageService.UpdateOrderManage(&orderManage)
 	if errCode != ecode.OK {
 		ctx.Fail(errCode)
@@ -99,7 +101,7 @@
 // List
 //
 //	@Tags		OrderManage
-//	@Summary	璁㈠崟鍒楄〃
+//	@Summary	宸ュ崟鍒楄〃
 //	@Produce	application/json
 //	@Success	200	{object}	contextx.Response{}
 //	@Router		/api/orderManage/list [get]

--
Gitblit v1.8.0