修改上报处方平台

This commit is contained in:
2023-05-19 10:21:58 +08:00
parent a380159b1b
commit 750b7ae2fd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -169,8 +169,8 @@ class Prescription
$response = $this->httpRequest($this->api_url . $this->version . '/pharmacy/transportationExpenses', $option);
if (empty($response['data'])){
// 返回值为空
if (!empty($response['message'])){
throw new BusinessException($response['message']);
if (!empty($response['resultDesc'])){
throw new BusinessException($response['resultDesc']);
}
throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR));
}