...
|
...
|
@@ -18,7 +18,7 @@ const index = (req, res, next) => { |
|
|
const uid = global.yoho.uid || '7394907';
|
|
|
|
|
|
orderModel.getOrderData(uid, type, page).then(result => {
|
|
|
res.render('index', {
|
|
|
res.display('index', {
|
|
|
page: 'order',
|
|
|
isMe: true,
|
|
|
content: Object.assign({
|
...
|
...
|
@@ -35,7 +35,7 @@ const detail = (req, res, next) => { |
|
|
const uid = global.yoho.uid || '7394907';
|
|
|
|
|
|
orderModel.getOrderDetail(uid, code).then(result => {
|
|
|
res.render('index', {
|
|
|
res.display('index', {
|
|
|
isMe: true,
|
|
|
page: 'order-detail',
|
|
|
content: Object.assign({
|
...
|
...
|
@@ -53,7 +53,7 @@ const getOrderList = (req, res, next) => { |
|
|
const uid = global.yoho.uid || '7394907';
|
|
|
|
|
|
orderModel.getOrderData(uid, type, page).then(result => {
|
|
|
res.render('order-table', {
|
|
|
res.display('order-table', {
|
|
|
layout: false,
|
|
|
page: 'order',
|
|
|
isMe: true,
|
...
|
...
|
|