Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
e08f0af6
Commit
e08f0af6
authored
Dec 14, 2017
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由
parent
d8d9ed95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
34 deletions
+31
-34
route.php
application/route.php
+31
-34
No files found.
application/route.php
View file @
e08f0af6
...
@@ -40,67 +40,64 @@ Route::rule([
...
@@ -40,67 +40,64 @@ Route::rule([
/*Error
/*Error
Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/
Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/
Route
::
group
(
'app'
,[
Route
::
group
(
'app'
,
[
'index'
=>
[
'app/index/index'
,[
'method'
=>
'get'
]],
'index'
=>
[
'app/index/index'
,
[
'method'
=>
'get'
]
],
'share_detail'
=>
[
'app/index/share_detail'
,
[
'method'
=>
'get'
]],
'share_detail'
=>
[
'app/index/share_detail'
,
[
'method'
=>
'get'
]
],
'getShopDetail'
=>
[
'app/index/getShopDetail'
,
[
'method'
=>
'get'
]
],
]);
]);
Route
::
group
(
'index'
,[
Route
::
group
(
'index'
,
[
'member'
=>
[
'index/member.index/member'
,[
'method'
=>
'get'
]
],
'member'
=>
[
'index/member.index/member'
,
[
'method'
=>
'get'
]
],
'preview_list'
=>
[
'index/member.index/preview_list'
,[
'method'
=>
'get'
]
],
'preview_list'
=>
[
'index/member.index/preview_list'
,
[
'method'
=>
'get'
]
],
'consumer_list'
=>
[
'index/member.index/consumer_list'
,[
'method'
=>
'get'
]
],
'consumer_list'
=>
[
'index/member.index/consumer_list'
,
[
'method'
=>
'get'
]
],
'diagram_list'
=>
[
'index/member.index/diagram_list'
,[
'method'
=>
'get'
]
],
'diagram_list'
=>
[
'index/member.index/diagram_list'
,
[
'method'
=>
'get'
]
],
'entrust_list'
=>
[
'index/member.index/entrust_list'
,[
'method'
=>
'get'
]
]
'entrust_list'
=>
[
'index/member.index/entrust_list'
,
[
'method'
=>
'get'
]
]
]);
]);
Route
::
group
(
'api'
,[
Route
::
group
(
'api'
,
[
//get
//get
'sendSms/:phone'
=>
[
'api/member/sendSms'
,
[
'method'
=>
'get'
]],
//发送短信
'sendSms/:phone'
=>
[
'api/member/sendSms'
,
[
'method'
=>
'get'
]
],
//发送短信
'index'
=>
[
'api/member/index'
,
[
'method'
=>
'get'
]],
'index'
=>
[
'api/member/index'
,
[
'method'
=>
'get'
]
],
//get broker
//get broker
'getBroker'
=>
[
'api/broker/index'
,[
'method'
=>
'get'
]
],
//获取当前商铺或街铺的经纪人
'getBroker'
=>
[
'api/broker/index'
,
[
'method'
=>
'get'
]
],
//获取当前商铺或街铺的经纪人
'commentAndDeal'
=>
[
'api/broker/commentAndDeal'
,[
'method'
=>
'get'
]
],
//获取当前经纪人的评价和交易列表
'commentAndDeal'
=>
[
'api/broker/commentAndDeal'
,
[
'method'
=>
'get'
]
],
//获取当前经纪人的评价和交易列表
'brokerDetail/:id'
=>
[
'api/broker/brokerDetail'
,[
'method'
=>
'get'
]
],
//经纪人详情
'brokerDetail/:id'
=>
[
'api/broker/brokerDetail'
,
[
'method'
=>
'get'
]
],
//经纪人详情
//post broker
//post broker
'appraiser'
=>
[
'api/broker/appraiser'
,[
'method'
=>
'post'
]
],
//评价经纪人
'appraiser'
=>
[
'api/broker/appraiser'
,
[
'method'
=>
'post'
]
],
//评价经纪人
//get member
//get member
'logout'
=>
[
'api/member/logout'
,[
'method'
=>
'get'
]
],
'logout'
=>
[
'api/member/logout'
,
[
'method'
=>
'get'
]
],
'inviteList/:id'
=>
[
'api/member/inviteList'
,
[
'method'
=>
'get'
]
],
//邀请记录
'inviteList/:id'
=>
[
'api/member/inviteList'
,
[
'method'
=>
'get'
]
],
//邀请记录
//post member
//post member
'login'
=>
[
'api/member/login'
,[
'method'
=>
'post'
]
],
//c端登陆
'login'
=>
[
'api/member/login'
,
[
'method'
=>
'post'
]
],
//c端登陆
'register'
=>
[
'api/member/register'
,[
'method'
=>
'post'
]
],
//注册|邀请注册|编辑
'register'
=>
[
'api/member/register'
,
[
'method'
=>
'post'
]
],
//注册|邀请注册|编辑
// shop
// shop
'shopList'
=>
[
'api/shop/getShopList'
,
[
'method'
=>
'post'
]
],
'shopList'
=>
[
'api/shop/getShopList'
,
[
'method'
=>
'post'
]
],
'filtrateCondition'
=>
[
'api/shop/filtrateCondition'
,
[
'method'
=>
'get | post'
]
],
'filtrateCondition'
=>
[
'api/shop/filtrateCondition'
,
[
'method'
=>
'get | post'
]
],
'shopDetail'
=>
[
'api/shop/getShopDetail'
,
[
'method'
=>
'get'
]
],
'shopDetail'
=>
[
'api/shop/getShopDetail'
,
[
'method'
=>
'get'
]
],
//get banner
//get banner
'bannerList'
=>
[
'api/banner/getBannerList'
,
[
'method'
=>
'get'
]
],
'bannerList'
=>
[
'api/banner/getBannerList'
,
[
'method'
=>
'get'
]
],
//get index
//get index
'averagePriceAndTurnover'
=>
[
'api/index/averagePriceAndTurnover'
,[
'method'
=>
'get'
]
],
'averagePriceAndTurnover'
=>
[
'api/index/averagePriceAndTurnover'
,
[
'method'
=>
'get'
]
],
//post AppointmentTime
//post AppointmentTime
'getAppointmentSeeShopList'
=>
[
'api/appointmentTime/getAppointmentSeeShopList'
,[
'method'
=>
'post'
]
],
'getAppointmentSeeShopList'
=>
[
'api/appointmentTime/getAppointmentSeeShopList'
,
[
'method'
=>
'post'
]
],
//tradeLog
//tradeLog
'getTradeList'
=>
[
'api/TradeLog/getTradeList'
,[
'method'
=>
'get'
]
],
'getTradeList'
=>
[
'api/TradeLog/getTradeList'
,
[
'method'
=>
'get'
]
],
//AttentionShop
//AttentionShop
'addOrUpdateAttention'
=>
[
'api/AttentionShop/addOrUpdateAttention'
,[
'method'
=>
'post'
]],
'addOrUpdateAttention'
=>
[
'api/AttentionShop/addOrUpdateAttention'
,
[
'method'
=>
'post'
]
],
'attentionList'
=>
[
'api/AttentionShop/attentionList'
,[
'method'
=>
'post | get'
]],
'attentionList'
=>
[
'api/AttentionShop/attentionList'
,
[
'method'
=>
'post | get'
]
],
]);
]);
...
...
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