This commit is contained in:
Jay
2021-09-01 20:46:41 +08:00
parent b91ce62aa4
commit 2e05f90851
19 changed files with 3061 additions and 11174 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
const Router = require('@koa/router');
const oauthCtrl = require('src/controllers/oauth/index.js');
const Router = require('@koa/router')
const oauthCtrl = require('src/controllers/oauth/index.js')
const r = new Router({ prefix: '/oauth' });
const r = new Router({ prefix: '/oauth' })
r.get('/redirect', oauthCtrl.verifyCode());
r.get('/redirect', oauthCtrl.verifyCode())
module.exports = r;
module.exports = r