Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
徐炜
9 years ago
Commit
344b7463685d632f2e13b06c2e51caaa4ed0b0e4
2 parents
6b47230b
4290f93d
Merge branch 'release/1.0'
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
apps/editorial/models/editorial.js
apps/me/controllers/address.js
apps/me/views/partial/collection/brand.hbs
apps/editorial/models/editorial.js
View file @
344b746
...
...
@@ -232,7 +232,7 @@ const _getRelatedData = (idList) => {
return
productList
;
}
else
{
logger
.
error
(
'推荐商品 co
od
不是 200'
);
logger
.
error
(
'推荐商品 co
de
不是 200'
);
return
{};
}
});
...
...
apps/me/controllers/address.js
View file @
344b746
...
...
@@ -7,7 +7,7 @@
const
mcHandler
=
require
(
'../models/menu-crumb-handler'
);
const
addressModel
=
require
(
'../models/address'
);
const
crypto
=
global
.
yoho
.
crypto
;
const
config
=
global
.
yoho
.
config
const
config
=
global
.
yoho
.
config
;
const
logger
=
global
.
yoho
.
logger
;
const
_
=
require
(
'lodash'
);
...
...
@@ -85,7 +85,8 @@ const addAddressData = (req, res, next) => {
addressModel
.
addAddressData
(
uid
,
address
,
areaCode
,
consignee
,
mobile
,
phone
,
isInit
).
then
(
result
=>
{
if
(
result
.
data
&&
result
.
data
.
address_id
)
{
result
.
data
.
aid
=
crypto
.
encryption
(
config
.
crypto
.
common
,
result
.
data
.
address_id
+
''
);
result
.
data
.
address_id
=
crypto
.
encryption
(
config
.
crypto
.
common
,
result
.
data
.
address_id
+
''
);
result
.
data
.
aid
=
result
.
data
.
address_id
;
}
res
.
send
(
result
);
...
...
apps/me/views/partial/collection/brand.hbs
View file @
344b746
...
...
@@ -5,6 +5,7 @@
<span
class=
"num"
>
您共收藏了
{{
total
}}
个品牌
</span>
<div
class=
"brands-list clearfix"
>
{{#
each
brandList
}}
{{#if
status
}}
<div
class=
"brand-raw clearfix"
>
<div
class=
"check"
>
{{>
icon
/
checkbox
}}
...
...
@@ -71,6 +72,7 @@
{{/if}}
</div>
</div>
{{/if}}
{{/
each
}}
</div>
...
...
Please
register
or
login
to post a comment