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
9c480c73
Commit
9c480c73
authored
Oct 24, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除城市验证
parent
76c4bf74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
HouseValidate.php
application/index/validate/HouseValidate.php
+1
-2
No files found.
application/index/validate/HouseValidate.php
View file @
9c480c73
...
...
@@ -17,7 +17,7 @@ class HouseValidate extends Validate
'internal_title'
=>
'require|length:1,125'
,
'internal_address'
=>
'require|length:1,125'
,
'province'
=>
'require|length:1,60'
,
'city'
=>
'require|length:1,60
|in:上海市,杭州市
'
,
'city'
=>
'require|length:1,60'
,
'disc'
=>
'require|length:1,60'
,
'market_area'
=>
'require|between:0,9999999'
,
'shop_area_start'
=>
'require|between:0,9999999'
,
...
...
@@ -46,7 +46,6 @@ class HouseValidate extends Validate
'province.length'
=>
'省份要在1至60个字'
,
'city.require'
=>
'市为必填'
,
'city.length'
=>
'对内地址要在1至60个字'
,
'city.in'
=>
'只能添加上海和杭州的商铺'
,
'disc.require'
=>
'区为必填'
,
'disc.length'
=>
'对内地址要在1至60个字'
,
'market_area.require'
=>
'商场面积为必填'
,
...
...
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