|
|
@@ -26,7 +26,7 @@ public class MobileMessageUtils {
|
|
|
DefaultProfile.addEndpoint("cn-hangzhou", "cn-hangzhou", "Sms", "sms.aliyuncs.com");
|
|
|
} catch (ClientException e1) {
|
|
|
LoggerUtils.fmtError(MobileMessageUtils.class, e1, CLIENT_EXCEPTION, e1.getMessage());
|
|
|
- return ErrorConstants.MCODE_ERROR;
|
|
|
+ return ErrorConstants.M_CODE_ERROR;
|
|
|
}
|
|
|
IAcsClient client = new DefaultAcsClient(profile);
|
|
|
SingleSendSmsRequest request = new SingleSendSmsRequest();
|
|
|
@@ -38,10 +38,10 @@ public class MobileMessageUtils {
|
|
|
SingleSendSmsResponse httpResponse = client.getAcsResponse(request);
|
|
|
} catch (ServerException e) {
|
|
|
LoggerUtils.fmtError(MobileMessageUtils.class, e, SERVER_EXCEPTION, e.getMessage());
|
|
|
- return ErrorConstants.MCODE_ERROR;
|
|
|
+ return ErrorConstants.M_CODE_ERROR;
|
|
|
} catch (ClientException e) {
|
|
|
LoggerUtils.fmtError(MobileMessageUtils.class, e, CLIENT_EXCEPTION, e.getMessage());
|
|
|
- return ErrorConstants.MCODE_ERROR;
|
|
|
+ return ErrorConstants.M_CODE_ERROR;
|
|
|
}
|
|
|
return null;
|
|
|
}
|