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
沈志敏
8 years ago
Commit
579c6eb006e8b2cca42307d12a0d5de07cf7b58b
1 parent
6ec4e7a1
fix bug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
apps/activity/models/feature.js
apps/activity/models/individuation.js
apps/activity/models/feature.js
View file @
579c6eb
...
...
@@ -55,7 +55,9 @@ module.exports = {
cache
:
true
});
}
if
(
!
data
)
{
return
;
}
data
=
data
.
data
;
if
(
data
&&
data
.
floors
)
{
data
.
floors
.
forEach
(
function
(
f
)
{
...
...
apps/activity/models/individuation.js
View file @
579c6eb
...
...
@@ -31,7 +31,7 @@ module.exports = {
cache
:
true
}).
then
(
res
=>
{
var
data
=
[],
lst
=
(
res
.
data
&&
res
.
data
.
product_list
)
||
[];
lst
=
(
res
&&
res
.
data
&&
res
.
data
.
product_list
)
||
[];
lst
.
forEach
(
function
(
o
)
{
o
&&
data
.
push
(
_getProduct
(
o
));
...
...
Please
register
or
login
to post a comment