Commit d02caca3 authored by hujun's avatar hujun

商圈验证

parent 786c118f
......@@ -35,6 +35,7 @@ class HouseValidate extends Validate
'is_show' => 'require|in:0,1',
'fee_rule' => 'require',
'internal_item_advantage' => 'require',
'business_district_id' => 'require'
];
protected $message = [
'internal_title.require' => '对内商铺名为必填',
......@@ -74,12 +75,13 @@ class HouseValidate extends Validate
'internal_item_advantage.require' => '对内项目优势必填',
'internal_item_advantage.between' => '对内项目优势字数为1至500',
'longitude' => '无法获取商铺坐标,请重新修改地址',
'latitude' => '无法获取商铺坐标,请重新修改地址'
'latitude' => '无法获取商铺坐标,请重新修改地址',
'business_district_id' => '商圈必选'
];
protected $scene = [
'edit'=>['internal_title','internal_address','province','city','disc','market_area','shop_area_start','rent_type',
'rent_price','industry_type','shop_type','shop_sign','management_fee','slotting_fee','residue_num','total','is_show',
'fee_rule','internal_item_advantage']
'fee_rule','internal_item_advantage','business_district_id']
];
}
\ 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