//订单号生成
function order_sn()
{
$order_sn = 'MXD'.date('Ymd').substr( implode(NULL,array_map('ord',str_split(substr(uniqid(),7,13),1))) , -8 , 8);
return $order_sn;
}
//订单号生成
function order_sn()
{
$order_sn = 'MXD'.date('Ymd').substr( implode(NULL,array_map('ord',str_split(substr(uniqid(),7,13),1))) , -8 , 8);
return $order_sn;
}
本文标题:生成订单号
本文链接:https://www.haomeiwen.com/subject/adjtsxtx.html
网友评论