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