<?php

use App\Controllers\File_manager;
use CodeIgniter\Router\RouteCollection;

$routes->setAutoRoute(true);
$routes->post('api/upload_files', [File_manager::class, 'upload_files']);
$routes->post('api/check_payment/(:segment)', 'Api::check_payment/$1');