Constants

LARAVEL_START

LARAVEL_START = microtime(true)

Functions

array_group()

array_group(  $arr,   $key) 

Parameters

$arr
$key

client()

client(  $method,   $url,   $params) 

Parameters

$method
$url
$params

create_qrcode()

create_qrcode(array  $qrcode = array(), array  $logo = array(),   $path) 

Parameters

array $qrcode
array $logo
$path

data_deal()

data_deal(  $data,   $field) 

Parameters

$data
$field

distance()

distance(  $longitude,   $latitude) 

Parameters

$longitude
$latitude

formatIdCard()

formatIdCard(  $id_card) 

Parameters

$id_card

formatTrueName()

formatTrueName(  $true_name) 

Parameters

$true_name

order_status_pay()

order_status_pay(  $order_status) 

Parameters

$order_status

orderInsure()

orderInsure() 

role_has_user()

role_has_user(  $model,   $role) 

Parameters

$model
$role

setReload()

setReload(  $array,   $prefix) 

Parameters

$array
$prefix

setTableKey()

setTableKey() 

stamp()

stamp(  $type = 'day') 

Parameters

$type

super_admin_logo()

super_admin_logo() 

tree()

tree(  $data,   $pid) 

Parameters

$data
$pid

user_admin()

user_admin() 

user_admin_id()

user_admin_id() 

user_distributor_count()

user_distributor_count(  $time = false) 

Parameters

$time

user_guide_count()

user_guide_count(  $time = false) 

Parameters

$time

user_salesman_count()

user_salesman_count(  $time = false) 

Parameters

$time

user_tourist_count()

user_tourist_count(  $time = false) 

Parameters

$time

user_wholesaler()

user_wholesaler() 

user_wholesaler_count()

user_wholesaler_count(  $time = false) 

Parameters

$time

user_wholesaler_id()

user_wholesaler_id() 

wh()

wh(  $filed) 

Parameters

$filed

wholesaler_cache_menu_key()

wholesaler_cache_menu_key() 

wholesaler_cache_role_key()

wholesaler_cache_role_key(  $role_id) 

Parameters

$role_id

wholesaler_guard_name()

wholesaler_guard_name() 

xml_to_array()

xml_to_array(  $value = null) 

Parameters

$value