我想把下面的条件表达式在html中控制在laravel中的显示,但是我不能得到"$response.ResultCode"我该怎么做呢?
@if ($response.ResultCode == "0000")
<HTML content>
@endif
在js中,我可以访问如下。
if(@json($response).ResultCode ! = "0000") {
hoge;
}
可以使用访问操作符
$response->ResultCode