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

Method index

app/Http/Controllers/Api/ChiHe/LinkController.php:26–32  ·  view source on GitHub ↗
(Request $request)

Source from the content-addressed store, hash-verified

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 2

getMethod · 0.80
successMethod · 0.80

Tested by

no test coverage detected