shiro登录、拦截测试成功
This commit is contained in:
@@ -2,10 +2,15 @@ spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/db_imis2?useUnicode=true&characterEncoding=utf-8&useSSL=true
|
||||
url: jdbc:mysql://localhost:3306/db_shiroTest?useUnicode=true&characterEncoding=utf-8&useSSL=true
|
||||
username: trs
|
||||
password: shiro
|
||||
mvc:
|
||||
## 配置jsp页面位置 ##
|
||||
view:
|
||||
prefix: /pages/
|
||||
suffix: .jsp
|
||||
## 配置mybatis ##
|
||||
mybatis:
|
||||
mapper-locations: mappers/*.xml
|
||||
type-aliases-package: top.fjy8018.shiro.dataobject
|
||||
mapper-locations: mapper/*.xml
|
||||
type-aliases-package: top.fjy8018.shiro.dataobject
|
||||
Reference in New Issue
Block a user