Update taglel SimulasiController
This commit is contained in:
@@ -399,14 +399,14 @@ class SimulasiController extends Controller
|
||||
}
|
||||
SimulasiBidMarhun::insert($simulasi_bid_marhun_arr);
|
||||
|
||||
// foreach($simulasi_bid_arr as $index) {
|
||||
// $updategadai = Http::withOptions(['verify' => config('app.api_verify')])
|
||||
// ->post(config('app.api_url').'taglel/update',[
|
||||
// 'kodcaw'=>$index['caw_id'],
|
||||
// 'norujukan'=>$index['norujukan']
|
||||
// ])
|
||||
// ->json();
|
||||
// }
|
||||
foreach($simulasi_bid_arr as $index) {
|
||||
$updategadai = Http::withOptions(['verify' => config('app.api_verify')])
|
||||
->post(config('app.api_url').'taglel/update',[
|
||||
'kodcaw'=>$index['caw_id'],
|
||||
'norujukan'=>$index['norujukan']
|
||||
])
|
||||
->json();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user