opt: multiSelect (#935)

This commit is contained in:
My-Responsitories
2025-08-04 12:57:37 +08:00
committed by GitHub
parent d246462535
commit 7b51f15753
23 changed files with 488 additions and 457 deletions

View File

@@ -151,7 +151,7 @@ class UserHttp {
}
// 移除已观看
static Future toViewDel({required List<int?> aids}) async {
static Future toViewDel({required Iterable<int> aids}) async {
final Map<String, dynamic> params = {
'csrf': Accounts.main.csrf,
'resources': aids.join(','),
@@ -204,7 +204,7 @@ class UserHttp {
}
// 删除历史记录
static Future delHistory(List<String> kidList) async {
static Future delHistory(Iterable<String> kidList) async {
var res = await Request().post(
Api.delHistory,
data: {