Fix ali qrcode site

This commit is contained in:
FongMi 2023-02-01 13:57:25 +08:00
parent ab9278a974
commit 8a5873020f
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ public class Ali {
private void getQRCode() { private void getQRCode() {
HashMap<String, String> headers = new HashMap<>(); HashMap<String, String> headers = new HashMap<>();
headers.put("User-Agent", Misc.CHROME); headers.put("User-Agent", Misc.CHROME);
Data data = Data.objectFrom(OkHttp.string("https://easy-token.cooluc.com/qr", headers)); Data data = Data.objectFrom(OkHttp.string("https://token.cooluc.com/qr", headers));
if (data != null) Init.run(() -> showCode(data)); if (data != null) Init.run(() -> showCode(data));
service = Executors.newScheduledThreadPool(1); service = Executors.newScheduledThreadPool(1);
if (data != null) service.scheduleAtFixedRate(() -> { if (data != null) service.scheduleAtFixedRate(() -> {