|
|
@ -25,8 +25,6 @@ func CreateExaCustomer(c *gin.Context) { |
|
|
|
CustomerVerify := utils.Rules{ |
|
|
|
"CustomerName": {utils.NotEmpty()}, |
|
|
|
"CustomerPhoneData": {utils.NotEmpty()}, |
|
|
|
"SysUserID": {utils.NotEmpty()}, |
|
|
|
"SysUserAuthorityID": {utils.NotEmpty()}, |
|
|
|
} |
|
|
|
CustomerVerifyErr := utils.Verify(cu, CustomerVerify) |
|
|
|
if CustomerVerifyErr != nil { |
|
|
@ -94,8 +92,6 @@ func UpdateExaCustomer(c *gin.Context) { |
|
|
|
CustomerVerify := utils.Rules{ |
|
|
|
"CustomerName": {utils.NotEmpty()}, |
|
|
|
"CustomerPhoneData": {utils.NotEmpty()}, |
|
|
|
"SysUserID": {utils.NotEmpty()}, |
|
|
|
"SysUserAuthorityID": {utils.NotEmpty()}, |
|
|
|
} |
|
|
|
CustomerVerifyErr := utils.Verify(cu, CustomerVerify) |
|
|
|
if CustomerVerifyErr != nil { |
|
|
|