daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const router = require('koa-router')();                // 引入koa路由器框架
  2. const controller = require('../controller/signin-ctl') // 引入我們新增的注冊控制器(控制它到那條路上)
  3.  
  4. router.get('/signin', controller.getSignin)
  5. router.post('/signin', controller.postSignin)
  6.  
  7. module.exports = router
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top