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
d02caca3
Commit
d02caca3
authored
Sep 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商圈验证
parent
786c118f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
HouseValidate.php
application/index/validate/HouseValidate.php
+5
-2
No files found.
application/index/validate/HouseValidate.php
View file @
d02caca3
...
...
@@ -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
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