未命名 发表于 2023-10-1 02:11:05

laravel http状态返回和常用查询

laravel http状态返回和常用查询

$a = Tel::orderby('key', 'asc')->get();//数组对象结果
return response()->json(['hello' => 123],401); //设置http状态401
   

页: [1]
查看完整版本: laravel http状态返回和常用查询