perf:完善readme

This commit is contained in:
yz
2023-03-06 23:35:12 +08:00
parent 3b0f1efae1
commit fdb323a1ed

View File

@@ -94,7 +94,7 @@ async function req(url, options) {
}, },
}) })
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code === 200) {
let data = res.data; let data = res.data;
if (res.encrypt) { if (res.encrypt) {
data = crypto.decrypt(data); data = crypto.decrypt(data);