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
048b6e5e
Commit
048b6e5e
authored
Jun 11, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
78fdcfec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
AttentionShop.php
application/api/controller/AttentionShop.php
+7
-6
No files found.
application/api/controller/AttentionShop.php
View file @
048b6e5e
...
@@ -64,12 +64,12 @@ class AttentionShop extends Basic
...
@@ -64,12 +64,12 @@ class AttentionShop extends Basic
*/
*/
public
function
attentionList
()
public
function
attentionList
()
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
/* $params = array(
/* $params = array(
"user_id" => 816,
"user_id" => 816,
"pageNo" => 1,
"pageNo" => 1,
"pageSize" => 15,
"pageSize" => 15,
);*/
);*/
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
...
@@ -89,6 +89,7 @@ class AttentionShop extends Basic
...
@@ -89,6 +89,7 @@ class AttentionShop extends Basic
return
$this
->
response
(
"200"
,
"请求数据为空"
);
return
$this
->
response
(
"200"
,
"请求数据为空"
);
}
}
foreach
(
$result
as
$key
=>
$val
)
{
foreach
(
$result
as
$key
=>
$val
)
{
$result
[
$key
][
"price"
]
=
$val
[
"price"
]
*
0.01
;
$result
[
$key
][
"api_path"
]
=
IMG_PATH
;
$result
[
$key
][
"api_path"
]
=
IMG_PATH
;
$imgParam
[
"house_id"
]
=
$val
[
"house_id"
];
$imgParam
[
"house_id"
]
=
$val
[
"house_id"
];
$imgParam
[
"img_type"
]
=
1
;
//默认主图
$imgParam
[
"img_type"
]
=
1
;
//默认主图
...
...
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