删除guest获取订阅接口

This commit is contained in:
wyx2685 2023-10-19 02:59:37 +09:00
parent 19521a1393
commit 82640f047f
No known key found for this signature in database
GPG Key ID: 8827A30FF1DB1379
2 changed files with 0 additions and 20 deletions

View File

@ -1,18 +0,0 @@
<?php
namespace App\Http\Controllers\V1\Guest;
use App\Http\Controllers\Controller;
use App\Models\Plan;
use Illuminate\Http\Request;
class PlanController extends Controller
{
public function fetch(Request $request)
{
$plan = Plan::where('show', 1)->get();
return response([
'data' => $plan
]);
}
}

View File

@ -10,8 +10,6 @@ class GuestRoute
$router->group([
'prefix' => 'guest'
], function ($router) {
// Plan
$router->get ('/plan/fetch', 'V1\\Guest\\PlanController@fetch');
// Telegram
$router->post('/telegram/webhook', 'V1\\Guest\\TelegramController@webhook');
// Payment