perf:完善readme
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user