PHP实现红包算法,php发红包算法
供参考,有其它想法,可以留言。/* $total_money:红包总金额 $total_people:总人数/总分数 $min_money:每份红包的最小金额 $max_money:每份红包的最大金额 */ function redpack($total_money, $total_people, $min_money, $max_money...