jeecg 改造后源码
:::warning
https://github.com/pig-mesh/jeecg-boot
https://github.com/pig-mesh/jeecgboot-vue3
:::
pig 整合前后端分离项目登录
INSERT INTO `pig`.`sys_oauth_client_details`(`client_id`, `resource_ids`, `client_secret`, `scope`, `authorized_grant_types`, `web_server_redirect_uri`, `authorities`, `access_token_validity`, `refresh_token_validity`, `additional_information`, `autoapprove`, `create_time`, `update_time`, `create_by`, `update_by`) VALUES ('jeecg-boot', '', 'jeecg-boot', 'server', 'authorization_code', 'http://127.0.0.1:3100/sso', '', 168000000, 168000000, '', 'false', '2023-01-17 08:31:46', '2023-01-17 09:32:06', 'admin', 'admin');
后端配置
配置 jeecg-boot 前端地址 默认 3100 端口
配置 PIG 网关地址
- 增加sso的配置
- 增加一个登录