Commit 0d0f383e authored by Hsinli's avatar Hsinli

add

parent 80af1c67
Pipeline #19280 passed with stage
in 7 seconds
......@@ -2,8 +2,9 @@
module.exports = app => {
const router = app.router.namespace(app.config.projectRootPath + '/duxiaoman');
const loginAuth = app.middleware.loginAuth({ type: 'new' });//登录中间件
router.get('/phone', 'duxiaoman.check.getUserHidePhone');
router.get('/result', 'duxiaoman.check.getCheck');
router.get('/phone', loginAuth, 'duxiaoman.check.getUserHidePhone');
router.get('/result', loginAuth, 'duxiaoman.check.getCheck');
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment