Authored by 周少峰

Merge branch 'feature/user-center' into release/5.5

... ... @@ -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', {
... ...
... ... @@ -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', {
... ...