...
|
...
|
@@ -62,6 +62,7 @@ func (service *AuthService) Login(loginCommand *command.LoginCommand) (interface |
|
|
userAuth := &domain.UserAuth{
|
|
|
UserId: user.Id,
|
|
|
CompanyId: user.CompanyId,
|
|
|
CompanyName: company.Name,
|
|
|
Phone: user.Account,
|
|
|
PlatformId: loginCommand.PlatformId,
|
|
|
Name: user.Name,
|
...
|
...
|
@@ -134,6 +135,7 @@ func (service *AuthService) MobileLogin(param *command.MobileLoginCommand) (map[ |
|
|
userAuth := &domain.UserAuth{
|
|
|
UserId: user.Id,
|
|
|
CompanyId: user.CompanyId,
|
|
|
CompanyName: company.Name,
|
|
|
Phone: user.Account,
|
|
|
PlatformId: constant.IdPlatformUser,
|
|
|
Name: user.Name,
|
...
|
...
|
|