Commit a5245205 authored by zw's avatar zw

route

parent 8d9785db
......@@ -46,8 +46,9 @@ Route::group('app_broker', [
'customerinfo_genjin' => [ 'app_broker/index/customerinfo_genjin', [ 'method' => 'get' ] ],
'timeline_pc' => [ 'app_broker/index/timeline_pc', [ 'method' => 'get' ] ],
'shop_detail_pc' => [ 'app_broker/index/shop_detail_pc', [ 'method' => 'get' ] ],
'submit_report_pc' => [ 'app_broker/index/submit_report_pc', [ 'method' => 'get' ] ],
'customer_genjin_detail_pc' => [ 'app_broker/index/customer_genjin_detail_pc', [ 'method' => 'get' ] ],
'bargaininfo_detail_pc' => [ 'app_broker/index/bargaininfo_detail_pc', [ 'method' => 'get' ] ],
'bargaininfo_detail_static_pc' => [ 'app_broker/index/bargaininfo_detail_static_pc', [ 'method' => 'get' ] ],
'customerinfo_customer_add' => [ 'app_broker/index/customerinfo_customer_add', [ 'method' => 'get' ] ],
'customerinfo_details_new' => [ 'app_broker/index/customerinfo_details_new', [ 'method' => 'get' ] ],
'download_b' => [ 'app_broker/index/download_b', [ 'method' => 'get' ] ],
......@@ -143,14 +144,14 @@ Route::group('index', [
'updateRoleStatus' => [ 'index/auth/updateRoleStatus', [ 'method' => 'post' ] ], //--规则编辑【接口】
'agent' => [ 'index/agent/agent', [ 'method' => 'get' ] ], //首页列表界面
'saveAgentIndex' => [ 'index/agent/saveAgentIndex', [ 'method' => 'get' ] ], //编辑列表列表界面
'AgentList' => [ 'index/agent/AgentList', [ 'method' => 'get' ] ], //首页列表【接口】
'saveAgent' => [ 'index/agent/saveAgent', [ 'method' => 'get|post' ] ], //修改经纪人【接口】
'updateStatus' => [ 'index/agent/updateStatus', [ 'method' => 'post' ] ], //状态修改【接口】
'updateRole' => [ 'index/agent/updateRole', [ 'method' => 'post' ] ], //经纪人角色修改【接口】
'deviceList' => [ 'index/agent/deviceList', [ 'method' => 'post|get' ] ], //经纪人设备id绑定列表
'updateDevice' => [ 'index/agent/updateDevice', [ 'method' => 'post|get' ] ],//解绑或绑定经纪人设备id
'agent' => [ 'index/broker/agent', [ 'method' => 'get' ] ], //首页列表界面
'saveAgentIndex' => [ 'index/broker/saveAgentIndex', [ 'method' => 'get' ] ], //编辑列表列表界面
'AgentList' => [ 'index/broker/AgentList', [ 'method' => 'get' ] ], //首页列表【接口】
'saveAgent' => [ 'index/broker/saveAgentV2', [ 'method' => 'get|post' ] ], //修改经纪人【接口】
'updateStatus' => [ 'index/broker/updateStatusV2', [ 'method' => 'post' ] ], //状态修改【接口】
'updateRole' => [ 'index/broker/updateRole', [ 'method' => 'post' ] ], //经纪人角色修改【接口】
'deviceList' => [ 'index/broker/deviceList', [ 'method' => 'post|get' ] ], //经纪人设备id绑定列表
'updateDevice' => [ 'index/broker/updateDevice', [ 'method' => 'post|get' ] ],//解绑或绑定经纪人设备id
//客户标签
'getULabelsList' => [ 'index/label/getULabelsList', [ 'method' => 'get' ] ], //客户标签列表接口/界面
......@@ -169,7 +170,7 @@ Route::group('index', [
'houseDel' => [ 'index/Houses/del', [ 'method' => 'post' ] ], //删除商铺
'regions' => [ 'index/BusinessDistrict/regions', [ 'method' => 'get' ] ], //获取省市区数据
'getCity' => [ 'index/BusinessDistrict/getCity', [ 'method' => 'get' ] ], //获取所有的城市
'getAllDisc' => [ 'index/BusinessDistrict/getAllDisc', [ 'method' => 'get' ] ], //获取所有的城市
'getHouseList' => [ 'index/houses/getHouseList', [ 'method' => 'get' ] ], //楼盘列表
'carefullyChosen' => [ 'index/houses/carefullyChosen', [ 'method' => 'post' ] ], //设置精选楼盘
'editExclusive' => [ 'index/houses/editExclusive', [ 'method' => 'post' ] ], //添加和编辑楼盘独家
......@@ -285,7 +286,7 @@ Route::group('index', [
'delNews' => [ 'index/news/delNews', [ 'method' => 'POST' ] ], //删除商学院文章
'new_text' => [ 'index/news/newText', [ 'method' => 'GET' ] ],
'delNewsFile' => [ 'index/news/delNewsFile', [ 'method' => 'POST' ] ], //删除商学院附件
'agentEvaluateNumAndFraction' => [ 'index/agent/agentEvaluateNumAndFraction', [ 'method' => 'POST|GET' ] ],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'agentEvaluateNumAndFraction' => [ 'index/broker/agentEvaluateNumAndFraction', [ 'method' => 'POST|GET' ] ],//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg' => [ 'index/UploadImg/uploadImg', [ 'method' => 'POST' ] ],//全局图片上传
'followUpList' => [ 'index/HouseFollowUp/followUpList', [ 'method' => 'GET' ] ],//商铺跟进liu
'inspectionRecordList' => [ 'index/InspectionRecord/inspectionRecordList', [ 'method' => 'GET' ] ],//约带看记录liu
......@@ -301,6 +302,7 @@ Route::group('index', [
//‘页面的地址’ =》 index/控制器名称/使用的方法
'inviteStatistics' => [ 'index/InviteStatistics/inviteStatisticsList', [ 'method' => 'POST|GET' ] ],//邀请注册liu
'operationalData' => [ 'index/OperationalData/operationalDataList', [ 'method' => 'POST|GET' ] ],//运营数据统计liu
'siteList' => [ 'index/site/siteLogList', [ 'method' => 'POST|GET' ] ],//站点列表liu
'lookShopIndex' => [ 'index/LookShop/lookShopIndex', [ 'method' => 'GET' ] ],//商铺查看日志
'selectDistrictPerformance' => [ 'index/Performance/selectDistrictPerformance', [ 'method' => 'POST|GET' ] ], //区域业绩排行 朱伟 2018-07-31
'selectStorePerformance' => [ 'index/Performance/selectStorePerformance', [ 'method' => 'POST|GET' ] ], //门店业绩排行 朱伟 2018-07-31
......@@ -330,8 +332,16 @@ Route::group('index', [
'getPerformanceReportList' => [ 'index/PerformanceReport/getPerformanceReportList', [ 'method' => 'get | post' ] ],
'delPerformanceReport' => [ 'index/PerformanceReport/delPerformanceReport', [ 'method' => 'get | post' ] ],//删除
//批量处理控制器
'getCityLatAadLng' => [ 'index/BatchProcessing/getCityLatAadLng', [ 'method' => 'get | post' ] ],//批量设置商圈的经纬度
'updatePhoneFollowUpIsShow' => [ 'index/BatchProcessing/updatePhoneFollowUpIsShow', [ 'method' => 'get | post' ] ],//批量设置商圈的经纬度
//站点相关
'addSite' => [ 'index/Site/addSite', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18
'getSiteList' => [ 'index/Site/getSiteList', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18
'delImageDepot' => [ 'index/Site/delImageDepot', [ 'method' => 'POST|GET' ] ], //关闭或开启站点 朱伟 2018-10-18
]);
......@@ -351,6 +361,7 @@ Route::group('api', [
//post broker
'appraiser' => [ 'api/broker/appraiser', [ 'method' => 'post' ] ], //评价经纪人
'recordCallNum' => [ 'api/broker/recordCallNum', [ 'method' => 'post' ] ], //记录拨打经纪人号码
'recordCallNumShare' => [ 'api/broker/recordCallNumShare', [ 'method' => 'post' ] ], //记录拨打经纪人号码
//get member
'logout' => [ 'api/member/logout', [ 'method' => 'get' ] ],
......@@ -410,6 +421,12 @@ Route::group('api', [
'saveSiteCity' => [ 'api/Location/saveSiteCity', [ 'method' => 'POST|GET' ] ], //保存默认城市选择 c端
//站点相关
'setUserSite' => [ 'api/Site/setUserSite', [ 'method' => 'POST|GET' ] ],//设置站点
'getSiteListApp' => [ 'api/Site/getSiteList', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18
'addUserCallAgent' => [ 'api/CallAgent/addUserCallAgent', [ 'method' => 'POST|GET' ] ],//客户来电记录
]);
......@@ -517,6 +534,8 @@ Route::group('broker', [
'inviteList' => [ 'api_broker/Client/inviteList', [ 'method' => 'get' ] ], //邀请记录
//商铺
'getShopList' => [ 'api_broker/Shop/getShopList', [ 'method' => 'get|post' ] ],
'getShopListByMap' => [ 'api_broker/MapFindHouse/getShopListByMap', [ 'method' => 'get|post' ] ],
'getCityInfoByMap' => [ 'api_broker/MapFindHouse/getCityInfoByMap', [ 'method' => 'get|post' ] ],
'getShopDetail' => [ 'api_broker/Shop/getShopDetail', [ 'method' => 'get' ] ],
'addShopFollowUp' => [ 'api_broker/Shop/addShopFollowUp', [ 'method' => 'post' ] ], //新增商铺跟进记录
......@@ -636,6 +655,9 @@ Route::group('broker', [
'addUserCallAgent' => [ 'api_broker/CallAgent/addUserCallAgent', [ 'method' => 'POST|GET' ] ],//客户来电记录
//站点相关
'getSiteListApp' => [ 'api_broker/Site/getSiteList', [ 'method' => 'POST|GET' ] ], //获取站点列表 朱伟 2018-10-18
]);
//Route::miss('api/index/miss');//处理错误的url
\ No newline at end of file
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