把data数组的值处理 array_walk($data ,function(&$item,$key) { $item['payPerLimit']= $item['payPerLimit']/100; });