php生成唯一订单号

$csn = date("Ymdhis").substr(str_shuffle('1234567890'), 0, 6);
原文地址:https://www.cnblogs.com/seanpan/p/13993390.html