1
This commit is contained in:
@@ -101,12 +101,12 @@ class Dysms
|
||||
}
|
||||
|
||||
if ($result['body']['Code'] != "OK"){
|
||||
throw new BusinessException($result['body']['Message'],HttpEnumCode::CODE_FAIL);
|
||||
throw new BusinessException($result['body']['MessageIm'],HttpEnumCode::CODE_FAIL);
|
||||
}
|
||||
|
||||
if (empty($result['body']['RequestId'])){
|
||||
// 无唯一值
|
||||
throw new BusinessException($result['body']['Message'],HttpEnumCode::CODE_FAIL);
|
||||
throw new BusinessException($result['body']['MessageIm'],HttpEnumCode::CODE_FAIL);
|
||||
}
|
||||
|
||||
// 记录log
|
||||
|
||||
Reference in New Issue
Block a user