Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 938 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 938 Bytes

Getting Started

##框架特性 1、springboot 2、页面thymeleaf 3、数据持久层mybatis 4、集成shiro权限框架 5、集成cas单点登录

##使用 1、安装mysql库,建库castest 2、建表student


-- Table structure for student


DROP TABLE IF EXISTS student; CREATE TABLE student ( id varchar(64) NOT NULL DEFAULT '', name varchar(64) DEFAULT NULL, age int(11) DEFAULT NULL, homeAddress varchar(64) DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;


-- Records of student


INSERT INTO student VALUES ('1', '张三', '18', '河北省石家庄市桥西区');

3、启动CAS server 4、配置application.properties shiro.cas地址 5、启动springboot-casclient,访问 http://127.0.0.1:8081/student/1 6、登录成功,返回数据信息,enjoy it!