Files
exchange-2.0/routes/api.php
T
weiken.intex 7a31cabfc6 create Transaction & Transaction Detail
- Supplier (AP)
	- PO
	- DO
	- INV

- Customer (AR)
	- PO
	- DO
	- INV
2020-12-07 14:01:08 +08:00

37 lines
980 B
PHP

<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::group(['middleware' => 'api', 'prefix' => 'v1', 'as' => 'api.'], function () {
require __DIR__ . '/account.php';
Route::group(['middleware' => 'valid.token'], function () {
require __DIR__ . '/crud.php';
require __DIR__ . '/wallet.php';
require __DIR__ . '/document.php';
require __DIR__ . '/segment.php';
require __DIR__ . '/company_bank.php';
require __DIR__ . '/currency.php';
require __DIR__ . '/transaction.php';
});
});