This commit is contained in:
LAPTOP-DGCU80CH\user1
2020-12-07 14:54:54 +08:00
parent 378b0f19a2
commit 2016959518
3 changed files with 74 additions and 0 deletions
+6
View File
@@ -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']);
});