摘要: 1 @Table声明mysql表名。若不使用@Table明确指定表名,spring会默认 2 @Entity声明类为实体或表。 3 @RestController 在控制器的类上注解,= @Controller + @ResponseBody,@Controller注解表示处理http请求。 4 @ 阅读全文
posted @ 2021-03-09 19:20 江湖凶险 阅读(67) 评论(0) 推荐(0)