MCPcopy Create free account
hub / github.com/CoderOpen/waimai / LinkController

Class LinkController

app/Http/Controllers/Api/ChiHe/LinkController.php:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22use Tymon\JWTAuth\Facades\JWTAuth;
23use App\Http\Services\Net\Curl;
24class 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected