Commit a76ae022 authored by clone's avatar clone

1

parent 81fc52c2
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace app\api_broker\controller; namespace app\api_broker\controller;
use app\api_broker\extend\Basic; use app\api_broker\extend\Basic;
use app\api_broker\service\AgentLookUserLogService;
use app\api_broker\service\LookShopService; use app\api_broker\service\LookShopService;
use app\model\AAgents; use app\model\AAgents;
use app\model\SystemConfig; use app\model\SystemConfig;
...@@ -66,7 +67,7 @@ class LookShop extends Basic ...@@ -66,7 +67,7 @@ class LookShop extends Basic
/*$params = array( /*$params = array(
"store_id" => 1, "store_id" => 1,
);*/ );*/
if (!isset($params["store_id"]) && $params["store_id"] <= 0) { if (!isset($params["store_id"]) && $params["store_id"] <= 0) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
$field = "id,store_id,level,name,phone,img"; $field = "id,store_id,level,name,phone,img";
...@@ -80,7 +81,7 @@ class LookShop extends Basic ...@@ -80,7 +81,7 @@ class LookShop extends Basic
} }
$systemConfigModel = new SystemConfig(); $systemConfigModel = new SystemConfig();
$lookNum = 0; $lookNum = 0;
$data = $systemConfigModel->getSetting([ "config_type" => 40 ], "rule"); $data = $systemConfigModel->getSetting(["config_type" => 40], "rule");
if ($data && $data["agent_shop_num"] > 0) { if ($data && $data["agent_shop_num"] > 0) {
$lookNum = $data["agent_shop_num"]; $lookNum = $data["agent_shop_num"];
} }
...@@ -117,42 +118,42 @@ class LookShop extends Basic ...@@ -117,42 +118,42 @@ class LookShop extends Basic
//$params_["id"] = $params['agent_id']; //$params_["id"] = $params['agent_id'];
$params_["id"] = $this->agentId; $params_["id"] = $this->agentId;
$result = $model->searchAgentsByKeyword("id,store_id,district_id,level", $params_); $result = $model->searchAgentsByKeyword("id,store_id,district_id,level", $params_);
$field = "a.id,a.store_id,a.level,a.name,a.phone,a.img,b.store_name"; $field = "a.id,a.store_id,a.level,a.name,a.phone,a.img,b.store_name";
//店长 //店长
if($result[0]["level"] == 20){ if ($result[0]["level"] == 20) {
$where_["store_id"] = $result[0]["store_id"]; $where_["store_id"] = $result[0]["store_id"];
}else{//总监 } else {//总监
$where_["district_id"] = $result[0]["district_id"]; $where_["district_id"] = $result[0]["district_id"];
} }
$where_["status"] = 0; $where_["status"] = 0;
//经纪人姓名搜索 //经纪人姓名搜索
if (!empty($params["name"])) { if (!empty($params["name"])) {
$where_["name"] = array( "like", "%" . trim($params['name']) . "%" ); $where_["name"] = array("like", "%" . trim($params['name']) . "%");
} }
$agentList = $this->agentsModel->getAgentByIdV2($field, $where_, $page_no, $page_size); $agentList = $this->agentsModel->getAgentByIdV2($field, $where_, $page_no, $page_size);
if (count($agentList) <= 0) { if (count($agentList) <= 0) {
return $this->response("200", "request null"); return $this->response("200", "request null");
} }
$systemConfigModel = new SystemConfig(); $systemConfigModel = new SystemConfig();
$lookNum = 0; $lookNum = 0;
$data = $systemConfigModel->getSetting([ "config_type" => 40 ], "rule"); $data = $systemConfigModel->getSetting(["config_type" => 40], "rule");
if ($data && $data["agent_shop_num"] > 0) { if ($data && $data["agent_shop_num"] > 0) {
$lookNum = $data["agent_shop_num"]; $lookNum = $data["agent_shop_num"];
} }
//1.返回剩余铺数等于多少 if 0 判断是否升级过 ,升级过 显示已升级,没升级过 升级可以点击效果 else 不等于0 灰色的升级 //1.返回剩余铺数等于多少 if 0 判断是否升级过 ,升级过 显示已升级,没升级过 升级可以点击效果 else 不等于0 灰色的升级
foreach ($agentList as $key => $item) { foreach ($agentList as $key => $item) {
$agentList[$key]['img'] = AGENTHEADERIMGURL . $item['img']; $agentList[$key]['img'] = AGENTHEADERIMGURL . $item['img'];
$can_look_num = $this->lookShopService_->isLookShop($item["id"]); $can_look_num = $this->lookShopService_->isLookShop($item["id"]);
$is_upgrade = $this->lookShopService_->getAgentUpNum($item["id"]); $is_upgrade = $this->lookShopService_->getAgentUpNum($item["id"]);
$agentList[$key]["can_look_num"] = $can_look_num; $agentList[$key]["can_look_num"] = $can_look_num;
$agentList[$key]["is_upgrade"] = $is_upgrade == 1 ? false : true ;//前端判断 等于1是未升级 2已升级 $agentList[$key]["is_upgrade"] = $is_upgrade == 1 ? false : true;//前端判断 等于1是未升级 2已升级
} }
$result["look_num"] = $lookNum; $result["look_num"] = $lookNum;
$result["list"] = $agentList; $result["list"] = $agentList;
...@@ -161,7 +162,6 @@ class LookShop extends Basic ...@@ -161,7 +162,6 @@ class LookShop extends Basic
} }
/** /**
* 客户浏览记录 商铺详情点进去查看哪些客户看了的 * 客户浏览记录 商铺详情点进去查看哪些客户看了的
* PC后台调 * PC后台调
...@@ -169,15 +169,15 @@ class LookShop extends Basic ...@@ -169,15 +169,15 @@ class LookShop extends Basic
*/ */
public function getShopUserVisitLog() public function getShopUserVisitLog()
{ {
$params = $this->params; $params = $this->params;
$checkResult = $this->validate($params, "UserLookShopValidate.getLookShopList"); $checkResult = $this->validate($params, "UserLookShopValidate.getLookShopList");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
} }
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$s_look_Shop = new LookShopService(); $s_look_Shop = new LookShopService();
$result = $s_look_Shop->getShopUserVisitLog($params,$pageNo, $pageSize); $result = $s_look_Shop->getShopUserVisitLog($params, $pageNo, $pageSize);
return $this->response("200", "success", $result); return $this->response("200", "success", $result);
} }
...@@ -188,15 +188,15 @@ class LookShop extends Basic ...@@ -188,15 +188,15 @@ class LookShop extends Basic
*/ */
public function getLookShopList() public function getLookShopList()
{ {
$params = $this->params; $params = $this->params;
$checkResult = $this->validate($params, "UserLookShopValidate.getLookShopList"); $checkResult = $this->validate($params, "UserLookShopValidate.getLookShopList");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
} }
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 10 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 10 : $params['pageSize'];
$s_look_Shop = new LookShopService(); $s_look_Shop = new LookShopService();
$result = $s_look_Shop->getShopUserVisitLog($params,$pageNo, $pageSize); $result = $s_look_Shop->getShopUserVisitLog($params, $pageNo, $pageSize);
return $this->response("200", "success", $result); return $this->response("200", "success", $result);
} }
...@@ -206,18 +206,36 @@ class LookShop extends Basic ...@@ -206,18 +206,36 @@ class LookShop extends Basic
*/ */
public function getShopLookList() public function getShopLookList()
{ {
$params = $this->params; $params = $this->params;
$checkResult = $this->validate($params, "UserLookShopValidate.getShopLookList"); $checkResult = $this->validate($params, "UserLookShopValidate.getShopLookList");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
} }
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo']; $pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$s_look_Shop = new LookShopService(); $s_look_Shop = new LookShopService();
$result = $s_look_Shop->getShopLookList($params['user_id'],$pageNo,$pageSize); $result = $s_look_Shop->getShopLookList($params['user_id'], $pageNo, $pageSize);
return $this->response("200", "success", $result); return $this->response("200", "success", $result);
} }
public function saveLookUserList()
{
$params = $this->params;
/* $params = array(
"agent_id" => 111,
"user_id" => 111,
"source" => 1,
);*/
$agent_id = $params["agent_id"];
$user_id = $params["user_id"];
$source = empty($params["source"]) ? 0 : 1;
if (!$agent_id || !$user_id) {
return $this->response("101", "参数错误");
}
$agentLookUserService = new AgentLookUserLogService();
$agentLookUserService->saveCacheAgentLookUser($agent_id, $user_id, $source); //记录经纪人看客户
return $this->response("200", "success");
}
} }
\ No newline at end of file
...@@ -65,6 +65,7 @@ class Basic extends Controller ...@@ -65,6 +65,7 @@ class Basic extends Controller
"broker/getUserLabels", "broker/getUserLabels",
"broker/moveHouseAgent", "broker/moveHouseAgent",
"broker/moveHouseSiteId", "broker/moveHouseSiteId",
"broker/saveLookUserList",
"office/filtrateConditionRoom", "office/filtrateConditionRoom",
"office/getBuildingRoomH5", "office/getBuildingRoomH5",
); );
......
...@@ -126,8 +126,9 @@ class UserLogService ...@@ -126,8 +126,9 @@ class UserLogService
$s_user_agent = new UserAgentService(); $s_user_agent = new UserAgentService();
$user_agent_res = $s_user_agent->selectUserAgent($user_id); $user_agent_res = $s_user_agent->selectUserAgent($user_id);
$data['customer_relegation_list'] = $user_agent_res ? $user_agent_res : []; $data['customer_relegation_list'] = $user_agent_res ? $user_agent_res : [];
$agentLookUserService = new AgentLookUserLogService(); //$agentLookUserService = new AgentLookUserLogService();
$agentLookUserService->saveCacheAgentLookUser($agent_id, $user_id, 1); //记录经纪人看客户 //$agentLookUserService->saveCacheAgentLookUser($agent_id, $user_id, 1); //记录经纪人看客户
$this->sendRequestByCurl($agent_id, $user_id, 1);
return ["code" => 200, "data" => $data]; return ["code" => 200, "data" => $data];
} }
...@@ -282,8 +283,9 @@ class UserLogService ...@@ -282,8 +283,9 @@ class UserLogService
#编辑客户详情权限 0:有权限 1:无权限 #编辑客户详情权限 0:有权限 1:无权限
$result['is_can_edit_user_info'] = $user_service->isCanEditUserInfo($result["agent_id"], $agent_id, $user_id); $result['is_can_edit_user_info'] = $user_service->isCanEditUserInfo($result["agent_id"], $agent_id, $user_id);
$agentLookUserService = new AgentLookUserLogService(); // $agentLookUserService = new AgentLookUserLogService();
$agentLookUserService->saveCacheAgentLookUser($agent_id, $user_id, 0); //记录经纪人看客户 // $agentLookUserService->saveCacheAgentLookUser($agent_id, $user_id, 0); //记录经纪人看客户
$this->sendRequestByCurl($agent_id, $user_id, 0);
return $result; return $result;
...@@ -569,4 +571,41 @@ class UserLogService ...@@ -569,4 +571,41 @@ class UserLogService
return $return; return $return;
} }
private function sendRequestByCurl($agent_id, $user_id, $source)
{
$arr = array(
'agent_id' => $agent_id,
'user_id' => $user_id,
'source' => $source,
);
$data = json_encode($arr);
$curl = new \app\chat\utils\CurlUtil();
$curl->headers = [
"Accept" => "application/json",
"Content-Type" => "application/json;charset=utf-8",
'Authorization' => "Bearer ",
];
$curl->options = [
"CURLOPT_SSL_VERIFYPEER" => 0,
"CURLOPT_SSL_VERIFYHOST" => 2,
];
$url = $this->buildSendUrl();
$response = $curl->post($url, $data);
return $response;
}
/**
* 请求api
* @return string
*/
private function buildSendUrl()
{
if (CURRENT_URL == "https://api.tonglianjituan.com/") {
return "https://images.tonglianjituan.com/borker/saveLookUserList";
} else {
return "https://pre2.tonglianjituan.com/borker/saveLookUserList";
}
}
} }
\ No newline at end of file
...@@ -378,22 +378,22 @@ Route::group('index', [ ...@@ -378,22 +378,22 @@ Route::group('index', [
'fineMoney' => ['index/RealTimePerformance/fineMoney', ['method' => 'GET']],//罚款 liu 'fineMoney' => ['index/RealTimePerformance/fineMoney', ['method' => 'GET']],//罚款 liu
'delCostCheck' => ['index/RealTimePerformance/delCost', ['method' => 'GET']],//删除报销 liu 'delCostCheck' => ['index/RealTimePerformance/delCost', ['method' => 'GET']],//删除报销 liu
'locationMap' => ['index/RealTimePerformance/locationMap', ['method' => 'GET']],//删除报销 liu 'locationMap' => ['index/RealTimePerformance/locationMap', ['method' => 'GET']],//删除报销 liu
'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu 'shopinspectionLog' => ['index/ShopInspectionLog/shopinspectionLogList', ['method' => 'POST|GET']],//商铺查看日志liu
'opensquareLog' => ['index/OpenSquareLog/opensquarelogList', ['method' => 'POST|GET']],//开盘广场liu 'opensquareLog' => ['index/OpenSquareLog/opensquarelogList', ['method' => 'POST|GET']],//开盘广场liu
'redEnvelope' => ['index/RedEnvelope/redEnvelopeList', ['method' => 'POST|GET']],//活动列表liu 'redEnvelope' => ['index/RedEnvelope/redEnvelopeList', ['method' => 'POST|GET']],//活动列表liu
'CashBack' => ['index/CashBack/cashBackList', ['method' => 'POST|GET']],//返现红包liu 'CashBack' => ['index/CashBack/cashBackList', ['method' => 'POST|GET']],//返现红包liu
'CashAccount' => ['index/CashAccount/cashAccountList', ['method' => 'POST|GET']],//现金账户liu 'CashAccount' => ['index/CashAccount/cashAccountList', ['method' => 'POST|GET']],//现金账户liu
'performancesubsidiaryList' => ['index/PerformanceSubsidiary/performancesubsidiaryList', ['method' => 'POST|GET']],//业绩明细liu 'performancesubsidiaryList' => ['index/PerformanceSubsidiary/performancesubsidiaryList', ['method' => 'POST|GET']],//业绩明细liu
'pkList' => ['index/PkList/pkList', ['method' => 'POST|GET']],//pk榜 liu 'pkList' => ['index/PkList/pkList', ['method' => 'POST|GET']],//pk榜 liu
'pkWeekList' => ['index/PkList/pkWeekList', ['method' => 'POST|GET']],//pk榜 liu 'pkWeekList' => ['index/PkList/pkWeekList', ['method' => 'POST|GET']],//pk榜 liu
'blackList' => ['index/BlackList/blackList', ['method' => 'POST|GET']],//黑名单 liu 'blackList' => ['index/BlackList/blackList', ['method' => 'POST|GET']],//黑名单 liu
'myCollectionUserList' => ['index/myCollectionUser/myCollectionUserList', ['method' => 'POST|GET']],//我收藏的客户liu 'myCollectionUserList' => ['index/myCollectionUser/myCollectionUserList', ['method' => 'POST|GET']],//我收藏的客户liu
'myCollectionShopList' => ['index/myCollectionShop/myCollectionShopList', ['method' => 'POST|GET']],//我收藏的客户liu 'myCollectionShopList' => ['index/myCollectionShop/myCollectionShopList', ['method' => 'POST|GET']],//我收藏的客户liu
'dayAchievementsReport' => ['index/PerformanceReport/dayAchievementsReportList', ['method' => 'POST|GET']],//日报liu 'dayAchievementsReport' => ['index/PerformanceReport/dayAchievementsReportList', ['method' => 'POST|GET']],//日报liu
'weekAchievementsReport' => ['index/PerformanceReport/weekAchievementsReportList', ['method' => 'POST|GET']],//周报liu 'weekAchievementsReport' => ['index/PerformanceReport/weekAchievementsReportList', ['method' => 'POST|GET']],//周报liu
'officeBuildingList' => ['index/OfficeBuilding/officeBuildingList', ['method' => 'POST|GET']],//办公楼liu 'officeBuildingList' => ['index/OfficeBuilding/officeBuildingList', ['method' => 'POST|GET']],//办公楼liu
// 'officeEdit' => ['index/OfficeBuilding/officeEdit', ['method' => 'POST|GET']],//办公楼新增编辑liu // 'officeEdit' => ['index/OfficeBuilding/officeEdit', ['method' => 'POST|GET']],//办公楼新增编辑liu
'buildingDictionary' => ['index/OfficeBuilding/buildingDictionary', ['method' => 'POST|GET']],//楼盘字典liu 'buildingDictionary' => ['index/OfficeBuilding/buildingDictionary', ['method' => 'POST|GET']],//楼盘字典liu
'myCollectionOfficeList' => ['index/OfficeBuilding/myCollectionOfficeList', ['method' => 'POST|GET']],//办公楼收藏liu 'myCollectionOfficeList' => ['index/OfficeBuilding/myCollectionOfficeList', ['method' => 'POST|GET']],//办公楼收藏liu
...@@ -492,11 +492,11 @@ Route::group('index', [ ...@@ -492,11 +492,11 @@ Route::group('index', [
'followUpLog' => ['index/UserLog/followUpLog', ['method' => 'get|post']], 'followUpLog' => ['index/UserLog/followUpLog', ['method' => 'get|post']],
'followUpLogNew' => ['index/UserLog/followUpLogNew', ['method' => 'get|post']], 'followUpLogNew' => ['index/UserLog/followUpLogNew', ['method' => 'get|post']],
'dailyDetail' => ['index/DailyPaper/dailyDetail', ['method' => 'get|post']], 'dailyDetail' => ['index/DailyPaper/dailyDetail', ['method' => 'get|post']],
'addDaily' => ['index/DailyPaper/addDaily', ['method' => 'get|post']], 'addDaily' => ['index/DailyPaper/addDaily', ['method' => 'get|post']],
'commitCheck' => ['index/DailyPaper/commitCheck', ['method' => 'get|post']], 'commitCheck' => ['index/DailyPaper/commitCheck', ['method' => 'get|post']],
'getPayLogImg' => ['index/DailyPaper/getPayLogImg', ['method' => 'get|post']], 'getPayLogImg' => ['index/DailyPaper/getPayLogImg', ['method' => 'get|post']],
'dailyBackImg' => ['index/DailyPaper/dailyBackImg', ['method' => 'post']], 'dailyBackImg' => ['index/DailyPaper/dailyBackImg', ['method' => 'post']],
'backDailyCheck' => ['index/DailyPaper/backDailyCheck', ['method' => 'post']], 'backDailyCheck' => ['index/DailyPaper/backDailyCheck', ['method' => 'post']],
'addUserBind' => ['index/member/addUserBind', ['method' => 'get|post']], 'addUserBind' => ['index/member/addUserBind', ['method' => 'get|post']],
...@@ -550,7 +550,7 @@ Route::group('index', [ ...@@ -550,7 +550,7 @@ Route::group('index', [
'checkCostThree/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 2]], //费用报销审核一审 'checkCostThree/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 2]], //费用报销审核一审
'checkCostFour/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 3]], //费用报销审核二审 'checkCostFour/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 3]], //费用报销审核二审
'checkCostFive/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 4]], //费用报销审核三审 'checkCostFive/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 4]], //费用报销审核三审
'checkCostSix/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 5]], //费用报销行政审核 'checkCostSix/:check_status' => ['index/Cost/checkCost', ['method' => 'POST'], ['check_status' => 5]], //费用报销行政审核
'getDetailCost' => ['index/Cost/getDetailCost', ['method' => 'GET']], //费用报销详情 'getDetailCost' => ['index/Cost/getDetailCost', ['method' => 'GET']], //费用报销详情
'delStoreFeeImage' => ['index/StoreFee/delStoreFeeImage', ['method' => 'POST']],//删除图片 'delStoreFeeImage' => ['index/StoreFee/delStoreFeeImage', ['method' => 'POST']],//删除图片
'getCostDetailList' => ['index/CostDetail/getCostDetailList', ['method' => 'POST|GET']], 'getCostDetailList' => ['index/CostDetail/getCostDetailList', ['method' => 'POST|GET']],
...@@ -584,22 +584,22 @@ Route::group('index', [ ...@@ -584,22 +584,22 @@ Route::group('index', [
'qualityAssessment' => ['index/WorkLearning/qualityAssessment', ['method' => 'GET']], //素质测评 'qualityAssessment' => ['index/WorkLearning/qualityAssessment', ['method' => 'GET']], //素质测评
'valueAssessment' => ['index/WorkLearning/valueAssessment', ['method' => 'GET']], //价值观考核 'valueAssessment' => ['index/WorkLearning/valueAssessment', ['method' => 'GET']], //价值观考核
'storeDataExcel' => ['index/CostParameter/storeDataExcel', ['method' => 'POST']], 'storeDataExcel' => ['index/CostParameter/storeDataExcel', ['method' => 'POST']],
'intentionsWarning' => ['index/PayLog/intentionsWarning', ['method' => 'GET']],//意向金预警 'intentionsWarning' => ['index/PayLog/intentionsWarning', ['method' => 'GET']],//意向金预警
'recoverPayLog' => ['index/PayLog/recoverPayLog', ['method' => 'POST']],//恢复删除收款 'recoverPayLog' => ['index/PayLog/recoverPayLog', ['method' => 'POST']],//恢复删除收款
'recoverCheckRefund' => ['index/Refund/recoverCheckRefund', ['method' => 'POST|get']], //已审核退款-转审核状态 'recoverCheckRefund' => ['index/Refund/recoverCheckRefund', ['method' => 'POST|get']], //已审核退款-转审核状态
'addAmercement' => [ 'index/Amercement/addAmercement', [ 'method' => 'GET|POST' ] ], 'addAmercement' => ['index/Amercement/addAmercement', ['method' => 'GET|POST']],
'getAmercementListPc' => [ 'index/Amercement/getAmercementListPc', [ 'method' => 'GET|POST' ] ], 'getAmercementListPc' => ['index/Amercement/getAmercementListPc', ['method' => 'GET|POST']],
'getAmercementListExcel' => [ 'index/Amercement/getAmercementListExcel', [ 'method' => 'GET|POST' ] ], 'getAmercementListExcel' => ['index/Amercement/getAmercementListExcel', ['method' => 'GET|POST']],
'getAmercementInfo' => [ 'index/Amercement/getAmercementInfo', [ 'method' => 'GET|POST' ] ], 'getAmercementInfo' => ['index/Amercement/getAmercementInfo', ['method' => 'GET|POST']],
'editAmercement' => [ 'index/Amercement/editAmercement', [ 'method' => 'GET|POST' ] ], 'editAmercement' => ['index/Amercement/editAmercement', ['method' => 'GET|POST']],
'delAmercementImage' => [ 'index/Amercement/delAmercementImage', [ 'method' => 'GET|POST' ] ], 'delAmercementImage' => ['index/Amercement/delAmercementImage', ['method' => 'GET|POST']],
'getShopLookList' => ['index/LookShop/getShopLookList', ['method' => 'POST|GET']],//客户看了哪些铺记录 'getShopLookList' => ['index/LookShop/getShopLookList', ['method' => 'POST|GET']],//客户看了哪些铺记录
'clinchMapInfo' => [ 'index/ClinchMap/clinchMapInfo', [ 'method' => 'get | post' ] ], 'clinchMapInfo' => ['index/ClinchMap/clinchMapInfo', ['method' => 'get | post']],
]); ]);
...@@ -619,7 +619,7 @@ Route::group('api', [ ...@@ -619,7 +619,7 @@ Route::group('api', [
'brokerDetail' => ['api/broker/brokerDetail', ['method' => 'get']], //经纪人详情 'brokerDetail' => ['api/broker/brokerDetail', ['method' => 'get']], //经纪人详情
//post broker //post broker
'appraiser' => ['api/broker/appraiser', ['method' => 'post']], //评价经纪人 'appraiser' => ['api/broker/appraiser', ['method' => 'post']], //评价经纪人
'appraiserV2' => ['api/broker/appraiserV2', ['method' => 'post']],//评价经纪人 3.3.9 'appraiserV2' => ['api/broker/appraiserV2', ['method' => 'post']],//评价经纪人 3.3.9
'recordCallNum' => ['api/broker/recordCallNum', ['method' => 'post']], //记录拨打经纪人号码 'recordCallNum' => ['api/broker/recordCallNum', ['method' => 'post']], //记录拨打经纪人号码
'recordCallNumShare' => ['api/broker/recordCallNumShare', ['method' => 'post']], //记录拨打经纪人号码 'recordCallNumShare' => ['api/broker/recordCallNumShare', ['method' => 'post']], //记录拨打经纪人号码
...@@ -676,12 +676,12 @@ Route::group('api', [ ...@@ -676,12 +676,12 @@ Route::group('api', [
'getVersionNo' => ['api/Version/getVersionNo', ['method' => 'post|get']], 'getVersionNo' => ['api/Version/getVersionNo', ['method' => 'post|get']],
'getVersionNoV2' => ['api/version/getVersionNoV2', ['method' => 'post|get']], 'getVersionNoV2' => ['api/version/getVersionNoV2', ['method' => 'post|get']],
'saveWxInfo' => [ 'api/WxSdk/saveWxInfo', [ 'method' => 'POST' ] ], //wx 'saveWxInfo' => ['api/WxSdk/saveWxInfo', ['method' => 'POST']], //wx
'bindUserId' => [ 'api/WxSdk/bindUserId', [ 'method' => 'POST|GET' ] ], //wx 'bindUserId' => ['api/WxSdk/bindUserId', ['method' => 'POST|GET']], //wx
'getOpenidByCode' => [ 'api/WxSdk/getOpenidByCode', [ 'method' => 'post|get' ] ], //wx 'getOpenidByCode' => ['api/WxSdk/getOpenidByCode', ['method' => 'post|get']], //wx
'saveWXInfoByPortableProgram' => [ 'api/WxSdk/saveWXInfoByPortableProgram', [ 'method' => 'post|get' ] ], 'saveWXInfoByPortableProgram' => ['api/WxSdk/saveWXInfoByPortableProgram', ['method' => 'post|get']],
'addUserLookShop' => [ 'api/UserLookShop/addUserLookShop', [ 'method' => 'post|get' ] ], 'addUserLookShop' => ['api/UserLookShop/addUserLookShop', ['method' => 'post|get']],
'sendCode' => ['api/Register/registerSendCode', ['method' => 'POST']], 'sendCode' => ['api/Register/registerSendCode', ['method' => 'POST']],
...@@ -785,9 +785,9 @@ Route::group('task', [ ...@@ -785,9 +785,9 @@ Route::group('task', [
'updateShopAddress' => ['task/JobTask/updateShopAddress', ['method' => 'get']], //默认图片 'updateShopAddress' => ['task/JobTask/updateShopAddress', ['method' => 'get']], //默认图片
'updateShopAgeLimit' => ['task/JobTask/updateShopAgeLimit', ['method' => 'get']], //默认年限 'updateShopAgeLimit' => ['task/JobTask/updateShopAgeLimit', ['method' => 'get']], //默认年限
'push' => ['task/PushMessageTask/push', ['method' => 'get']], //推送和客户推送 'push' => ['task/PushMessageTask/push', ['method' => 'get']], //推送和客户推送
'pushTransferMsg' => ['task/PushMessageTask/pushTransferMsg', ['method' => 'get']], //推送最后转定时间提醒-商铺和办公楼 'pushTransferMsg' => ['task/PushMessageTask/pushTransferMsg', ['method' => 'get']], //推送最后转定时间提醒-商铺和办公楼
'updateLandlordLimit' => ['task/JobTask/updateLandlordLimit', ['method' => 'get']], //转换房东手机号 'updateLandlordLimit' => ['task/JobTask/updateLandlordLimit', ['method' => 'get']], //转换房东手机号
'test' => ['task/FollowUpTask/test', ['method' => 'get']], 'test' => ['task/FollowUpTask/test', ['method' => 'get']],
...@@ -954,6 +954,7 @@ Route::group('broker', [ ...@@ -954,6 +954,7 @@ Route::group('broker', [
'getShopUserVisitLog' => ['api_broker/LookShop/getShopUserVisitLog', ['method' => 'POST|GET']], //设置经纪人的看铺数量 'getShopUserVisitLog' => ['api_broker/LookShop/getShopUserVisitLog', ['method' => 'POST|GET']], //设置经纪人的看铺数量
'getShopLookList' => ['api_broker/LookShop/getShopLookList', ['method' => 'POST|GET']], //设置经纪人的看铺数量 'getShopLookList' => ['api_broker/LookShop/getShopLookList', ['method' => 'POST|GET']], //设置经纪人的看铺数量
'getLookShopList' => ['api_broker/LookShop/getLookShopList', ['method' => 'POST|GET']], //设置经纪人的看铺数量 'getLookShopList' => ['api_broker/LookShop/getLookShopList', ['method' => 'POST|GET']], //设置经纪人的看铺数量
'saveLookUserList' => ['api_broker/LookShop/saveLookUserList', ['method' => 'POST|GET']],
//首页跟进记录 //首页跟进记录
'userFollowUpList' => ['api_broker/HomePageLog/userFollowUpList', ['method' => 'post|get']], 'userFollowUpList' => ['api_broker/HomePageLog/userFollowUpList', ['method' => 'post|get']],
...@@ -1093,9 +1094,9 @@ Route::group('broker', [ ...@@ -1093,9 +1094,9 @@ Route::group('broker', [
'subletList' => ['api_broker/Sublet/subletList', ['method' => 'GET']],//委托转铺列表 'subletList' => ['api_broker/Sublet/subletList', ['method' => 'GET']],//委托转铺列表
'getUserLookShopList' => ['api_broker/Shop/getUserLookShopList', ['method' => 'GET']],//获取客户浏览商铺数据 'getUserLookShopList' => ['api_broker/Shop/getUserLookShopList', ['method' => 'GET']],//获取客户浏览商铺数据
'addAmercement' => [ 'api_broker/Amercement/addAmercement', [ 'method' => 'GET|POST' ] ], 'addAmercement' => ['api_broker/Amercement/addAmercement', ['method' => 'GET|POST']],
'getAmercementType' => [ 'api_broker/Amercement/getAmercementType', [ 'method' => 'GET|POST' ] ], 'getAmercementType' => ['api_broker/Amercement/getAmercementType', ['method' => 'GET|POST']],
'getAmercementList' => [ 'api_broker/Amercement/getAmercementList', [ 'method' => 'GET|POST' ] ], 'getAmercementList' => ['api_broker/Amercement/getAmercementList', ['method' => 'GET|POST']],
]); ]);
......
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