otp
This commit is contained in:
@@ -113,4 +113,10 @@ $router->group(['prefix'=>'api'], function () use ($router){
|
||||
|
||||
$router->get('transaksi_keuntungan/{norujukan}',['uses'=>'TransaksiKeuntunganController@getTransaksiKeuntunganByRujukan']);
|
||||
$router->post('transaksi_keuntungan',['uses'=>'TransaksiKeuntunganController@createTransaksiKeuntungan']);
|
||||
|
||||
|
||||
//OTP API
|
||||
$router->post('otp/generateotp/{nokp}',['uses'=>'OtpController@createOtp']);
|
||||
$router->get('otp/{nokp}',['uses'=>'OtpController@getOtp']);
|
||||
$router->get('otp/check/{otp_token}',['uses'=>'OtpController@checkToken']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user