国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

請問 webman 怎么實(shí)現(xiàn)動態(tài)調(diào)用方法

qq281655276

比如 請求 127.0.0.1/index/demo?func=test1&params=123,會請求到test1方法中去

547 1 1
1個回答

walkor 打賞
    public function demo(Request $request)
    {
        $action = $request->get('func');
        return $this->$action($request);
    }

    public function test1(Request $request) {
        return 'test1';
    }
  • 暫無評論
??