From 7f8a45a749419c3da5b81c4683f0b8034f5280f3 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 25 七月 2023 15:20:09 +0800
Subject: [PATCH] fix
---
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