mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 04:13:58 +00:00
contract generate
This commit is contained in:
@@ -208,6 +208,32 @@ Route::group(['namespace' => 'User', 'prefix' => 'user-backsys/api'], function (
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
// Contract
|
||||
Route::prefix('contract')->group(function () {
|
||||
Route::get('list',
|
||||
[
|
||||
'as' => 'api.contract.list',
|
||||
'uses' => 'ContractController@list',
|
||||
'middleware' => ['permission:view contract']
|
||||
]
|
||||
);
|
||||
Route::get('show/{hash_id}',
|
||||
[
|
||||
'as' => 'api.contract.show',
|
||||
'uses' => 'ContractController@show',
|
||||
'middleware' => ['permission:view contract']
|
||||
]
|
||||
);
|
||||
Route::post('generate',
|
||||
[
|
||||
'as' => 'api.contract.generate',
|
||||
'uses' => 'ContractController@generate',
|
||||
'middleware' => ['permission:add contract']
|
||||
]
|
||||
);
|
||||
});
|
||||
|
||||
// contract generate
|
||||
// contract assign entity
|
||||
// contract active
|
||||
|
||||
Reference in New Issue
Block a user