1.php制作订单号
$data['orderid'] = date("YmdHis") . settype(rand(100000, 999999), string) ;
2.php时区
date_default_timezone_set('Asia/Shanghai');//'Asia/Shanghai'
$data['servertime'] = strtotime($this->_post('servertime'));
$data['createtime'] = time();//获取当前时间戳