java 加载bean 2
@RequiredArgsConstructor
@Component
@RequestMapping("/timeLineData" )
public class TimeLineData {
final CustomSqlService customSqlService;
@Inner(false)
@PostMapping("/setTimeLine")
void setTimeLine(@RequestBody Map<String,Object> map){
Calendar calendar= Calendar.getInstance();
SimpleDateFormat dateFormat= new SimpleDateFormat("yyyy-MM-dd :hh:mm:ss");
}
@ResponseBody
@GetMapping("/isCurrentUserRole")
public boolean isCurrentUserRole(Long role){
RunshiUser runshiUser = SecurityUtils.getUser();
boolean result = false;
return result;
}
}
择善人而交,择善书而读,择善言而听,择善行而从。