|
@@ -99,6 +99,7 @@ class FailOrderAlertV2 extends Command
|
|
|
$param = ['pay_id'=>$pay_id,'new_pay_id' => $back_pay->id];
|
|
|
foreach ($phone_arr as $phone){
|
|
|
$this->sendSms($phone, 'pay_channel_change',$param);
|
|
|
+ $this->sendSms($phone, 'order_remind',$param);
|
|
|
}
|
|
|
|
|
|
}else{
|
|
@@ -109,16 +110,6 @@ class FailOrderAlertV2 extends Command
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /*if(in_array($pay_id,[41,43,46]) && $last_create_time && ($ntime - $last_create_time) > $time_str)
|
|
|
- {
|
|
|
- $is_need_alert = true;
|
|
|
- $content = '支付通道: '.$pay_id.' ,最近'.$time_str.'秒内没有产生一条订单,尽快排查';
|
|
|
- $template_type = 'order_halfhour_remind';
|
|
|
- $param = ['pay_id'=>$pay_id];
|
|
|
- foreach ($phone_arr as $phone){
|
|
|
- $this->sendSms($phone, $template_type,$param);
|
|
|
- }
|
|
|
- }*/
|
|
|
if(isset($alert_time_diff[$pay_id]) && $last_create_time && ($ntime - $last_create_time) > $alert_time_diff[$pay_id] ){
|
|
|
$is_need_alert = true;
|
|
|
$content = '支付通道: '.$pay_id.' ,最近'.$time_str.'秒内没有产生一条订单,尽快排查';
|