|
|
@@ -50,6 +50,9 @@ public class AliyunSMS implements SMSExcutor { |
|
|
|
&& result.getSendSmsResponse().getCode().equalsIgnoreCase("ok")){ |
|
|
|
SMSResult.setRet("1"); |
|
|
|
SMSResult.setData(result.getSendSmsResponse().getBizId()); |
|
|
|
}else{ |
|
|
|
SMSResult.setRet("0"); |
|
|
|
SMSResult.setData("运营商返回失败"); |
|
|
|
} |
|
|
|
return JSON.toJSONString(SMSResult); |
|
|
|
} |
|
|
|