| 22 | use Tymon\JWTAuth\Facades\JWTAuth; |
| 23 | use App\Http\Services\Net\Curl; |
| 24 | class LinkController extends BaseController |
| 25 | { |
| 26 | function index(Request $request) |
| 27 | { |
| 28 | $projects = Link::where([ |
| 29 | 'status' => 1 |
| 30 | ])->orderBy('sort', 'DESC')->orderBy('created_at', 'DESC')->get()->toArray(); |
| 31 | return $this->success($projects); |
| 32 | } |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected