Commit 3374e720 authored by hujun's avatar hujun

开业审核推送文案修改

parent 9de45721
......@@ -86,7 +86,8 @@ class PayLogOpenService
$leaderId = $verifyService->getLeaderIdByAgentId($agent_id);
if ($leaderId > 0) {
$push_service = new PushMessageService();
$push_service->record(13, 0, [$leaderId], $operation_id, ['message' => "有业务员提交了开业申请,请及时审核"]);
$message = "有人提交了[{$house_address}]开业申请,快去审核吧!";
$push_service->record(13, 0, [$leaderId], $operation_id, ['message' => $message]);
}
}
return $return_id;
......@@ -143,20 +144,20 @@ class PayLogOpenService
*/
private function pushCheck($open_id, $status)
{
$push_agent = $this->payLogOpenModel->getFind('agent_id', $open_id);
$push_agent = $this->payLogOpenModel->getFind('house_address,agent_id', $open_id);
if (!$push_agent) {
return false;
}
$message = "";
$message = "[{$push_agent['house_address']}]";
switch ($status) {
case 1:
$message = "你的开业申请总监审核通过";
break;
case 2:
$message = "你的开业申请财务一审通过";
$message .= "的开业申请总监通过";
break;
// case 2:
// $message = "你的开业申请财务一审通过";
// break;
case 3:
$message = "你的开业申请财务二审通过";
$message .= "的开业申请财务审核通过";
break;
default:
return false;
......
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