withHeaders([ 'Authorization' => 'Bearer '. $this->token, ])->json('get','http://localhost/api/channel/paytemplate/list', [ ]); $res->dump(); } }