xiaoyong931011
2020-07-16 a3d192d43e4090011d941e412a5bb44d59a6a049
src/main/java/com/xcong/excoin/modules/Sms106Send.java
@@ -10,7 +10,9 @@
import cn.hutool.core.util.StrUtil;
import cn.hutool.core.util.XmlUtil;
import cn.hutool.http.HttpUtil;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class Sms106Send {
    private static final String URL = "http://www.qf106.com/sms.aspx";
@@ -64,6 +66,7 @@
        param.put("telephonenumber", 0);
        String response = HttpUtil.post(URL, param);
        log.info("发送短信:{}", response);
        if ("Success".equals(XmlUtil.xmlToMap(response).get("returnstatus"))) {
            return true;
        } else {