Fix ali qrcode

This commit is contained in:
FongMi 2022-12-28 09:27:28 +08:00
parent f18e0e7d3d
commit c2bc8bf95f
3 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -1 +1 @@
e3b236416ca6f34b41aeca2c83809837 8329684ff36b27bdf5970adf458e8d1e