删除 处方pdf转图片。调整一下小问题

This commit is contained in:
2024-05-17 15:31:34 +08:00
parent f54424cf2d
commit 14a9c08af2
4 changed files with 7 additions and 36 deletions
+2 -3
View File
@@ -441,10 +441,10 @@ class CaService extends BaseService
/**
* 进行处方pdf签章
* @param string $type 类型 1:医院 2:医生 3:药师
* @param string|int $type 类型 1:医院 2:医生 3:药师
* @return string 文件id
*/
public function addSignPdf(string $type): string
public function addSignPdf(string|int $type): string
{
$oss = new Oss();
@@ -525,7 +525,6 @@ class CaService extends BaseService
throw new BusinessException("处方pdf打开失败");
}
// 处方pdf进行签章
$data = array();
$data['sign_param'] = json_encode($sign_param);