yii 多个数据库链接

设置数据库的链接,设定的2个数据库链接

选定数据库

通过函数getDb() 取得链接的数据库

原文地址:https://www.cnblogs.com/klj123wan/p/2939153.html