...
|
...
|
@@ -109,7 +109,7 @@ const order = { |
|
|
});
|
|
|
},
|
|
|
coin: (req, res, next) => {
|
|
|
let uid = req.user.id;
|
|
|
let uid = req.user.uid;
|
|
|
|
|
|
orderModel.getCoins(uid).then(result => {
|
|
|
res.render('coin', {
|
...
|
...
|
@@ -127,7 +127,7 @@ const order = { |
|
|
* @returns {*|{read, write}}
|
|
|
*/
|
|
|
getCoinDetail: (req, res) => {
|
|
|
let uid = req.user.id;
|
|
|
let uid = req.user.uid;
|
|
|
let page = req.query.page;
|
|
|
let limit = req.query.limit;
|
|
|
|
...
|
...
|
|