TASK:免登录;

This commit is contained in:
shahaibo
2024-01-18 11:58:37 +08:00
parent 557041335a
commit b828c8fcde

View File

@@ -669,7 +669,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
qw.lambda().eq(Account::getBrowserIdentifiers, browserIdentifiers);
List<Account> accountList = accountMapper.selectList(qw);
if (CollectionUtil.isEmpty(accountList)) {
throw new BusinessException("Machine identification has changed, login free has failed, please contact us at help@aida.com.hk.");
throw new BusinessException("Machine not registered or machine identification has changed, login free has failed, please contact us at help@aida.com.hk.");
}
Account account = accountList.get(0);
AccountLoginVO response = CopyUtil.copyObject(account, AccountLoginVO.class);
@@ -772,7 +772,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
"                        <body>\n" +
"                        </body>\n" +
"                            <script>\n" +
"                                window.location.href = 'https://poly.aida.com.hk?"+id+"';\n" +
"                                window.location.href = 'https://polyu.aida.com.hk?"+id+"';\n" +
"                            </script>\n" +
"                        </html>";
}