Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
public class SpringBootDemo21Application {

public static void main(String[] args) {
System.out.println("test");
SpringApplication.run(SpringBootDemo21Application.class, args);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.util.Date;
import java.util.HashMap;

import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
Expand All @@ -15,7 +16,7 @@

/**
* spring-boot-demo-2-1
*
*
* @author wujing
*/
@RestController
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.roncoo.education.controller;

import com.roncoo.education.bean.User;

public interface UserRepo{

User createUser();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.roncoo.education.controller;

import com.roncoo.education.bean.User;

public class UserRepoImpl implements UserRepo{

@Override
public User createUser() {
return null;
}

}