I tried according to your operation, use think\Config;'s reference, but the static method could not be adjusted. Then I went to look in this class and found that the method inside was not a static method. Then I instantiated it and continued to call the get method. It turned out that my configuration items were empty and there was no configuration at all. I saw that you were also a new framework, and then there were configurations.
Your version is not 5.1
The 5.1 version does not have a config.php file, instead it is in the config directory