perf:解密数据后json内容
This commit is contained in:
@@ -98,6 +98,7 @@ async function req(url, options) {
|
|||||||
let data = res.data;
|
let data = res.data;
|
||||||
if (res.encrypt) {
|
if (res.encrypt) {
|
||||||
data = crypto.decrypt(data);
|
data = crypto.decrypt(data);
|
||||||
|
data = Common.parseJSON(data, data);
|
||||||
}
|
}
|
||||||
resolve(data)
|
resolve(data)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user