|
@@ -83,7 +83,6 @@ class Notification extends Api
|
|
|
$type = 'alipay';
|
|
|
}
|
|
|
$re = $writeoff_model->refund_order($v['order_money'],$v['order_no'],$type);
|
|
|
- print_r($re);die;
|
|
|
if($re) {
|
|
|
if ($user_info['sms_number'] > 0 && $user_info['duanxin'] == 1) {
|
|
|
$sms_model->order_guoshi($v['phone'], $v['order_no'], $v['order_money'], $v['t_user_id']);
|
|
@@ -117,6 +116,7 @@ class Notification extends Api
|
|
|
'is_read' => 1,
|
|
|
'createtime' => time(),];
|
|
|
$message_model->insert($message_data);
|
|
|
+ $order_model->isUpdate('true', ['id' => $v['id']])->save(['status' =>7 ]);
|
|
|
}
|
|
|
}
|
|
|
}
|