#201807205598981

php 生成订单号201807205598981

php版/***生成唯一订单号*/publicfunctionbuild_order_no(){$no=date('Ymd').substr(implode(NULL,array_map('ord',str_split(substr(uniqid(),7,13),1))),0,8);//检测是否存在$db=M('Ord...