del cache

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-11-01 17:26:21 +08:00
parent 77dd939172
commit 737be8dcac
12 changed files with 105 additions and 68 deletions

View File

@@ -7,7 +7,6 @@ import 'package:PiliPlus/utils/accounts.dart';
import 'package:PiliPlus/utils/utils.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:get/get.dart';
import 'package:image_picker/image_picker.dart';
class CreateVoteController extends GetxController {
CreateVoteController(this.voteId);
@@ -109,9 +108,9 @@ class CreateVoteController extends GetxController {
}
}
Future<void> onUpload(int index, XFile pickedFile) async {
Future<void> onUpload(int index, String path) async {
var res = await MsgHttp.uploadBfs(
path: pickedFile.path,
path: path,
category: 'daily',
biz: 'vote',
);