Kaynağa Gözat

get database

allo_data_retrieve^2
Siti Hajar Ibrahim 4 yıl önce
ebeveyn
işleme
46f9ad6fd4
1 değiştirilmiş dosya ile 4 ekleme ve 5 silme
  1. 4
    5
      app/Http/Controllers/Controller.php

+ 4
- 5
app/Http/Controllers/Controller.php Dosyayı Görüntüle

@@ -151,11 +151,10 @@ class Controller extends BaseController

public function getDatabase(Request $request)
{
$staff = Staff::where('email','dealer@test.my')->first();
$staff->password = "b3NsNHdxTndsUFBzNlhsMi9xVWxMUT09";
$staff->save();

return $staff;
$subscriber = Subscriber::where('subscriber_id', 'CBB-8ZGRDRB')->first();
$subscriber->front_ic = "/document/CBB-8ZGRDRB/frontic.jpg";
$subscriber->back_ic = "/document/CBB-8ZGRDRB/backic.jpg";
$subscriber->save();
}

public function adjustInstaller(){

Loading…
İptal
Kaydet