• This project
    • Loading...
  • Sign in

张泽世 / yohobuywap-node · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • apps
  • coupon
  • router.js
  • 分享领券h5业务逻辑
    a330f837
    by 张丽霞
    2016-06-03 21:12:49 +0800  
    Browse Files
router.js 392 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/**
 * router of sub app coupon
 * @author: lixia.zhang<lixia.zhang@yoho.cn>
 * @date: 2016/05/31
 */

'use strict';

const router = require('express').Router();
const cRoot = './controllers';

const coupon = require(`${cRoot}/coupon`);

// routers

router.get('/index', coupon.index);

router.get('/phone', coupon.getCoupon);

router.get('/verify', coupon.verify);

module.exports = router;