Commit 6eb39595 authored by hujun's avatar hujun

取消验证商铺

parent 2b39a5f0
......@@ -34,7 +34,6 @@ class HouseValidate extends Validate
'latitude' => 'require|min:1',
'is_show' => 'require|in:0,1',
'fee_rule' => 'require|length:1,500',
'internal_item_advantage' => 'require|length:1,500',
'business_district_id' => 'require|between: 1,99999999999',
'id' => 'require|between: 1,99999999999'
];
......@@ -72,8 +71,6 @@ class HouseValidate extends Validate
'is_show.in' => '是否显示在c端参数不对',
'fee_rule.require' => '佣金规则必填',
'fee_rule.length' => '佣金规则字数为1至500',
'internal_item_advantage.require' => '对内项目优势必填',
'internal_item_advantage.length' => '对内项目优势字数为1至500',
'longitude.require' => '无法获取商铺坐标,请重新修改地址',
'longitude.min' => '商铺坐标参数错误',
'latitude.require' => '无法获取商铺坐标,请重新修改地址',
......@@ -87,10 +84,10 @@ class HouseValidate extends Validate
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',
'fee_rule', 'internal_item_advantage', 'business_district_id'],
'fee_rule', 'business_district_id'],
'add' => ['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', 'longitude', 'latitude', 'fee_rule', 'fee_rule', 'internal_item_advantage', 'business_district_id'],
'total', 'longitude', 'latitude', 'fee_rule', 'fee_rule', 'business_district_id'],
'show' => 'id,is_show'
];
}
\ 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