This commit is contained in:
wangjinlei
2023-11-20 14:14:51 +08:00
parent db58953a9f
commit d9d6ee68da
6 changed files with 97 additions and 35 deletions

View File

@@ -173,8 +173,6 @@ public class MyUserController {
}else{
areacode = Integer.valueOf(areaCode);
}
System.out.println(areacode);
//验证一分钟内是否已经发过
String redisCode = redisTemplate.opsForValue().get("RegistCode" + phone);
if (!StringUtils.isEmpty(redisCode)) {

View File

@@ -184,4 +184,16 @@ public class PointController {
return R.ok().put("tgdz",stringStringMap);
}
@RequestMapping("/WYLQForYear")
public R WYLQForYear(@RequestBody Map<String,Object> map) throws ParseException {
String date = map.get("date").toString();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat();
simpleDateFormat.applyPattern("yyyy-MM-dd hh:mm:ss");
Date parse = simpleDateFormat.parse(date);
Map<String, Object> stringStringMap = pointService.WYLQForDate(parse);
return R.ok().put("wylq",stringStringMap);
}
}