From 3f804845a30818608d4274a7ebe280928646ee8c Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 29 Apr 2024 16:39:47 +0800 Subject: [PATCH] 1 --- app/Command/ReportPreProductOrderCommand.php | 2 +- app/Model/ReportRegulatory.php | 5 +++-- app/Services/MessagePush.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Command/ReportPreProductOrderCommand.php b/app/Command/ReportPreProductOrderCommand.php index 6c23d29..daf355f 100644 --- a/app/Command/ReportPreProductOrderCommand.php +++ b/app/Command/ReportPreProductOrderCommand.php @@ -44,7 +44,7 @@ class ReportPreProductOrderCommand extends HyperfCommand * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ - public function handle() + public function handle(): void { $this->line("开始"); diff --git a/app/Model/ReportRegulatory.php b/app/Model/ReportRegulatory.php index 29b737f..e2ca5a9 100644 --- a/app/Model/ReportRegulatory.php +++ b/app/Model/ReportRegulatory.php @@ -6,6 +6,7 @@ namespace App\Model; +use Carbon\Carbon; use Hyperf\Database\Model\Builder; use Hyperf\Database\Model\Collection; use Hyperf\Snowflake\Concern\Snowflake; @@ -29,8 +30,8 @@ use Hyperf\Snowflake\Concern\Snowflake; * @property int $report_prescription_int 处方上报次数 * @property string $report_prescription_time 处方上报时间 * @property string $report_prescription_fail_reason 处方上报失败原因 - * @property \Carbon\Carbon $created_at 创建时间 - * @property \Carbon\Carbon $updated_at 修改时间 + * @property Carbon $created_at 创建时间 + * @property Carbon $updated_at 修改时间 */ class ReportRegulatory extends Model { diff --git a/app/Services/MessagePush.php b/app/Services/MessagePush.php index 5e094ed..2202369 100644 --- a/app/Services/MessagePush.php +++ b/app/Services/MessagePush.php @@ -3528,7 +3528,7 @@ class MessagePush extends BaseService $link_params = array(); $link_params['order_inquiry_id'] = $this->order_inquiry['order_inquiry_id']; - $link_params['order_no'] = $this->order['order_no']; + $link_params['order_no'] = $this->order_service_package['order_no']; $link_params['inquiry_type'] = $this->order_inquiry['inquiry_type']; $link_params['doctor_user_id'] = $user_doctor['user_id']; $link_params['patient_user_id'] = $this->order_inquiry['user_id'];