Browse Source

//user

private_deployment
xhxu 1 year ago
parent
commit
8afcf33c9a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      suimangService/src/main/java/com/iformall/sms/aliyun/AliyunSMS.java

+ 3
- 0
suimangService/src/main/java/com/iformall/sms/aliyun/AliyunSMS.java View File

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


Loading…
Cancel
Save