feat:android统计
This commit is contained in:
1 parent
ab9ea614d5
commit
8fc6be0a69
6 files changed
+195
-26
No files matched your search
@@ -118,4 +118,18 @@ abstract class HardApi {
|
||||
if (res.data == null) return null;
|
||||
return res.data?.map<String>((e) => e.toString()).toList();
|
||||
}
|
||||
|
||||
/// 统计每天、每周、每月、每年的交易人数和次数
|
||||
static Future<List<ServiceChartLatitude>?> chartLatitude(
|
||||
dynamic formData,
|
||||
) async {
|
||||
final res = await HttpManage().dio.get(
|
||||
"/hard/hard-api/ad/chart-latitude",
|
||||
queryParameters: formData,
|
||||
);
|
||||
if (res.data == null) return null;
|
||||
return res.data
|
||||
?.map<ServiceChartLatitude>((e) => ServiceChartLatitude.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user