...
|
...
|
@@ -448,7 +448,7 @@ func (srv AuthService) CompanySignUp(companySignUpCommand *command.CompanySignUp |
|
|
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
//}
|
|
|
creationUserGateway := allied_creation_user.NewHttplibAlliedCreationUser(domain.Operator{})
|
|
|
result, err := creationUserGateway.AuthCompanySignUp(allied_creation_user.ReqAuthCompanySignUp{
|
|
|
_, err := creationUserGateway.AuthCompanySignUp(allied_creation_user.ReqAuthCompanySignUp{
|
|
|
CompanyName: companySignUpCommand.CompanyName,
|
|
|
Phone: companySignUpCommand.Phone,
|
|
|
Password: companySignUpCommand.Password,
|
...
|
...
|
@@ -459,7 +459,7 @@ func (srv AuthService) CompanySignUp(companySignUpCommand *command.CompanySignUp |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
return result, err
|
|
|
return companySignUpCommand, err
|
|
|
}
|
|
|
|
|
|
// ResetPassword 重置密码(找回密码)
|
...
|
...
|
|