我之前的版本是3.2的,现在我升级到4.5版本的,报以下的错误,是要授权吗?

Blade 未结 1 200
1502461081
1502461081 2025-05-16 10:21

image.png

1条回答
  •  admin
    admin (楼主)
    2025-05-16 11:14

    INSERT INTO `blade_client` (`id`, `client_id`, `client_secret`, `resource_ids`, `scope`, `authorized_grant_types`, `web_server_redirect_uri`, `authorities`, `access_token_validity`, `refresh_token_validity`, `additional_information`, `autoapprove`, `create_user`, `create_dept`, `create_time`, `update_user`, `update_time`, `status`, `is_deleted`) VALUES (1123598811738675203, 'saber3', 'saber3_secret', '', 'all', 'authorization_code,password,refresh_token,captcha,social,sms_code,register', 'http://localhost:2888/login', '', 3600, 60000, NULL, 'true', 1123598815738675201, 1123598813738675201, '2024-04-01 00:00:00', 1123598821738675201, '2025-03-13 10:37:44', 1, 0);

    执行这段sql,然后重启后端再试试

    0 讨论(0)
代码语言
提交回复