摘要:
首先,从模块的业务场景和业务功能出发,考虑需要提供哪些接口,每个接口的名称,需要哪些参数(是否必填、参数类型等),以及返回什么数据。这是从业务需求的角度来考虑的,不容易跑偏,避免编写不需要的代码,做无用功。 StudentController继承BaseController @Controller 阅读全文
posted @ 2021-03-04 10:42
剑陈
阅读(1341)
评论(0)
推荐(0)
摘要:
#1、pom.xml中加入依赖 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> #2、application.properties中加入配置 sprin 阅读全文
posted @ 2021-03-04 09:37
剑陈
阅读(1196)
评论(0)
推荐(0)

浙公网安备 33010602011771号