laravel http状态返回和常用查询
xuexi 2023-10-01 02:12:01 发表在:PHP 查看数:897

laravel http状态返回和常用查询

      $a = Tel::orderby('key', 'asc')->get();  //数组对象结果
     return response()->json(['hello' => 123],401); //设置http状态
最近访问时间:2025-04-30 20:00:22
知识库:340条鸣谢:TAY  备案号:蜀ICP备2024090044号