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());