初始化项目

This commit is contained in:
wyf
2025-04-11 08:47:46 +08:00
parent e0e1055d65
commit 9396f18d09
199 changed files with 6516 additions and 216 deletions

View File

@@ -0,0 +1,21 @@
import 'package:ef/ef.dart';
//问题与帮助
class HelpRepository {
//查询记录
Future findHelpInfos({int limit = 10, int offset = 0}) async {
try {
var response = await ef.client
.from('app_help_list')
.select()
// .eq('deleted', 0)
.eq('status', 1)
.order("priority", ascending: true)
.order("created_at", ascending: false);
return response as List<dynamic>;
} catch (e) {
print('Error fetching repairs: $e');
return [];
}
}
}