Fix ali qrcode
This commit is contained in:
parent
f18e0e7d3d
commit
c2bc8bf95f
|
|
@ -304,7 +304,7 @@ public class Ali {
|
||||||
JsonObject params = new JsonObject();
|
JsonObject params = new JsonObject();
|
||||||
params.addProperty("t", data.getData().getT());
|
params.addProperty("t", data.getData().getT());
|
||||||
params.addProperty("ck", data.getData().getCk());
|
params.addProperty("ck", data.getData().getCk());
|
||||||
Data result = Data.objectFrom(OkHttpUtil.postJson("https://easy-token.cooluc.com/ck", params.toString()));
|
Data result = Data.objectFrom(OkHttpUtil.postJson("https://easy-token.cooluc.com/ck", params.toString(), headers));
|
||||||
if (result.hasToken()) setToken(result.getData().getRefreshToken());
|
if (result.hasToken()) setToken(result.getData().getRefreshToken());
|
||||||
}, 1, 1, TimeUnit.SECONDS);
|
}, 1, 1, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
e3b236416ca6f34b41aeca2c83809837
|
8329684ff36b27bdf5970adf458e8d1e
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue