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
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
9 years ago
Commit
cd7263ae1e057c7080d5c86d7d1ecf706eafc8d1
1 parent
11d75adb
fix new address id encryption
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/editorial/models/editorial.js
apps/me/controllers/address.js
apps/editorial/models/editorial.js
View file @
cd7263a
...
...
@@ -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 @
cd7263a
...
...
@@ -85,7 +85,7 @@ 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
.
a
ddress_
id
=
crypto
.
encryption
(
config
.
crypto
.
common
,
result
.
data
.
address_id
+
''
);
}
res
.
send
(
result
);
...
...
Please
register
or
login
to post a comment