php超级简单,超级快速根据金钱和红包数量随机生成红包数组

public function randMoney($sum,$count) { $arr = []; $hes = 0; $hess =0; for ($i=0;$i<$count;$i++){ $rand =rand(1,1000); $arr[]=$rand;
相关文章
相关标签/搜索