docs: 更新文档

This commit is contained in:
MoeFurina
2026-03-20 20:08:47 +08:00
parent 3188238678
commit bbb2b9d4a0
4 changed files with 77 additions and 0 deletions
+2
View File
@@ -240,6 +240,7 @@ const createRequest = (uri, data, options) => {
headers['User-Agent'] = options.ua || chooseUserAgent('api', 'iphone')
if (crypto === 'eapi') {
// headers['x-aeapi'] = true // 服务器会使用gzip压缩返回值
data.header = header
data.e_r = toBoolean(
options.e_r !== undefined
@@ -323,6 +324,7 @@ const createRequest = (uri, data, options) => {
if (crypto === 'eapi' && data.e_r) {
answer.body = encrypt.eapiResDecrypt(
body.toString('hex').toUpperCase(),
headers['x-aeapi'],
)
} else {
answer.body =