摘要: 不废话,直接上代码 /** * 查看数据库结构 * @return mixed */ public function actionDbSchema() { $tables = Yii::$app->db->createCommand("SHOW TABLE STATUS")->queryAll(); 阅读全文
posted @ 2021-01-07 17:18 北漂生活 阅读(165) 评论(0) 推荐(0) 编辑