ClassPathResource resource = new ClassPathResource("properties/post2LazadaTest.json");
        File file= = resource.getFile();
        JSONArray btnArray = null;

        //读取文件
        String input = FileUtils.readFileToString(file, "UTF-8");

 

posted on 2019-03-21 17:52  lshan  阅读(256)  评论(0编辑  收藏  举报