Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
6eb39595
Commit
6eb39595
authored
Sep 28, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消验证商铺
parent
2b39a5f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
HouseValidate.php
application/index/validate/HouseValidate.php
+3
-5
No files found.
application/index/validate/HouseValidate.php
View file @
6eb39595
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment