mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:14:55 +00:00
curtain wizard
This commit is contained in:
@ -384,13 +384,15 @@ class DevicesAPI {
|
||||
static Future deviceBatchController({
|
||||
List<String>? devicesUuid,
|
||||
String? code,
|
||||
bool? value,
|
||||
var value,
|
||||
}) async {
|
||||
print({"devicesUuid": devicesUuid, "code": code, "value": value});
|
||||
final response = await _httpService.post(
|
||||
path: ApiEndpoints.controlBatch,
|
||||
body: {"devicesUuid": devicesUuid, "code": code, "value": value},
|
||||
showServerMessage: true,
|
||||
expectedResponseModel: (json) {
|
||||
print('json-=-=-=-=-=-${json}');
|
||||
return json;
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user