...
|
...
|
@@ -16,7 +16,8 @@ const cRoot = './controllers'; |
|
|
const installment = require(cRoot + '/installment');
|
|
|
|
|
|
const personalController = require(`${cRoot}/qrcode`);
|
|
|
const userQrcode = require(`${cRoot}/myqrcode`);
|
|
|
|
|
|
// const userQrcode = require(`${cRoot}/myqrcode`);
|
|
|
const homeController = require(`${cRoot}/index`);
|
|
|
const addressController = require(`${cRoot}/address`);
|
|
|
const favorite = require(`${cRoot}/favorite`);
|
...
|
...
|
@@ -39,7 +40,9 @@ const newQrcode = require(`${cRoot}/newQrcode`); |
|
|
|
|
|
// 查看二维码
|
|
|
router.get('/QRcode/:id', personalController.QRcode);
|
|
|
router.get('/user/qrcode', userQrcode.index);
|
|
|
|
|
|
// router.get('/user/qrcode', userQrcode.index);
|
|
|
router.get('/user/qrcode', auth, newQrcode.index);
|
|
|
|
|
|
/* 个人中心地址管理相关路由 */
|
|
|
router.get('/address', auth, addressController.address); // 地址管理页面
|
...
|
...
|
|