Fix ali qrcode site
This commit is contained in:
parent
ab9278a974
commit
8a5873020f
|
|
@ -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(() -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue