|
|
@@ -3,7 +3,10 @@ |
|
|
|
namespace App\Console\Commands; |
|
|
|
|
|
|
|
use Illuminate\Console\Command; |
|
|
|
use Illuminate\Support\Facades\Http; |
|
|
|
|
|
|
|
use App\Models\Service; |
|
|
|
use App\Http\Controllers\Supply; |
|
|
|
|
|
|
|
class ServicesInit extends Command |
|
|
|
{ |
|
|
@@ -31,18 +34,12 @@ class ServicesInit extends Command |
|
|
|
parent::__construct(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Execute the console command. |
|
|
|
* |
|
|
|
* @return int |
|
|
|
*/ |
|
|
|
public function handle() |
|
|
|
{ |
|
|
|
|
|
|
|
public function handle() { |
|
|
|
$this->youtube(); |
|
|
|
$this->tiktok(); |
|
|
|
$this->instagram(); |
|
|
|
$this->twitter(); |
|
|
|
$this->tiktok(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
protected function youtube() { |
|
|
@@ -50,20 +47,21 @@ class ServicesInit extends Command |
|
|
|
$s->name = 'Unique Views'; |
|
|
|
$s->type = 'views'; |
|
|
|
$s->site = 'youtube'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 2997; |
|
|
|
$s->maximum = 500000; |
|
|
|
$s->minimum = 1000; |
|
|
|
$s->price = 750; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmworld( $s->id, 418); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
/* |
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Language Targeted Views'; |
|
|
|
$s->type = 'views'; |
|
|
|
$s->site = 'youtube'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->modifier = 'language'; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 1000; |
|
|
@@ -77,7 +75,6 @@ class ServicesInit extends Command |
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Location Targeted Views'; |
|
|
|
$s->site = 'youtube'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->modifier = 'location'; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 1000; |
|
|
@@ -94,23 +91,29 @@ class ServicesInit extends Command |
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Likes'; |
|
|
|
$s->site = 'youtube'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 50; |
|
|
|
$s->price = 850; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmworld($s->id, 385); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Comments'; |
|
|
|
$s->site = 'youtube'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->maximum = 500000; |
|
|
|
$s->minimum = 10; |
|
|
|
$s->price = 7500; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3726); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
protected function instagram() { |
|
|
@@ -119,32 +122,34 @@ class ServicesInit extends Command |
|
|
|
$s->name = 'Likes with Profile Visits'; |
|
|
|
$s->type = 'likes'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 2997; |
|
|
|
$s->maximum = 500000; |
|
|
|
$s->minimum = 1000; |
|
|
|
$s->price = 700; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 2997); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Likes'; |
|
|
|
$s->type = 'likes'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3775; |
|
|
|
$s->maximum = 50000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 50; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3775); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Post Impressions'; |
|
|
|
$s->type = 'impressions'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 618; |
|
|
|
$s->maximum = 1000000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 100; |
|
|
@@ -152,42 +157,52 @@ class ServicesInit extends Command |
|
|
|
$s->description = 'Post impressions and visits'; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 618); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Profile Visits'; |
|
|
|
$s->type = 'profile'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 2997; |
|
|
|
$s->maximum = 500000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 100; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 2997); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Post Views'; |
|
|
|
$s->type = 'views'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 2840; |
|
|
|
$s->maximum = 10000000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 50; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 2840); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Followers'; |
|
|
|
$s->type = 'followers'; |
|
|
|
$s->site = 'instagram'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3882; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 10; |
|
|
|
$s->price = 410; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3882); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
protected function twitter() { |
|
|
@@ -195,37 +210,44 @@ class ServicesInit extends Command |
|
|
|
$s->name = 'Video Views'; |
|
|
|
$s->type = 'views'; |
|
|
|
$s->site = 'twitter'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 287; |
|
|
|
$s->maximum = 1000000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 90; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 287); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Impressions'; |
|
|
|
$s->type = 'impressions'; |
|
|
|
$s->site = 'twitter'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 288; |
|
|
|
$s->maximum = 1000000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 700; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 288); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Followers'; |
|
|
|
$s->type = 'followers'; |
|
|
|
$s->site = 'twitter'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3820; |
|
|
|
$s->maximum = 10000; |
|
|
|
$s->minimum = 10; |
|
|
|
$s->price = 600; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3820); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@@ -234,39 +256,45 @@ class ServicesInit extends Command |
|
|
|
$s->name = 'Views'; |
|
|
|
$s->type = 'views'; |
|
|
|
$s->site = 'tiktok'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3826; |
|
|
|
$s->maximum = 10000000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 70; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3826); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Likes'; |
|
|
|
$s->type = 'likes'; |
|
|
|
$s->site = 'tiktok'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3935; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 100; |
|
|
|
$s->price = 400; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$sup = Supply::smmkings($s->id, 3935); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
$s = new Service; |
|
|
|
$s->name = 'Followers'; |
|
|
|
$s->type = 'followers'; |
|
|
|
$s->site = 'tiktok'; |
|
|
|
$s->supplier = 'smmkings'; |
|
|
|
$s->supplier_id = 3934; |
|
|
|
$s->maximum = 100000; |
|
|
|
$s->minimum = 20; |
|
|
|
$s->price = 300; |
|
|
|
$s->available = true; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
} |
|
|
|
$sup = Supply::smmkings($s->id, 3934); |
|
|
|
$s->primary_supplier = $sup->id; |
|
|
|
$s->save(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|