rocket-a


git -C '/home/opc/rocketa.git' show 0f7b373 -- app/Http/Controllers/Admin/Test.php

commit 0f7b3735f63dc6f8212a1ef4e0ab8afa320df3b3
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Tue Nov 25 16:31:46 2025 +0900

    API URL作成jquery変更
    abrテストページ作成

diff --git a/app/Http/Controllers/Admin/Test.php b/app/Http/Controllers/Admin/Test.php
new file mode 100644
index 0000000..1e95717
--- /dev/null
+++ b/app/Http/Controllers/Admin/Test.php
@@ -0,0 +1,39 @@
+<?php
+
+namespace App\Http\Controllers\Admin;
+
+use App\Http\Requests;
+use Illuminate\Http\Request;
+use Illuminate\Http\Response;
+use App\Http\Controllers\Controller;
+use App\Models\Api\ApiLogs;
+
+class Test extends Controller
+{
+    /**
+     * Create a new controller instance.
+     *
+     * @return void
+     */
+    public function __construct()
+    {
+
+    }
+
+
+    /**
+     * db接続確認
+     *
+     * @param  Request $request
+     * @return json
+     */
+    public function abr(Request $request)
+    {
+        $logs = ApiLogs::select()->get();
+
+
+        return view('admin.test')
+            ->with('title', 'abr Test')
+            ->with('logs', $logs);
+    }
+}

diff.txt · 最終更新: by root