Commit bf4517a0 authored by hujun's avatar hujun

喜报 content

parent 0f096ef6
......@@ -162,7 +162,7 @@ class PushMessageService
$report = new OReportModel();
$feed = new PushFeed();
$agent = new AAgents();
// $agent = new AAgents();
$field = 'house_id,house_title,report_agent_name,user_id,report_agent_id';
$report_data = $report->getReportOrder($field, [ 'a.id' => $report_id ]);
......@@ -174,9 +174,13 @@ class PushMessageService
}
//查询经纪人门店和部门信息
$agent_store = $agent->verifyUser('store_id', '', [ 'id' => $report_data['report_agent_id'] ]);
// $agent_store = $agent->verifyUser('store_id', '', [ 'id' => $report_data['report_agent_id'] ]);
// $store = new AStore();
// $store_name = $store->getStoreDistrictName($agent_store['store_id']);
$s_service = new RedisCacheService();
$agent_data = $s_service->getRedisCache(2, $report_data['report_agent_id']);
$content = $agent_data['store_name'].'-'.$agent_data['name'];
$title = '成交就是这么简单';
$feed->editData([
......@@ -184,7 +188,7 @@ class PushMessageService
'agent_id' => -1,
'report_id' => $report_id,
'house_id' => $report_data['house_id'],
'content' => $report_data['report_agent_name'],
'content' => $content,
'steel_phone' => 0,
'type' => 0,
'status' => 0,
......
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