修复 模块间调用
This commit is contained in:
parent
7c816af908
commit
1206b9c92f
@ -47,7 +47,7 @@ public function exportCall(Request $request, Module $module): Response|JsonRespo
|
|||||||
{
|
{
|
||||||
$path = request()->path();
|
$path = request()->path();
|
||||||
|
|
||||||
$path = substr($path, strlen('/remote/modules/' . $module->id));
|
$path = substr($path, strlen('/modules/modules/' . $module->id));
|
||||||
$path = preg_replace('/[^a-zA-Z0-9\/]/', '', $path);
|
$path = preg_replace('/[^a-zA-Z0-9\/]/', '', $path);
|
||||||
|
|
||||||
$method = Str::lower($request->method());
|
$method = Str::lower($request->method());
|
||||||
|
Loading…
Reference in New Issue
Block a user