$item_money_detail = json_decode(htmlspecialchars_decode($data['item_money_detail']), true); $list = array(); foreach ($item_money_detail as $k => $v) { foreach ($v as $kk => $vv) { $list[$kk][$k] = $vv; } } $data['item_money_detail'] = $list;
$item_money_detail = json_decode(htmlspecialchars_decode($data['item_money_detail']), true); $list = array(); foreach ($item_money_detail as $k => $v) { foreach ($v as $kk => $vv) { $list[$kk][$k] = $vv; } } $data['item_money_detail'] = $list;
文章来源: blog.csdn.net,作者:lxw1844912514,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/lxw1844912514/article/details/100028766
评论(0)