From 8207fa651214aac76cb6286a3fa7c175e303e185 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 3 Apr 2023 16:01:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B6=88=E6=81=AF=E5=9B=9E?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/TestController.php | 10 +++++----- app/Services/ImService.php | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/Controller/TestController.php b/app/Controller/TestController.php index 6c52389..3dc0e9a 100644 --- a/app/Controller/TestController.php +++ b/app/Controller/TestController.php @@ -658,10 +658,10 @@ class TestController extends AbstractController $sign_param = [ [ // 医院签章 - "llx"=>"1550", // 左边底部X坐标 - "lly"=>"1350", // 左边底部Y坐标 - "urx"=>"2250", // 右边上部x坐标 - "ury"=>"650", // 右边上部y坐标 + "llx"=>"220", // 左边底部X坐标 + "lly"=>"125", // 左边底部Y坐标 + "urx"=>"175", // 右边上部x坐标 + "ury"=>"170", // 右边上部y坐标 "pageList"=>[1], "sealImg"=>$sign_image ], @@ -669,7 +669,7 @@ class TestController extends AbstractController // 打开处方pdf文件 unset($pdf_file); - $pdf_file = fopen("./runtime/" . "501383937792086017" . ".pdf",'r'); + $pdf_file = fopen("./runtime/" . "501402833412673536" . ".pdf",'r'); $ca = new Ca(); diff --git a/app/Services/ImService.php b/app/Services/ImService.php index 7ac505a..d62c5d9 100644 --- a/app/Services/ImService.php +++ b/app/Services/ImService.php @@ -268,6 +268,9 @@ class ImService extends BaseService $arg['CloudCustomData'] = json_encode($cloud_custom_data,JSON_UNESCAPED_UNICODE); } + // 该条消息是否需要已读回执,0为不需要,1为需要,默认为0 + $arg['IsNeedReadReceipt'] = 1; + $message->sendMessage($arg); }catch (\Exception $e){ throw new BusinessException($e->getMessage());