隊列中調(diào)用EasyWechat,Call to a member function get() on null 在controller中通過http請求訪問正常
Call to a member function get() on null
隊列里拿不到request的,跟Http不是一個進程
大佬,問下這個怎么處理呀
非http請求下,那么意味著$request->get() $request->post() $request->cookie() $request->rawBody() 都是空啊, 直接
$request->get()
$request->post()
$request->cookie()
$request->rawBody()
$symfonyRequest = new Request([],[],[],[],[],[],'');
就好了啊
感謝,吼吼吼