From b0c07ddee23e2d54d03636f08af19f0934857cf4 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 25 八月 2023 10:32:56 +0800
Subject: [PATCH] Merge branch 'hotfix'
---
api/v1/customerServiceSheet.go | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/api/v1/customerServiceSheet.go b/api/v1/customerServiceSheet.go
index cc79739..6e3d362 100644
--- a/api/v1/customerServiceSheet.go
+++ b/api/v1/customerServiceSheet.go
@@ -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