Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
2017-11-22 14:10:44 +0800
Commit
9fbc23720c08e72c4d2b1728b3096704b0017e0f
2 parents
daf78aba
9f75ed10
Merge branch 'feature/seo-1120' into gray
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/cart/models/address.js
apps/cart/models/address.js
View file @
9fbc237
...
...
@@ -90,7 +90,7 @@ module.exports = class extends global.yoho.BaseModel {
}
setDefaultAddress
(
uid
,
id
)
{
id
=
crypto
.
decrypt
(
''
,
`
$
{
id
}
`
);
id
=
parseInt
(
crypto
.
decrypt
(
''
,
`
$
{
id
}
`
),
10
);
return
new
AddressApi
(
this
.
ctx
).
setDefaultAddressAsync
(
uid
,
id
);
}
...
...
Please
register
or
login
to post a comment