解绑设备

This commit is contained in:
czz
2025-06-24 17:07:32 +08:00
parent 1522f2e4c9
commit 65f7b577df
3 changed files with 15 additions and 6 deletions

View File

@@ -39,8 +39,8 @@ class DeviceListController extends GetControllerEx<DeviceListModel> {
getDeviceList() async {
try {
String search = (model.keyword != null && model.keyword!.isNotEmpty)
? "?key=${model.keyword}"
: "";
? "?key=${model.keyword}&ncs=1"
: "?ncs=1";
ApiResponse apiResponse = ApiResponse(code: -1, msg: "设备.设备列表请求失败".tr);
String serviceAddress = ServiceConstant.service_address;
String serviceName = ServiceConstant.server_service;