修改上报处方平台
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user