From 9a7e0a7da01a9f9625ceaca0c61a59c540c6438f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 18 八月 2023 17:32:10 +0800
Subject: [PATCH] fix

---
 api/v1/customerServiceSheet.go |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/api/v1/customerServiceSheet.go b/api/v1/customerServiceSheet.go
index 730f157..6e3d362 100644
--- a/api/v1/customerServiceSheet.go
+++ b/api/v1/customerServiceSheet.go
@@ -71,8 +71,8 @@
 //	@Tags		CustomerServiceSheet
 //	@Summary	鏇存柊瀹㈡湇鍗�
 //	@Produce	application/json
-//	@Param		object	body		request.UpdateCustomerServiceSheet true	"鏌ヨ鍙傛暟"
-//	@Success	200	{object}	contextx.Response{}
+//	@Param		object	body		request.UpdateCustomerServiceSheet	true	"鏌ヨ鍙傛暟"
+//	@Success	200		{object}	contextx.Response{}
 //	@Router		/api/customerServiceSheet/update/{id} [put]
 func (s *CustomerServiceSheetApi) Update(c *gin.Context) {
 	var params request.UpdateCustomerServiceSheet
@@ -122,13 +122,13 @@
 
 // checkCustomerServiceSheetParams
 func checkCustomerServiceSheetParams(customerServiceSheet request.CustomerServiceSheet) (errCode int, newCustomerServiceSheet model.CustomerServiceSheet) {
-	if customerServiceSheet.Number == "" {
-		return ecode.InvalidParams, model.CustomerServiceSheet{}
-	}
+	//if customerServiceSheet.Number == "" {
+	//	return ecode.InvalidParams, model.CustomerServiceSheet{}
+	//}
 
-	if customerServiceSheet.MemberId == 0 {
-		return ecode.InvalidParams, model.CustomerServiceSheet{}
-	}
+	//if customerServiceSheet.MemberId == 0 {
+	//	return ecode.InvalidParams, model.CustomerServiceSheet{}
+	//}
 
 	newCustomerServiceSheet = model.CustomerServiceSheet{
 		Number:       customerServiceSheet.Number,

--
Gitblit v1.8.0