修复网易歌单详情无法打开的问题

This commit is contained in:
lyswhut 2022-04-06 19:44:37 +08:00
parent 04e4bcac85
commit e26a268497
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "lx-music-mobile",
"version": "0.12.0-beta7",
"version": "0.12.0-beta8",
"versionCode": 40,
"scripts": {
"ar": "react-native run-android",

View File

@ -34,7 +34,7 @@ export const weapi = object => {
export const linuxapi = object => {
const text = JSON.stringify(object)
return {
eparams: aesEncrypt(Buffer.from(text), 'ecb', linuxapiKey, '').toString('hex').toUpperCase(),
eparams: aesEncrypt(Buffer.from(text), 'aes-128-ecb', linuxapiKey, '').toString('hex').toUpperCase(),
}
}