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
bb37a77a
Commit
bb37a77a
authored
Aug 29, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6611b17e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
OfficeBuilding.php
application/api/controller/OfficeBuilding.php
+1
-0
OfficeRoom.php
application/api/controller/OfficeRoom.php
+2
-0
No files found.
application/api/controller/OfficeBuilding.php
View file @
bb37a77a
...
@@ -29,6 +29,7 @@ class OfficeBuilding extends Basic
...
@@ -29,6 +29,7 @@ class OfficeBuilding extends Basic
*/
*/
public
function
getOfficeBuildingInfo
()
public
function
getOfficeBuildingInfo
()
{
{
header
(
'Access-Control-Allow-Origin:*'
);
$params
=
$this
->
params
;
$params
=
$this
->
params
;
$checkResult
=
$this
->
validate
(
$params
,
"OfficeRoomValidate.getOfficeRoomInfo"
);
$checkResult
=
$this
->
validate
(
$params
,
"OfficeRoomValidate.getOfficeRoomInfo"
);
if
(
true
!==
$checkResult
)
{
if
(
true
!==
$checkResult
)
{
...
...
application/api/controller/OfficeRoom.php
View file @
bb37a77a
...
@@ -56,6 +56,7 @@ class OfficeRoom extends Basic
...
@@ -56,6 +56,7 @@ class OfficeRoom extends Basic
*/
*/
public
function
getBuildingRoomList
()
public
function
getBuildingRoomList
()
{
{
header
(
'Access-Control-Allow-Origin:*'
);
$result
=
$this
->
serviceApi
->
getRoomBuildingList
(
$this
->
params
);
$result
=
$this
->
serviceApi
->
getRoomBuildingList
(
$this
->
params
);
if
(
$result
[
'status'
]
==
'successful'
)
{
if
(
$result
[
'status'
]
==
'successful'
)
{
...
@@ -72,6 +73,7 @@ class OfficeRoom extends Basic
...
@@ -72,6 +73,7 @@ class OfficeRoom extends Basic
*/
*/
public
function
filtrateConditionRoom
()
public
function
filtrateConditionRoom
()
{
{
header
(
'Access-Control-Allow-Origin:*'
);
$params
=
$this
->
params
;
$params
=
$this
->
params
;
if
(
empty
(
$params
[
"city"
]))
{
if
(
empty
(
$params
[
"city"
]))
{
return
$this
->
response
(
"101"
,
"参数错误"
);
return
$this
->
response
(
"101"
,
"参数错误"
);
...
...
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