block sag
This commit is contained in:
@@ -38,7 +38,7 @@ class checkLelongTawarruq extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updategadai = Http::get(config('api.url') . '/api/check/lelong/tawarruq')->json();
|
||||
$updategadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/check/lelong/tawarruq')->json();
|
||||
$this->info('sucess');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ class initiateTunai extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updateOnline = Http::get(config('api.url') . '/api/initiate/tunai')->json();
|
||||
$updateOnline = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/initiate/tunai')->json();
|
||||
if($updateOnline == 'successful'){
|
||||
return 0;
|
||||
}else{
|
||||
|
||||
@@ -38,8 +38,8 @@ class keluarLelong extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updateOnline = Http::get(config('api.url') . '/api/keluar/lelong')->json();
|
||||
$updateOnline = Http::get(config('api.url') . '/api/keluar/lelong/tawarruq')->json();
|
||||
$updateOnline = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/keluar/lelong')->json();
|
||||
$updateOnline = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/keluar/lelong/tawarruq')->json();
|
||||
if($updateOnline == 'successful'){
|
||||
return 0;
|
||||
}else{
|
||||
|
||||
@@ -38,7 +38,7 @@ class updateGadai extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updategadai = Http::get(config('api.url') . '/api/update/sttebus/gadaian')->json();
|
||||
$updategadai = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/update/sttebus/gadaian')->json();
|
||||
$this->info('sucess');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,9 +38,9 @@ class updateJbg extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updatejbg = Http::get(config('api.url') . '/api/updatejbgsemasa')->json();
|
||||
$updatejbgLelong = Http::get(config('api.url') . '/api/updatejbglelong')->json();
|
||||
$hapusGadaiNull = Http::get(config('api.url') . '/api/hapus/gadai/null')->json();
|
||||
$updatejbg = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/updatejbgsemasa')->json();
|
||||
$updatejbgLelong = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/updatejbglelong')->json();
|
||||
$hapusGadaiNull = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/hapus/gadai/null')->json();
|
||||
if($updatejbg == 'successful'){
|
||||
return 0;
|
||||
}else{
|
||||
|
||||
@@ -38,7 +38,7 @@ class updateOnline extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$updateOnline = Http::get(config('api.url') . '/api/transaction/online/update')->json();
|
||||
$updateOnline = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') . '/api/transaction/online/update')->json();
|
||||
if($updateOnline == 'successful'){
|
||||
return 0;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user