| | |
| | | Map map = JSON.parseObject(s, Map.class); |
| | | Object user = map.get("user"); |
| | | User user1 = JSON.parseObject(user.toString(), User.class); |
| | | System.out.println("user1 = " + user1); |
| | | |
| | | //获取 uuid |
| | | String uuid = user1.getReasonForLeav(); |
| | | //用户数据校验 |
| | |
| | | import org.apache.commons.net.ftp.FTPClient; |
| | | import org.apache.commons.net.ftp.FTPFile; |
| | | import org.apache.commons.net.ftp.FTPReply; |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | user.setId(user0.getId()); |
| | | //远程调用接口 |
| | | String body = InvestigateUtil.httpGetOne(user0.getCardid()); |
| | | System.out.println("user0 = " + user0.getCardid()); |
| | | JSONObject jsonObject = new JSONObject(body); |
| | | Object data = jsonObject.get("data"); |
| | | JSONObject jsonData = new JSONObject(data.toString()); |