diff --git a/crmeb/crmeb/command/Util.php b/crmeb/crmeb/command/Util.php index 6979ccd3f..c6d0ee78f 100644 --- a/crmeb/crmeb/command/Util.php +++ b/crmeb/crmeb/command/Util.php @@ -136,6 +136,9 @@ class Util extends Command $paramePath = implode('/', $paramePathMatche); } } + if ($path[0] === '/') { + $path = substr($path, 1); + } $route[] = [ 'method' => strtoupper($value['api']['method']), 'path' => $path . $paramePath,