总觉得好像有点不对 有没有简化点的书写方式
$temp = area_buss::select('a_sqmc')->where('a_sqbh', $result['a_sqbh'])->first();
$result['a_sqmc'] = $temp->a_sqmc;
总觉得好像有点不对 有没有简化点的书写方式
$temp = area_buss::select('a_sqmc')->where('a_sqbh', $result['a_sqbh'])->first();
$result['a_sqmc'] = $temp->a_sqmc;
$result['a_sqmc'] = area_buss::select('a_sqmc')->where('a_sqbh', $result['a_sqbh'])->first()['a_sqmc']