Commit 1543d0a7 authored by Hsinli's avatar Hsinli

add

parent 7e1a027d
Pipeline #19880 passed with stage
in 3 seconds
...@@ -5,33 +5,33 @@ module.exports = app => { ...@@ -5,33 +5,33 @@ module.exports = app => {
const loginAuth = app.middleware.loginAuth({ type: 'new' });//登录中间件 const loginAuth = app.middleware.loginAuth({ type: 'new' });//登录中间件
//贷款计算器 //贷款计算器
router.post('/caculator', 'cd.loanCaculator.caculator'); router.post('third', '/caculator', 'cd.loanCaculator.caculator');
//资讯-详细内容 //资讯-详细内容
router.get('/news/:id', 'cd.news.getNews'); router.get('third', '/news/:id', 'cd.news.getNews');
//资讯-列表 //资讯-列表
router.post('/news/list', 'cd.news.getNewsList'); router.post('third', '/news/list', 'cd.news.getNewsList');
//预售楼盘-搜索历史 //预售楼盘-搜索历史
router.get('/presell/search_history', loginAuth, 'cd.presellSearchHistory.getSearchHistory'); router.get('/presell/search_history', 'cd.presellSearchHistory.getSearchHistory');
//预售楼盘-清除搜索历史 //预售楼盘-清除搜索历史
router.put('/presell/search_history', loginAuth, 'cd.presellSearchHistory.cleanSearchHistory'); router.put('/presell/search_history', 'cd.presellSearchHistory.cleanSearchHistory');
//预售楼盘-列表 //预售楼盘-列表
router.post('/presell/house/list', 'cd.presellHouse.getPresellHouseList'); router.post('third', '/presell/house/list', 'cd.presellHouse.getPresellHouseList');
//预售楼盘-详情 //预售楼盘-详情
router.get('/presell/house/:id', 'cd.presellHouse.getPresellHouse'); router.get('third', '/presell/house/:id', 'cd.presellHouse.getPresellHouse');
//摇号-楼盘名字模糊匹配 //摇号-楼盘名字模糊匹配
router.post('/lottery/name', loginAuth, 'cd.lotteryPublicise.getHouseName'); router.post('third', '/lottery/name', 'cd.lotteryPublicise.getHouseName');
//摇号-用户查询 //摇号-用户查询
router.post('/lottery/publicise', loginAuth, 'cd.lotteryPublicise.getLotteryPublicise'); router.post('/lottery/publicise', loginAuth, 'cd.lotteryPublicise.getLotteryPublicise');
//摇号-用户查询历史 //摇号-用户查询历史
router.get('/lottery/query/list', loginAuth, 'cd.lotteryPublicise.getUserQueryList'); router.get('/lottery/query/list', 'cd.lotteryPublicise.getUserQueryList');
//摇号-用户根据查询历史重新查询 //摇号-用户根据查询历史重新查询
router.post('/lottery/review', loginAuth, 'cd.lotteryPublicise.updateQuery'); router.post('/lottery/review', loginAuth, 'cd.lotteryPublicise.updateQuery');
//用户-授权登录返回用户五要素 //用户-授权登录返回用户五要素
router.post('/user/auth', 'cd.user.userAuth'); router.post('third', '/user/auth', 'cd.user.userAuth');
......
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