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
9f2612c2
Commit
9f2612c2
authored
Sep 18, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c端商圈id
parent
045505a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Shop.php
application/api/controller/Shop.php
+5
-1
No files found.
application/api/controller/Shop.php
View file @
9f2612c2
...
...
@@ -63,8 +63,9 @@ class Shop extends Basic
$params
=
$this
->
params
;
/*$params = array(
"site_area" => 4, //来源 1c首页 2c搜索
// "title"
=> "vv", //1,2 external_title ,3,4internal_title
// "title" => "vv", //1,2 external_title ,3,4internal_title
"house_id" => 4,
"business_id" => 4,
"is_carefully_chosen" => 0, //精选商铺--0否1是
"shop_type" => 0, //商铺类型(0商场,1街铺)
"address" => "111",
...
...
@@ -134,6 +135,9 @@ class Shop extends Basic
$conditions
[
'disc'
]
=
array
(
'eq'
,
trim
(
$params
[
'disc'
])
);
}
if
(
isset
(
$params
[
'business_id'
]))
{
//商圈
$conditions
[
'business_district_id'
]
=
array
(
'eq'
,
trim
(
$params
[
'business_id'
])
);
}
if
(
isset
(
$params
[
'industry_type'
]))
{
//业态
$conditions
[
'industry_type'
]
=
array
(
'like'
,
"%"
.
trim
(
$params
[
'industry_type'
])
.
"%"
);
}
...
...
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