fix
wangpengfei
2023-07-28 b4400a06b5f801bc7a85320680d0b6c45c547ff0
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,