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
ea6f3956
Commit
ea6f3956
authored
Oct 09, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表
parent
4cbe1229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Shop.php
application/api_broker/controller/Shop.php
+7
-2
No files found.
application/api_broker/controller/Shop.php
View file @
ea6f3956
...
...
@@ -83,6 +83,7 @@ class Shop extends Basic
//是否对C端显示 181009
"is_show" => 0,//0是1否显示在c端用户
"is_exclusive_type" => 0,//是否独家0否1是
"is_lock" => 0,//是否锁盘0否1是
"pageNo" => 1,
"pageSize" => 15
...
...
@@ -94,11 +95,12 @@ class Shop extends Basic
if
(
$params
[
'site_area'
]
==
1
||
$params
[
'site_area'
]
==
2
)
{
$field
=
"id,external_title as title,external_address as address,city,disc,business_district_id,status,industry_type
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price"
;
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price
,is_exclusive_type
"
;
}
else
{
$field
=
"id,internal_title as title,internal_address as address,city,disc,business_district_id,status,industry_type
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price,is_lock"
;
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price,is_lock
,is_exclusive_type"
;
$conditions
[
"city"
]
=
trim
(
$this
->
city
);
}
...
...
@@ -161,6 +163,9 @@ class Shop extends Basic
if
(
isset
(
$params
[
'is_exclusive_type'
]))
{
//是否独家0否1是
$conditions
[
'is_exclusive_type'
]
=
array
(
"eq"
,
$params
[
'is_exclusive_type'
]);
}
if
(
isset
(
$params
[
'is_lock'
]))
{
//是否锁盘0否1是
$conditions
[
'is_lock'
]
=
array
(
"eq"
,
$params
[
'is_lock'
]);
}
//我的商铺 代表我是盘方的商铺
if
(
isset
(
$params
[
'agent_id'
]))
{
...
...
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