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
Email Patches
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
7c5dcf717b5742aefca8d13d27b0e6ed817dfcbe
1 parent
847158e7
fix ctx
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/cart/controllers/order-ensure.js
apps/cart/controllers/order-ensure.js
View file @
7c5dcf7
...
...
@@ -61,7 +61,7 @@ const convertCoupons = (req, res, next) => {
// 获取礼品卡列表
const
getGiftCards
=
(
req
,
res
,
next
)
=>
{
req
.
ctx
(
oeModel
).
.
getGiftCards
(
req
.
user
.
uid
).
then
(
data
=>
{
req
.
ctx
(
oeModel
).
getGiftCards
(
req
.
user
.
uid
).
then
(
data
=>
{
if
(
data
.
data
)
{
data
.
data
.
userMobile
=
req
.
user
.
mobile
;
}
...
...
Please
register
or
login
to post a comment