1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
| import 'package:flutter/material.dart';
|
| import 'http.dart';
|
| class ConfigApiUtil {
| ///查阅向我求救的SOS
| static Future<Map<String, dynamic>?> getConfig(BuildContext context) async {
| var result = await HttpUtil.baseRequest(
| context, "/api/config/getConfig", {}, () {},
| notifyError: true);
| if (result.success) {
| return result.data;
| }
| return null;
| }
| }
|
|