Commit d7da4903 authored by hujun's avatar hujun

退款成功文案

parent 3374e720
...@@ -425,6 +425,10 @@ class PushMessageService ...@@ -425,6 +425,10 @@ class PushMessageService
$title = '财务日报提醒'; $title = '财务日报提醒';
$type = ''; $type = '';
break; break;
case 16:
$title = '退款成功';
$type = '';
break;
} }
$this->pushAgentAllDeviceId($v['addressee_id'], $title, $v['message'], $type, $id, $is_forbidden,$v['house_id'], $v['order_id']); $this->pushAgentAllDeviceId($v['addressee_id'], $title, $v['message'], $type, $id, $is_forbidden,$v['house_id'], $v['order_id']);
......
...@@ -4903,6 +4903,13 @@ class Finance extends Basic ...@@ -4903,6 +4903,13 @@ class Finance extends Basic
if ($check_num >= 2) { if ($check_num >= 2) {
$save_data['status'] = $status = 2; //已审核 $save_data['status'] = $status = 2; //已审核
$num = $id = $m_refund_log->insertData($save_data); $num = $id = $m_refund_log->insertData($save_data);
$push = new PushMessageService();
$m_order = new OrderModel();
$house_title = $m_order->getOrderById('house_id,house_title', $refund_data[0]['order_id']);
$record_data['message'] = '[' . $house_title['house_title'] . ']退款成功';
$record_data['order_id'] = $refund_data[0]['order_id'];
$push->record(16, $house_title['house_id'], [$refund_data[0]['agent_id']], $this->userId, $record_data);
} }
if ($id > 0 && is_array($this->params['img_arr'])) { if ($id > 0 && is_array($this->params['img_arr'])) {
$m_img = new OImg(); $m_img = new OImg();
......
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