| | |
| | | |
| | | // 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, |