Check the com.ruoyi.framework.config.SecurityConfig.java file to see if the login request setting allows anonymous access, that is, .anonymous, as shown in the figure below.
Just change it to .permitAll.
Anonymous allows anonymous access, and cannot be accessed with a token.
permitAll allows access to both anonymous and non-anonymous persons, that is, it can be accessed with or without a token.