mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
修改文件路径
This commit is contained in:
parent
acabd73f61
commit
ae7e657d27
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user