patch
This commit is contained in:
parent
f0227460f1
commit
411aef7178
@ -226,7 +226,7 @@ class LogisticsLogic extends BaseLogic
|
||||
]);
|
||||
//推送消息
|
||||
$register_id = Courier::where('id',$courier['user_id'])->column('register_id');
|
||||
if(!empty($register_id)){
|
||||
if($register_id && !empty($register_id)){
|
||||
$push_result = push_message($register_id[0],'您有一条新的配送任务,请尽快处理!!');
|
||||
if($push_result['code'] == 0) {
|
||||
Log::write('["极光推送:"]'.$push_result['msg'],'error');
|
||||
|
Loading…
x
Reference in New Issue
Block a user