📜  Laravel json 响应 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:32.705000             🧑  作者: Mango

代码示例6
public function getOrgById(Request $request){
    // do something here...
    return response()->json(array('foo' => 'bar'));
}