push init4
This commit is contained in:
@@ -1,6 +1,16 @@
|
|||||||
package sample.data.jpa.web;
|
package sample.data.jpa.web;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import sample.data.jpa.service.SessionDao;
|
||||||
|
|
||||||
|
@RequestMapping("/session")
|
||||||
public class SessionController {
|
public class SessionController {
|
||||||
|
private SessionDao sessionDao;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,7 @@ import sample.data.jpa.domain.User;
|
|||||||
import sample.data.jpa.service.UserDao;
|
import sample.data.jpa.service.UserDao;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
|
@RequestMapping("/user")
|
||||||
public class UserController {
|
public class UserController {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
package sample.data.jpa.web;
|
package sample.data.jpa.web;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
|
import sample.data.jpa.service.UtilisateurDao;
|
||||||
|
|
||||||
|
@RequestMapping("/session")
|
||||||
public class UtilisateurController {
|
public class UtilisateurController {
|
||||||
|
private UtilisateurDao utilisateurDao;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user