...
|
...
|
@@ -387,7 +387,7 @@ class Api |
|
|
public function PayOrder()
|
|
|
{
|
|
|
//生成订单号
|
|
|
$yCode = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J');
|
|
|
$yCode = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J','K','L','M','N');
|
|
|
$PayOrder = $yCode[intval(date('Y')) - 2011] . strtoupper(dechex(date('m'))) . date('d') . substr(time(), -5) . substr(microtime(), 2, 5) . sprintf('%02d', rand(0, 99));
|
|
|
return $PayOrder;
|
|
|
}
|
...
|
...
|
|