vendor 中 topthink 里的类如何引用

举例:要引入通过composer安装的 think-captcha扩展包:

use think\captcha\Captcha;

实例化类就要          $captcha = new Captcha();
 

猜你喜欢

转载自blog.csdn.net/qq_40270754/article/details/87253017