111
This commit is contained in:
@@ -284,6 +284,17 @@ class AssetProvider extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
/// 提现前检查(45天规则)
|
||||
Future<Map<String, dynamic>?> withdrawCheck() async {
|
||||
try {
|
||||
final response = await _fundService.withdrawCheck();
|
||||
if (response.success && response.data != null) {
|
||||
return response.data;
|
||||
}
|
||||
} catch (_) {}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// 刷新所有資產數據(带去重)
|
||||
Future<void> refreshAll({bool force = false}) async {
|
||||
if (_refreshAllCompleter != null && !_refreshAllCompleter!.isCompleted) {
|
||||
|
||||
Reference in New Issue
Block a user