<?php

namespace App\Http\Controllers\Manage\BadInfo;

use App\Http\Controllers\Controller;
use App\Http\Controllers\Manage\BadInfo\Transformers\BookSensitiveStatTransformer;
use App\Modules\BadInfo\Services\BookSensitiveStatService;

use DB;
use Hashids;
use Illuminate\Http\Request;


class BookSensitiveStatController extends Controller
{
    /**
     * 不良书籍信息
     * @param Request $request
     * @return mixed
     */
    public function index(Request $request)
    {
        $stats = BookSensitiveStatService::getCurrentObj()->paginate();
        return response()->pagination(new BookSensitiveStatTransformer(), $stats);
    }


}

