thinks!
非常非常赞~~~站长很给力!
OK,think you very much!
Jelly 你好!如下代码:$point = 6521;$baseData = [
1 => [0,2300], 2 => [2301,5000], 3 => [5001,13000], 4 => [13001,23000], 5 => [23001,50000]
];求$point 在哪个区间,并返回键值(1,2,3,4,5)用传统方法很好做,如果用collect()怎么重组呢?