超管后台 - 对接关联设备 至后台

This commit is contained in:
柳清爽
2025-04-23 16:47:02 +08:00
parent 419d5b42a0
commit 938e865b0a
2 changed files with 51 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ class GetCompanyDevicesForProfileController extends Controller
{
$companyId = $this->request->param('companyId/d', 0);
$devices = DeviceModel::where(compact('companyId'))->field('id,memo,phone,model,brand,alive,id deviceId')
$devices = DeviceModel::where(compact('companyId'))->field('id,memo,imei,phone,model,brand,alive,id deviceId')
->select()
->toArray();