zhangqian
2023-08-08 bbe24137c96c17cd8d481e1dc58d4265ab8a24e8
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,