ソースを参照

latlong

master
Siti Rahayu 4年前
コミット
296155477a
1個のファイルの変更5行の追加1行の削除
  1. 5
    1
      app/Jobs/StoreCompoundEPBT.php

+ 5
- 1
app/Jobs/StoreCompoundEPBT.php ファイルの表示

@@ -58,7 +58,11 @@ class StoreCompoundEPBT implements ShouldQueue
// $compound = Compound::with('Department','DeedLaw','Faulty')->where('kpd', 'KP43932')->first();

$now = Carbon::now()->toDateTimeString();
$coordinate = explode(",",$compound->latlong);
$coordinate = [];
if (!empty($compound->latlong)) {
$coordinate = explode(",",$compound->latlong);
}

//get ePBT MBIP faulty lists
$client = new \GuzzleHttp\Client();

読み込み中…
キャンセル
保存