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
9effa03f
Commit
9effa03f
authored
Jul 12, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复注释
parent
170b65b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Houses.php
application/index/controller/Houses.php
+3
-4
No files found.
application/index/controller/Houses.php
View file @
9effa03f
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
namespace
app\index\controller
;
namespace
app\index\controller
;
use
app\api\controller\Sublet
;
use
app\api_broker\service\LookShopService
;
//use app\api_broker\service\LookShopService;
use
app\index\extend\Basic
;
use
app\index\extend\Basic
;
use
app\model\AAgents
;
use
app\model\AAgents
;
use
app\model\GHouses
;
use
app\model\GHouses
;
...
@@ -220,10 +219,10 @@ class Houses extends Basic
...
@@ -220,10 +219,10 @@ class Houses extends Basic
$data
[
'data'
][
'total'
]
=
$this
->
house
->
getHouseListDishTotal
(
$where
);
$data
[
'data'
][
'total'
]
=
$this
->
house
->
getHouseListDishTotal
(
$where
);
}
}
//
$look_shop = new LookShopService();
$look_shop
=
new
LookShopService
();
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
$data
[
'data'
][
'list'
][
$k
][
"is_look"
]
=
false
;
$data
[
'data'
][
'list'
][
$k
][
"is_look"
]
=
$look_shop
->
isLooked
(
$this
->
userId
,
$v
[
"id"
]);
;
}
}
return
$this
->
response
(
$data
[
'status'
],
$data
[
'msg'
],
$data
[
'data'
]);
return
$this
->
response
(
$data
[
'status'
],
$data
[
'msg'
],
$data
[
'data'
]);
...
...
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