From 88e6ec3367164644b9d5e20163f47c1bb75cf083 Mon Sep 17 00:00:00 2001 From: unknown <736250432@qq.com> Date: Fri, 8 Sep 2023 11:32:41 +0800 Subject: [PATCH] update --- app/api/logic/LogisticsLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index cffb2a57..37e4c2c4 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -230,7 +230,7 @@ class LogisticsLogic extends BaseLogic return ['code'=>0, 'msg'=>$e->getMessage()]; } //推送消息 - $register_id = Courier::filed('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'])){ $push_result = push_message($register_id[0],'您有一条新的配送任务,请尽快处理!!'); if($push_result['code'] == 0) {