Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Config' not found #40

Open
tom-soft opened this issue Sep 21, 2020 · 1 comment
Open

Class 'Config' not found #40

tom-soft opened this issue Sep 21, 2020 · 1 comment

Comments

@tom-soft
Copy link

tom-soft commented Sep 21, 2020

namespace Zewail\Api\Setting;

use Config;

找不到这个Config

如果用门面应该是use think\facade\Config;

Config::pull

无需进行实例化就可以很方便的进行方法调用

ThinkPHP V6.0.3

@tom-soft
Copy link
Author

tom-soft commented Sep 22, 2020

针对 ThinkPHP V6.0.3 版本已调通,需要改Setting,Routing文件,修改如下:

image

希望修订

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant