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
9278369b
Commit
9278369b
authored
Mar 14, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
222130d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Shop.php
application/api_broker/controller/Shop.php
+6
-6
No files found.
application/api_broker/controller/Shop.php
View file @
9278369b
...
@@ -164,12 +164,12 @@ class Shop extends Basic
...
@@ -164,12 +164,12 @@ class Shop extends Basic
public
function
getShopDetail
()
public
function
getShopDetail
()
{
{
/*
$params = array(
$params
=
array
(
"id" =>
1
,
"id"
=>
5
,
"site_area"
=>
1
,
//1.c端 3.b端
"site_area"
=>
1
,
//1.c端 3.b端
"user_id" =>
1
2 //if c端 用户登录后传入user_id
"user_id"
=>
2
//if c端 用户登录后传入user_id
);
*/
);
$params
=
$this
->
params
;
//
$params = $this->params;
$conditions
=
[];
$conditions
=
[];
if
(
empty
(
$params
[
'id'
]))
{
if
(
empty
(
$params
[
'id'
]))
{
...
@@ -219,7 +219,7 @@ class Shop extends Basic
...
@@ -219,7 +219,7 @@ class Shop extends Basic
$attention
[
"is_del"
]
=
array
(
"eq"
,
0
);
$attention
[
"is_del"
]
=
array
(
"eq"
,
0
);
$attResult
=
$this
->
attentionModel
->
getAttentionByUserIdAndHouseId
(
$attention
);
$attResult
=
$this
->
attentionModel
->
getAttentionByUserIdAndHouseId
(
$attention
);
if
(
count
(
$attResult
)
>
0
)
if
(
count
(
$attResult
)
>
0
)
$result
[
"attention"
]
=
$attResult
[
"id"
];
$result
[
"attention"
]
=
$attResult
[
0
][
"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