21 lines
673 B
PHP
21 lines
673 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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::prefix('v1')
|
|
->group(function () {
|
|
Route::resource('customer', 'Api\v1\CustomerController');
|
|
Route::post('/mur', 'Api\v1\MurController@index');
|
|
Route::post('/coupons/print', 'Api\v1\CouponsController@print');
|
|
});
|