Scheme URL 的播放歌曲允许更长的专辑名称

This commit is contained in:
lyswhut
2024-09-27 21:25:46 +08:00
parent a599e0716f
commit 86af25bde3
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -7,6 +7,7 @@
- 修正搜索歌曲提示框文案(#2050) - 修正搜索歌曲提示框文案(#2050)
- 优化播放详情页UI,歌曲名字、歌手等文字过长时被截断的问题(#2049) - 优化播放详情页UI,歌曲名字、歌手等文字过长时被截断的问题(#2049)
- Scheme URL 的播放歌曲允许更长的专辑名称
### 修复 ### 修复
@@ -64,7 +64,7 @@ const usePlayMusic = () => {
{ key: 'img', types: ['string'], max: 1024 }, { key: 'img', types: ['string'], max: 1024 },
{ key: 'albumId', types: ['string', 'number'], max: 64 }, { key: 'albumId', types: ['string', 'number'], max: 64 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'types', types: ['object'], required: true }, { key: 'types', types: ['object'], required: true },
], musicInfo) ], musicInfo)
break break
@@ -78,7 +78,7 @@ const usePlayMusic = () => {
{ key: 'albumId', types: ['string', 'number'], max: 64 }, { key: 'albumId', types: ['string', 'number'], max: 64 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: '_interval', types: ['number'], max: 64 }, { key: '_interval', types: ['number'], max: 64 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'types', types: ['object'], required: true }, { key: 'types', types: ['object'], required: true },
{ key: 'hash', types: ['string'], required: true, max: 64 }, { key: 'hash', types: ['string'], required: true, max: 64 },
@@ -93,7 +93,7 @@ const usePlayMusic = () => {
{ key: 'img', types: ['string'], max: 1024 }, { key: 'img', types: ['string'], max: 1024 },
{ key: 'albumId', types: ['string', 'number'], max: 64 }, { key: 'albumId', types: ['string', 'number'], max: 64 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'types', types: ['object'], required: true }, { key: 'types', types: ['object'], required: true },
{ key: 'strMediaMid', types: ['string'], required: true, max: 64 }, { key: 'strMediaMid', types: ['string'], required: true, max: 64 },
@@ -109,7 +109,7 @@ const usePlayMusic = () => {
{ key: 'img', types: ['string'], max: 1024 }, { key: 'img', types: ['string'], max: 1024 },
{ key: 'albumId', types: ['string', 'number'], max: 64 }, { key: 'albumId', types: ['string', 'number'], max: 64 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'types', types: ['object'], required: true }, { key: 'types', types: ['object'], required: true },
], musicInfo) ], musicInfo)
break break
@@ -122,7 +122,7 @@ const usePlayMusic = () => {
{ key: 'img', types: ['string'], max: 1024 }, { key: 'img', types: ['string'], max: 1024 },
{ key: 'albumId', types: ['string', 'number'], max: 64 }, { key: 'albumId', types: ['string', 'number'], max: 64 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'types', types: ['object'], required: true }, { key: 'types', types: ['object'], required: true },
{ key: 'copyrightId', types: ['string', 'number'], required: true, max: 64 }, { key: 'copyrightId', types: ['string', 'number'], required: true, max: 64 },
@@ -166,7 +166,7 @@ const useSearchPlayMusic = () => {
return dataVerify([ return dataVerify([
{ key: 'name', types: ['string'], required: true, max: 200 }, { key: 'name', types: ['string'], required: true, max: 200 },
{ key: 'singer', types: ['string'], max: 200 }, { key: 'singer', types: ['string'], max: 200 },
{ key: 'albumName', types: ['string'], max: 64 }, { key: 'albumName', types: ['string'], max: 200 },
{ key: 'interval', types: ['string'], max: 64 }, { key: 'interval', types: ['string'], max: 64 },
{ key: 'playLater', types: ['boolean'] }, { key: 'playLater', types: ['boolean'] },
], info) ], info)