data source initializer

This commit is contained in:
trang
2017-09-21 10:49:14 +08:00
parent 5493703a85
commit 3bb583efca
4 changed files with 29 additions and 13 deletions
-1
View File
@@ -11,7 +11,6 @@
</parent>
<artifactId>druid-spring-boot-samples</artifactId>
<name>${project.artifactId}</name>
<dependencyManagement>
<dependencies>
@@ -3,10 +3,7 @@ package com.github.trang.druid.controller;
import com.github.trang.druid.mapper.CityMapper;
import com.github.trang.druid.model.City;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/city")