Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
1543d0a7
Commit
1543d0a7
authored
Mar 04, 2020
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7e1a027d
Pipeline
#19880
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
cd.js
app/router/cd.js
+10
-10
No files found.
app/router/cd.js
View file @
1543d0a7
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment