修改生成订单时消息推送逻辑

This commit is contained in:
weiz 2023-11-22 11:18:07 +08:00
parent 8921d0c70e
commit de88dbd9db

View File

@ -251,7 +251,7 @@ class LogisticsLogic extends BaseLogic
}
}
if(!$register_id->isEmpty() && !empty($register_id['ytj_register_id'])){
$push_result = push_message($register_id['ytj_register_id'],'您有一条新的配送任务,请尽快处理!!');
$push_result = push_message2($register_id['ytj_register_id'],'您有一条新的配送任务,请尽快处理!!');
if($push_result['code'] == 0) {
Log::write('["极光推送:"]'.$push_result['msg'],'error');
}