課程
/后端開發
/PHP
/PHP開發APP接口
直接 return 空值, 或者 1 全都報錯
2019-06-11
源自:PHP開發APP接口 5-1
正在回答
我以為遇到了,在中間件里面要用?
?Response()->json(['code'=>2,'msg'=>'登錄過期'])
返回
舉報
本課程介紹了如何通過PHP面向對象的思想構建一個模塊化的APP后臺
4 回答老師 請問提示 Trying to get property 'headers' of non-object 是什么問題啊?
1 回答老師 請問提示 Trying to get property 'headers' of non-object 是什么問題啊?
2 回答同問:Trying to get property 'headers' of non-object 如下圖所示 有解決的請幫忙回復一下
2 回答自定義的中間件 return報錯 ,如圖,, 但是 echo或dd()沒問題,,這是為什么???
1 回答設置jwt_auth中間件后報錯
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2020-04-17
我以為遇到了,在中間件里面要用?
返回