sid
This commit is contained in:
@@ -18,7 +18,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
* */
|
||||
if ( ! function_exists('create_order_no'))
|
||||
{
|
||||
function create_order_no($city_id = 350200, $source = '', $pay_type = 1, $order_type = 1)
|
||||
function create_order_no($city_id = 350200, $source = '')
|
||||
{
|
||||
switch ($source)
|
||||
{
|
||||
@@ -35,7 +35,7 @@ if ( ! function_exists('create_order_no'))
|
||||
$source_id = sprintf("%02d", 0);
|
||||
}
|
||||
|
||||
return $city_id . $source_id . $pay_type . $order_type . date('Ymd') . sprintf("%06d", rand(1,999999));
|
||||
return $city_id . $source_id . date('mdHis') . sprintf("%06d", rand(1,999999));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user