zhibing.pu
2024-04-19 2e366b939271b6ea338641f8a72d1bcd2182dbe7
DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/SMSUtil.java
@@ -293,11 +293,13 @@
        HttpResponse execute = post.execute();
        String body = execute.body();
        execute.close();
        System.err.println("短信:" + body);
        JSONObject jsonObject = JSON.parseObject(body);
        Integer status = jsonObject.getInteger("status");
        if(1701 == status){
        if(null != status && 1701 == status){
            return true;
        }else{
            System.err.println("短信发送失败:" + jsonObject.toJSONString());
            return false;
        }
    }