luo
2024-01-31 021640e69b32dbd9b88a538402671c47f280df9e
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;
        }
    }