1.首先注册一个百度账号,并且登陆账号。这个不多说
2.进入百度开放云平台 http://developer.baidu.com/console#app/project
3.创建你的测试应用
创建成功后的效果
复制 API Key ,Secret Key 到数据库表 baidu_login_setting_1
4.配置你的回调地址
http://localhost:8080/common/baidu_do/login.do
5.把回调地址 复制回baidu_login_setting_1 表中 如 两者要一致。
6.重启本系统,输入localhost:8080 去进行百度登陆吧
注意事项:本系统数据库百度第三方设置会强制更改域名与 systemconstant.properties 配置的一致