...
|
...
|
@@ -96,7 +96,7 @@ func (service UsersService) UserLoginBySecretKey(cmd command.LoginBySecretKeyCom |
|
|
return nil, lib.ThrowError(lib.BUSINESS_ERROR, "用户被禁用")
|
|
|
}
|
|
|
err = transactionContext.CommitTransaction()
|
|
|
newJwt := lib.NewMyToken(usersData.Id, usersData.Id)
|
|
|
newJwt := lib.NewMyToken(usersData.Id, companyData.Id)
|
|
|
newToken, err := newJwt.CreateJWTToken()
|
|
|
//生成token
|
|
|
returnData := map[string]interface{}{
|
...
|
...
|
|