Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
2016-09-05 14:23:50 +0800
Commit
b5f886320c4192e44e156e801b4b119a4d00e362
1 parent
b25feae0
favorite
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/home/controllers/favorite.js
apps/home/models/suggest.js
apps/home/controllers/favorite.js
View file @
b5f8863
...
...
@@ -31,7 +31,7 @@ let favProduct = (req, res, next) => {
let
page
=
req
.
query
.
page
||
1
;
let
limit
=
10
;
console
.
log
(
uid
)
console
.
log
(
uid
)
;
favoriteModel
.
favProduct
(
uid
,
page
,
limit
).
then
((
result
)
=>
{
...
...
apps/home/models/suggest.js
View file @
b5f8863
...
...
@@ -21,7 +21,7 @@ const suggestData = (udid, page, limit) => {
page
:
page
,
limit
:
limit
}).
then
((
result
)
=>
{
if
(
result
&&
result
.
code
===
200
)
{
_
.
forEach
(
result
.
data
.
list
,
function
(
data
)
{
...
...
Please
register
or
login
to post a comment