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
周少峰
2017-03-08 11:15:46 +0800
Commit
50e239035c92aca3666f2ab10e2ad8fa7d4e8cb6
2 parents
0962cdd4
42f740f9
Merge branch 'feature/user-center' into release/5.5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/home/controllers/currency.js
apps/home/controllers/redenvelopes.js
apps/home/controllers/currency.js
View file @
50e2390
...
...
@@ -7,7 +7,7 @@
const
currencyModel
=
require
(
'../models/currency-model'
);
const
index
=
(
req
,
res
,
next
)
=>
{
let
uid
=
'8041246'
;
let
uid
=
req
.
user
.
uid
;
currencyModel
.
currencyData
(
uid
,
req
.
query
).
then
(
result
=>
{
res
.
render
(
'currency'
,
{
...
...
apps/home/controllers/redenvelopes.js
View file @
50e2390
...
...
@@ -2,7 +2,7 @@
const
redenvelopesModel
=
require
(
'../models/redenvelopes-model'
);
const
index
=
(
req
,
res
,
next
)
=>
{
let
uid
=
'8040274'
;
let
uid
=
req
.
user
.
uid
;
redenvelopesModel
.
redenvelopesList
(
uid
).
then
(
result
=>
{
res
.
render
(
'redenvelopes'
,
{
...
...
Please
register
or
login
to post a comment