feat:广播同步
This commit is contained in:
1 parent
e5100b46b1
commit
5613a2fa9e
3 files changed
+22
-2
No files matched your search
@@ -141,4 +141,15 @@ abstract class HardApi {
|
||||
if (res.data == null) return null;
|
||||
return ServiceBroadcastTodayPage.fromJson(res.data);
|
||||
}
|
||||
|
||||
/// android完成一轮广播
|
||||
static Future<ServiceBroadcastTodayPage?> broadcast(
|
||||
dynamic formData,
|
||||
) async {
|
||||
final res = await HttpManage()
|
||||
.dio
|
||||
.post("/hard/hard-broadcast/ad/broadcast", data: formData);
|
||||
if (res.data == null) return null;
|
||||
return ServiceBroadcastTodayPage.fromJson(res.data);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user