mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-03 18:14:00 +00:00
fix: randomAuth only returns encryptedAuth
This commit is contained in:
1 parent
9d558bf4e2
commit
cbf2294a8e
1 file changed
+3
-1
@@ -513,7 +513,9 @@ public class ParserApi {
|
|||||||
if (Integer.valueOf(200).equals(res.getInteger("code")) && res.getJsonObject("data") != null) {
|
if (Integer.valueOf(200).equals(res.getInteger("code")) && res.getJsonObject("data") != null) {
|
||||||
JsonObject data = res.getJsonObject("data");
|
JsonObject data = res.getJsonObject("data");
|
||||||
String encryptedAuth = AuthParamCodec.encode(data);
|
String encryptedAuth = AuthParamCodec.encode(data);
|
||||||
data.put("encryptedAuth", encryptedAuth);
|
JsonObject safeData = new JsonObject();
|
||||||
|
safeData.put("encryptedAuth", encryptedAuth);
|
||||||
|
res.put("data", safeData);
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user