配置mybatis
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
package top.fjy8018.shiro;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan
|
||||
@MapperScan(basePackages = {"top.fjy8018.shiro.mapper.UserMapper"})
|
||||
public class ShiroApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user