新增自动开具处方。修改ca对接

This commit is contained in:
2023-04-21 13:39:17 +08:00
parent 739286e54a
commit 298283b3fe
13 changed files with 682 additions and 121 deletions
+14
View File
@@ -161,4 +161,18 @@ class Oss
}
}
/**
* 判断指定的文件是否存在
* @param string $filename
* @return bool
*/
public function doesObjectExist(string $filename): bool
{
try {
$ossClient = $this->createClient();
return $ossClient->doesObjectExist($this->config['bucket'], $filename);
}catch(\Exception $e) {
throw new BusinessException($e->getMessage());
}
}
}