Commit 718fe81e authored by hujun's avatar hujun

type

parent 98a6ab39
......@@ -453,11 +453,11 @@ class PushMessageService
break;
case 17:
$title = '意向金转定提醒';
$type = '';
$type = 'house_transfer_time';
break;
case 18:
$title = '意向金转定提醒';
$type = '';
$type = 'office_transfer_time';
break;
}
......@@ -637,7 +637,16 @@ class PushMessageService
$push_data = $m_push->getDateLimit($field, $where, 100);
foreach ($push_data['data'] as $k => $v) {
$this->pushAgentAllDeviceId($v['addressee_id'], $v['title'], $v['message'], $v['type'], $id, $is_forbidden, $v['house_id'], $v['order_id']);
$title = $v['title'];
switch ($v['type']) {
case 9 :
$id = $v['order_id'];
$type = 'punishment'; //新增 处罚
break;
default :
$type = $v['type'];
}
$this->pushAgentAllDeviceId($v['addressee_id'], $title, $v['message'], $type, $id, $is_forbidden, $v['house_id'], $v['order_id']);
$id_array[] = $v['id'];
}
if (isset($id_array)) {
......
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