Commit 09ccdf80 authored by hujun's avatar hujun

[0]

parent 69951f0d
......@@ -311,7 +311,7 @@ class OfficeRoomService
$building_service = new OfficeService();
$building_data = $building_service->BuildingSearch(1, 100, ['id'=>$data['building_id']]);
if ($building_data['status'] != 'fail') {
$data['building_data'] = $building_data['data'];
$data['building_data'] = $building_data['data'][0];
} else {
$data['building_data'] = [];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment