PostRepository.php 501 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2019/6/5
  6. * Time: 16:03
  7. */
  8. namespace App\Repositories\Post;
  9. use Illuminate\Database\QueryException;
  10. use Dingo\Api\Http\Response;
  11. use Illuminate\Support\Facades\DB;
  12. use Illuminate\Support\Facades\Redis;
  13. use Symfony\Component\HttpKernel\Exception\HttpException;
  14. use Tymon\JWTAuth\Facades\JWTAuth;
  15. class PostRepository
  16. {
  17. /**
  18. * 发布内容
  19. */
  20. public function create($request)
  21. {
  22. return $request;
  23. }
  24. }