|
@@ -62,6 +62,7 @@ func (service *AuthService) Login(loginCommand *command.LoginCommand) (interface |
|
@@ -62,6 +62,7 @@ func (service *AuthService) Login(loginCommand *command.LoginCommand) (interface |
62
|
userAuth := &domain.UserAuth{
|
62
|
userAuth := &domain.UserAuth{
|
63
|
UserId: user.Id,
|
63
|
UserId: user.Id,
|
64
|
CompanyId: user.CompanyId,
|
64
|
CompanyId: user.CompanyId,
|
|
|
65
|
+ CompanyName: company.Name,
|
65
|
Phone: user.Account,
|
66
|
Phone: user.Account,
|
66
|
PlatformId: loginCommand.PlatformId,
|
67
|
PlatformId: loginCommand.PlatformId,
|
67
|
Name: user.Name,
|
68
|
Name: user.Name,
|
|
@@ -134,6 +135,7 @@ func (service *AuthService) MobileLogin(param *command.MobileLoginCommand) (map[ |
|
@@ -134,6 +135,7 @@ func (service *AuthService) MobileLogin(param *command.MobileLoginCommand) (map[ |
134
|
userAuth := &domain.UserAuth{
|
135
|
userAuth := &domain.UserAuth{
|
135
|
UserId: user.Id,
|
136
|
UserId: user.Id,
|
136
|
CompanyId: user.CompanyId,
|
137
|
CompanyId: user.CompanyId,
|
|
|
138
|
+ CompanyName: company.Name,
|
137
|
Phone: user.Account,
|
139
|
Phone: user.Account,
|
138
|
PlatformId: constant.IdPlatformUser,
|
140
|
PlatformId: constant.IdPlatformUser,
|
139
|
Name: user.Name,
|
141
|
Name: user.Name,
|