<?php


namespace App\Console\Commands;


use App\Web\Facades\BlogFacade;
use App\Web\Facades\HelpFacade;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;

class MakeBlogUvCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'make:blog_uv';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '自动增加文章虚拟阅读量';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        BlogFacade::blogUvFactory();
        HelpFacade::helpUvFactory();
        echo 'ok ';
    }
}
