调整架构,新增系统模块服务

This commit is contained in:
JaguarJack
2020-06-24 09:10:01 +08:00
parent 8c32893c91
commit 0e7453a6fe
4 changed files with 53 additions and 27 deletions

View File

@@ -62,7 +62,7 @@ class DataDictionary extends CatchController
*/
public function view($table): \think\response\Json
{
$fields = Db::query('show full columns from ' . $table);
$fields = Db::query(' ' . $table);
array_walk($fields, function (&$item){
$item = array_change_key_case($item);