Skip to content

Commit

Permalink
Select Model File Table bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monkenWu committed Mar 10, 2020
1 parent 8cd8069 commit 53f9dcf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Commands/CliCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,12 @@ public static function getAllNamespace(String $appPath,String $type){
$nowDir = $key;
foreach ($map as $key => $value) {
if(gettype($key) != "integer"){
$getDeepMap($map,"{$nowDir}{$key}",$nameArr);
$getDeepMap($value,"{$nowDir}{$key}",$nameArr);
}else{
$path = $nowDir.str_replace(".php","",$value);
$path = str_replace("/","\\",$path);
$nameArr[] = $path;
}
$path = $nowDir.str_replace(".php","",$value);
$path = str_replace("/","\\",$path);
$nameArr[] = $path;
}
};

Expand Down

0 comments on commit 53f9dcf

Please sign in to comment.