This commit is contained in:
e.arrahn
2021-07-15 18:03:43 +08:00
parent 7ebbb29eba
commit a51f381ec7
8 changed files with 13 additions and 5 deletions
Vendored
BIN
View File
Binary file not shown.
@@ -21,9 +21,9 @@ class TacExpressPaymentController extends Controller
'expired_at' => $expired_at 'expired_at' => $expired_at
]); ]);
$mobileno = '6'.$request->mobileno; // $mobileno = '6'.$request->mobileno;
// $mobileno = '60189025461'; $mobileno = '60139321786';
$messages = 'SPARE : SMS-OTP '. $request->otp_token . ' for one time usage on ' . $expired_at . '. Call AR-RAHN CARELINE CENTRE 1300-22-4343 if not request'; $messages = 'AR-RAHN PKB ' . $request->cawangan . ' : TAC: ' . $request->otp_token . ' ' . $currentDateTime . '. AR-RAHN CARELINE CENTRE 1300-22-4343';
$status = Http::get('http://gateway.onewaysms.com.au:10001/api.aspx',[ $status = Http::get('http://gateway.onewaysms.com.au:10001/api.aspx',[
'apiusername' => 'APIQ4LP5EMKXM', 'apiusername' => 'APIQ4LP5EMKXM',
+9 -1
View File
@@ -22,6 +22,14 @@ $router->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use
$router->get('logs', 'LogViewerController@index'); $router->get('logs', 'LogViewerController@index');
}); });
$router->get('_/phpinfo', function () {
ob_start();
phpinfo();
$response = ob_get_contents();
ob_get_clean();
return $response;
});
$router->group(['prefix'=>'api'], function () use ($router){ $router->group(['prefix'=>'api'], function () use ($router){
//Customer API //Customer API
$router->get('customers',['uses'=>'CustomerController@showAllCustomers']); $router->get('customers',['uses'=>'CustomerController@showAllCustomers']);
@@ -175,7 +183,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->post('transaksi_keuntungan',['uses'=>'TransaksiKeuntunganController@createTransaksiKeuntungan']); $router->post('transaksi_keuntungan',['uses'=>'TransaksiKeuntunganController@createTransaksiKeuntungan']);
$router->get('latest_transaksi_untung/data/{norujukan}',['uses'=>'TransaksiKeuntunganController@getLatestTransaksi_Untung']); // new added 20210413 $router->get('latest_transaksi_untung/{norujukan}',['uses'=>'TransaksiKeuntunganController@getLatestTransaksi_Untung']); // new added 20210413
$router->get('jumlah_bayaran_pendahuluan/{norujukan}',['uses'=>'TransaksiKeuntunganController@GetjumlahBayaranPendahuluan']); // new added 20210413 $router->get('jumlah_bayaran_pendahuluan/{norujukan}',['uses'=>'TransaksiKeuntunganController@GetjumlahBayaranPendahuluan']); // new added 20210413
Regular → Executable
View File
View File
View File
View File
Regular → Executable
View File