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
ec27bf4e
Commit
ec27bf4e
authored
Jun 04, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id = 0
parent
788e0fce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+1
-1
OfficeBuildingRoomValidate.php
application/index/validate/OfficeBuildingRoomValidate.php
+2
-0
No files found.
application/index/service/OfficeRoomService.php
View file @
ec27bf4e
...
...
@@ -327,7 +327,7 @@ class OfficeRoomService
if
(
$building_data
[
'status'
]
!=
'fail'
)
{
$data
[
'building_data'
]
=
$building_data
[
'data'
][
0
];
}
else
{
$data
[
'building_data'
]
=
[]
;
$data
[
'building_data'
]
[
'id'
]
=
0
;
}
}
...
...
application/index/validate/OfficeBuildingRoomValidate.php
View file @
ec27bf4e
...
...
@@ -94,6 +94,8 @@ class OfficeBuildingRoomValidate extends Validate
'shop_sign.length'
=>
'商铺标签参数错误'
,
'landlord_phone.require'
=>
'房东手机号必填'
,
'agent_dish.require'
=>
'盘方必填'
,
'building_id.require'
=>
'办公楼必选'
,
'building_id.between'
=>
'办公楼参数错误'
];
protected
$scene
=
[
...
...
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