tp5模型中,指定连接不能使用配置文件吗?

浏览:763 发布日期:2018/01/22 分类:ThinkPHP5专区 关键字: tp5,模型,数据库,连接
感觉好蛋疼
class CompanyInfo extends Model
{


protected $connection=Config::get('db_content');
最佳答案
评论( 相关
后面还有条评论,点击查看>>