yii2 使用 配置文件中在 params 的配置, 可以用 Yii::$app->params['key1']
形式访问
yii2中使用定义在 params.php文件中的配置
猜你喜欢
转载自www.cnblogs.com/fsong/p/11259959.html
今日推荐
周排行