Set the website running directory to public

Hello, I am a novice, please understand

Using the ThinkPHP framework

You need to set the running directory of the website to public and pseudo static

By default the directory is public_html and if you want to change that you have to go to the host and change the root directory to the public