Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first commit #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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;
}

}