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
97f053d6
Commit
97f053d6
authored
Aug 09, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c438398e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CollectUser.php
application/api_broker/controller/CollectUser.php
+4
-4
Shop.php
application/api_broker/controller/Shop.php
+1
-0
No files found.
application/api_broker/controller/CollectUser.php
View file @
97f053d6
...
...
@@ -123,10 +123,10 @@ class CollectUser extends Basic
$get_params
[
'CollectUser.status'
]
=
1
;
$get_params
[
'Users.entrust_type'
]
=
isset
(
$params
[
"entrust_type"
])
?
$params
[
"entrust_type"
]
:
0
;
if
(
isset
(
$params
[
'site_id'
])
&&
$params
[
'site_id'
])
{
//城市筛选
$get_params
[
'Users.site_ids'
]
=
[
'LIKE'
,
'%'
.
$params
[
'site_id'
]
.
'%'
];
}
//
if (isset($params['site_id']) && $params['site_id']) {
//
//城市筛选
//
$get_params['Users.site_ids'] = [ 'LIKE', '%' . $params['site_id'] . '%' ];
//
}
$res
=
$this
->
aCollectUser
->
getCollectList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
aCollectUser
->
getCollectListTotal
(
$field
,
$get_params
);
...
...
application/api_broker/controller/Shop.php
View file @
97f053d6
...
...
@@ -208,6 +208,7 @@ class Shop extends Basic
}
else
{
$conditions
[
"city"
]
=
$params
[
"city"
];
}
big_log
(
$params
);
}
...
...
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