[feat] Init code

This commit is contained in:
JasonWu
2021-08-31 18:24:42 +08:00
commit b1e9c5e62a
57 changed files with 17957 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
const Router = require('@koa/router');
const oauthCtrl = require('src/controllers/oauth/index.js');
const r = new Router({ prefix: '/oauth' });
r.get('/redirect', oauthCtrl.verifyCode());
module.exports = r;