token permission config + fix getLogFile()

This commit is contained in:
xiaomlove
2025-05-02 21:15:00 +07:00
parent 14f06778b2
commit 6a3ed230df
11 changed files with 63 additions and 19 deletions

View File

@@ -33,6 +33,7 @@ class ToolController extends Controller
public function test(Request $request)
{
$result = ['id' => 1];
$result['logFile'] = getLogFile();
$resource = new JsonResource($result);
return $this->success($resource);
}