摘要: 一、发送json public void test() throws IOException { //参数封装 Map<String, Object> jsonMap = new HashMap<String, Object>(); Map<String, Object> params1 = new 阅读全文
posted @ 2021-12-15 16:16 hehehenhen 阅读(103) 评论(0) 推荐(0)
摘要: 一、使用Math类的radom() 方法 //生成验证码 String verifcationCode = ""; for (int i = 0; i <= 5; i++) { double random = 10 * Math.random(); verifcationCode = verifca 阅读全文
posted @ 2021-12-15 15:59 hehehenhen 阅读(33) 评论(0) 推荐(0)