router.js
398 Bytes
/**
* router of sub app product
* @author: weiqingting<qingting.wei@yoho.cn>
* @date: 2016/05/06
*/
'use strict';
const express = require('express');
const router = express.Router(); // eslint-disable-line
const cRoot = './controllers';
const personalController = require(`${cRoot}/QRcode`);
// 查看二维码
router.get('/QRcode/:id', personalController.QRcode);
module.exports = router;