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
b36bd158
Commit
b36bd158
authored
Aug 08, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a8c10d50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
CollectHouse.php
application/api_broker/controller/CollectHouse.php
+5
-1
OfficeCollectHouse.php
application/api_broker/controller/OfficeCollectHouse.php
+7
-0
No files found.
application/api_broker/controller/CollectHouse.php
View file @
b36bd158
...
@@ -127,7 +127,11 @@ class CollectHouse extends Basic
...
@@ -127,7 +127,11 @@ class CollectHouse extends Basic
$get_params
[
'agents_id'
]
=
$params
[
"agents_id"
];
$get_params
[
'agents_id'
]
=
$params
[
"agents_id"
];
$get_params
[
'CollectUser.status'
]
=
1
;
$get_params
[
'CollectUser.status'
]
=
1
;
if
(
empty
(
$params
[
"city"
])){
$conditions
[
"Houses.city"
]
=
trim
(
$this
->
city
);
}
else
{
$conditions
[
"Houses.city"
]
=
$params
[
"city"
];
}
$res
=
$this
->
aCollectHouse
->
getCollectList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res
=
$this
->
aCollectHouse
->
getCollectList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
aCollectHouse
->
getCollectListTotal
(
$field
,
$get_params
);
$res_total
=
$this
->
aCollectHouse
->
getCollectListTotal
(
$field
,
$get_params
);
...
...
application/api_broker/controller/OfficeCollectHouse.php
View file @
b36bd158
...
@@ -132,6 +132,13 @@ class OfficeCollectHouse extends Basic
...
@@ -132,6 +132,13 @@ class OfficeCollectHouse extends Basic
$get_params
[
'agents_id'
]
=
$params
[
"agents_id"
];
$get_params
[
'agents_id'
]
=
$params
[
"agents_id"
];
$get_params
[
'CollectUser.status'
]
=
1
;
$get_params
[
'CollectUser.status'
]
=
1
;
if
(
empty
(
$params
[
"city"
])){
$conditions
[
"Houses.city"
]
=
trim
(
$this
->
city
);
}
else
{
$conditions
[
"Houses.city"
]
=
$params
[
"city"
];
}
$res
=
$this
->
aCollectHouse
->
getCollectList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res
=
$this
->
aCollectHouse
->
getCollectList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
aCollectHouse
->
getCollectListTotal
(
$field
,
$get_params
);
$res_total
=
$this
->
aCollectHouse
->
getCollectListTotal
(
$field
,
$get_params
);
$look_shop_service
=
new
LookShopService
();
$look_shop_service
=
new
LookShopService
();
...
...
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