mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: remove guest plan api
This commit is contained in:
parent
3c372bd268
commit
80b96e730a
@ -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
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -10,8 +10,6 @@ class GuestRoute
|
|||||||
$router->group([
|
$router->group([
|
||||||
'prefix' => 'guest'
|
'prefix' => 'guest'
|
||||||
], function ($router) {
|
], function ($router) {
|
||||||
// Plan
|
|
||||||
$router->get ('/plan/fetch', 'V1\\Guest\\PlanController@fetch');
|
|
||||||
// Telegram
|
// Telegram
|
||||||
$router->post('/telegram/webhook', 'V1\\Guest\\TelegramController@webhook');
|
$router->post('/telegram/webhook', 'V1\\Guest\\TelegramController@webhook');
|
||||||
// Payment
|
// Payment
|
||||||
|
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user