Commit ec27bf4e authored by hujun's avatar hujun

id = 0

parent 788e0fce
......@@ -327,7 +327,7 @@ class OfficeRoomService
if ($building_data['status'] != 'fail') {
$data['building_data'] = $building_data['data'][0];
} else {
$data['building_data'] = [];
$data['building_data']['id'] = 0;
}
}
......
......@@ -94,6 +94,8 @@ class OfficeBuildingRoomValidate extends Validate
'shop_sign.length' => '商铺标签参数错误',
'landlord_phone.require' => '房东手机号必填',
'agent_dish.require' => '盘方必填',
'building_id.require'=>'办公楼必选',
'building_id.between'=>'办公楼参数错误'
];
protected $scene = [
......
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