Commit 85a26866 authored by hujun's avatar hujun

//

parent 23a79abc
...@@ -116,15 +116,15 @@ class OfficeBuildingRoomValidate extends Validate ...@@ -116,15 +116,15 @@ class OfficeBuildingRoomValidate extends Validate
protected $scene = [ protected $scene = [
'add' => ['floor', 'room_number', 'is_rent', 'is_exclusive_type', 'price_total', 'price', 'slotting_fee', 'management_fee', 'add' => ['floor', 'room_number', 'is_rent', 'is_exclusive_type', 'price_total', 'price', 'slotting_fee', 'management_fee',
'station_start', 'station_end', 'area', 'floor_tag', 'enter_time', 'payment_month', 'deposit_month', 'age_limit_start', 'station_start', 'station_end', 'area', 'floor_tag', 'enter_time', 'payment_month', 'deposit_month', 'age_limit_start',
'age_limit_end', 'is_partition', 'carport', 'rent_free', 'source', 'decoration', 'shop_sign','mansion'], 'age_limit_end', 'is_partition', 'carport', 'rent_free', 'source', 'decoration', 'shop_sign'],
'edit' => ['id', 'floor', 'room_number', 'is_rent', 'is_exclusive_type', 'price_total', 'price', 'slotting_fee', 'management_fee', 'edit' => ['id', 'floor', 'room_number', 'is_rent', 'is_exclusive_type', 'price_total', 'price', 'slotting_fee', 'management_fee',
'station_start', 'station_end', 'area', 'floor_tag', 'enter_time', 'payment_month', 'deposit_month', 'age_limit_start', 'station_start', 'station_end', 'area', 'floor_tag', 'enter_time', 'payment_month', 'deposit_month', 'age_limit_start',
'age_limit_end', 'is_partition', 'carport', 'rent_free', 'source', 'decoration', 'shop_sign','mansion'], 'age_limit_end', 'is_partition', 'carport', 'rent_free', 'source', 'decoration', 'shop_sign'],
'detail' => ['id'], 'detail' => ['id'],
'is_carefully_chosen' => ['id', 'is_carefully_chosen'], 'is_carefully_chosen' => ['id', 'is_carefully_chosen'],
'exclusive' => ['agent_start_time,agent_end_time,is_exclusive_type,id'], 'exclusive' => ['agent_start_time,agent_end_time,is_exclusive_type,id'],
'del'=>['id'], 'del'=>['id'],
'show' => 'id,is_show', 'show' => 'id,is_show',
'checkRepetition'=>'city,mansion,floor,room_number' 'checkRepetition'=>'city,floor,room_number'
]; ];
} }
\ No newline at end of file
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