数据库名更换

hehai
shijie 4 years ago
parent f84c4e18a7
commit 0716b7f8d6
  1. 7
      src/main/java/com/msdw/tms/api/QuestionsControllerApi.java
  2. 7
      src/main/java/com/msdw/tms/controller/QuestionsController.java
  3. 2
      src/main/resources/application.yml

@ -82,4 +82,11 @@ public interface QuestionsControllerApi {
*/
@ApiOperation(value = "抽题测评", notes = "抽题测评")
R evaluation ();
/**
* 通过excel批量导出
*/
@ApiOperation(value = "通过excel批量导出", notes = "通过excel批量导出")
R exportQuestion() throws IOException;
}

@ -149,4 +149,11 @@ public class QuestionsController implements QuestionsControllerApi {
return R.ok().put("data", evaluation);
}
@Override
@GetMapping("/export")
public R exportQuestion() throws IOException {
// List<> list = questionsService.exportQuestion();
return null;
}
}

@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:mysql://www.liuwanr.cn:3306/msdw_tms?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
url: jdbc:mysql://www.liuwanr.cn:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
username: super
password: huoran888
driver-class-name: com.mysql.jdbc.Driver

Loading…
Cancel
Save