\

Namespaces

Admin
BT
Composer
extend
FC
ins
Khanamiryan
lib
Medoo
Server
Symfony
voku
Zxing

Classes

background 背景图片操作类
ComposerAutoloaderInitb0b4bf247365ff876b95360090d83bef
config config 操作类
CookieCache Class CookieCache CK缓存模块 由于小主机用户较多,暂不使用Redis Ck存储不了太多数据,实际数据写入在session内!
DB
DB
FrameFiller
HomePage Class HomePage 商城主页部分功能整合
install Class install
login_data Class login_data 用户登录模块
Normalizer
price_monitoring Class price_monitoring 商品价格监控 已经监控过的商品写入缓存?
QRbitstream
QRcode
QRencode
QRimage
QRinput
QRinputItem
QRmask
QRrawcode
QRrs
QRrsblock
QRrsItem
QRspec
QRsplit
qrstr
QRtools
query Class query 前台查单类
reward 域名防红
View Class View 视图引导类

Constants

GRAPHEME_EXTR_COUNT

GRAPHEME_EXTR_COUNT = 0

GRAPHEME_EXTR_MAXBYTES

GRAPHEME_EXTR_MAXBYTES = 1

GRAPHEME_EXTR_MAXCHARS

GRAPHEME_EXTR_MAXCHARS = 2

ICONV_IMPL

ICONV_IMPL = 'Symfony'

ICONV_MIME_DECODE_CONTINUE_ON_ERROR

ICONV_MIME_DECODE_CONTINUE_ON_ERROR = 2

ICONV_MIME_DECODE_STRICT

ICONV_MIME_DECODE_STRICT = 1

ICONV_VERSION

ICONV_VERSION = '1.0'

IN_CRONLITE

IN_CRONLITE = \true

MAX_STRUCTURED_SYMBOLS

MAX_STRUCTURED_SYMBOLS = 16

MB_CASE_LOWER

MB_CASE_LOWER = 1

MB_CASE_TITLE

MB_CASE_TITLE = 2

MB_CASE_UPPER

MB_CASE_UPPER = 0

N1

N1 = 3

N2

N2 = 3

N3

N3 = 40

N4

N4 = 10

PHP_FLOAT_DIG

PHP_FLOAT_DIG = 15

PHP_FLOAT_EPSILON

PHP_FLOAT_EPSILON = 2.2204460492503E-16

PHP_FLOAT_MAX

PHP_FLOAT_MAX = 1.7976931348623157E+308

PHP_FLOAT_MIN

PHP_FLOAT_MIN = 2.2250738585072E-308

PHP_OS_FAMILY

PHP_OS_FAMILY = \Symfony\Polyfill\Php72\Php72::php_os_family()

QR_CACHE_DIR

QR_CACHE_DIR = \false

QR_CACHEABLE

QR_CACHEABLE = \false

QR_DEFAULT_MASK

QR_DEFAULT_MASK = 2

QR_ECLEVEL_H

QR_ECLEVEL_H = 3

QR_ECLEVEL_L

QR_ECLEVEL_L = 0

QR_ECLEVEL_M

QR_ECLEVEL_M = 1

QR_ECLEVEL_Q

QR_ECLEVEL_Q = 2

QR_FIND_BEST_MASK

QR_FIND_BEST_MASK = \true

QR_FIND_FROM_RANDOM

QR_FIND_FROM_RANDOM = 2

QR_FORMAT_PNG

QR_FORMAT_PNG = 1

QR_FORMAT_TEXT

QR_FORMAT_TEXT = 0

QR_IMAGE

QR_IMAGE = \true

QR_LOG_DIR

QR_LOG_DIR = \false

QR_MODE_8

QR_MODE_8 = 2

QR_MODE_AN

QR_MODE_AN = 1

QR_MODE_KANJI

QR_MODE_KANJI = 3

QR_MODE_NUL

QR_MODE_NUL = -1

QR_MODE_NUM

QR_MODE_NUM = 0

QR_MODE_STRUCTURE

QR_MODE_STRUCTURE = 4

QR_PNG_MAXIMUM_SIZE

QR_PNG_MAXIMUM_SIZE = 1024

QRCAP_EC

QRCAP_EC = 3

QRCAP_REMINDER

QRCAP_REMINDER = 2

QRCAP_WIDTH

QRCAP_WIDTH = 0

QRCAP_WORDS

QRCAP_WORDS = 1

QRSPEC_VERSION_MAX

QRSPEC_VERSION_MAX = 40

QRSPEC_WIDTH_MAX

QRSPEC_WIDTH_MAX = 177

ROOT

ROOT = __DIR__ . \DIRECTORY_SEPARATOR

ROOT

ROOT = '..' . \DIRECTORY_SEPARATOR

ROOT_DIR

ROOT_DIR = $ROOT_DIR

ROOT_DIR_S

ROOT_DIR_S = \substr_replace(\ROOT_DIR, "", -1)

Rule

Rule = ['[Multiple][1]价格倍数输入框' => ['name' => '倍数', 'type' => 3, 'way' => 1, 'placeholder' => '可以自定义文字,如[Multiple][1]时长 [Multiple][5]天数,其中1=1倍,5=5倍,需要多少倍可以自己设置!,计算公式:[自定义倍数 × 用户输入的倍数] × 当前商品购买价 = 实际售价'], '链接地址' => ['name' => '获取', 'type' => -1, 'url' => '[url]/ajax.php?act=LinkExtraction', 'way' => 1, 'placeholder' => '请输入带有链接的信息'], '图片链接' => ['name' => '上传图片', 'type' => 2, 'url' => '[url]/ajax.php?act=Decode', 'way' => 1, 'placeholder' => '请点击旁边的按钮上传需要解析的图片'], '说说ID|说说id' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=SSID', 'way' => 2, 'placeholder' => '请在上方输入框内填写好QQ,然后点击获取!'], '收货地址' => ['name' => '选择收货地址', 'type' => 1, 'way' => 1, 'placeholder' => '请将收货地址信息填写完整哦!'], '火山ID|火山视频ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=HSID', 'way' => 1, 'placeholder' => '在此输入火山视频的链接,然后点击获取按钮!'], '微视ID|微视作品ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=WSID', 'way' => 1, 'placeholder' => '在此输入微视的作品链接,然后点击获取按钮!'], '头条ID|头条ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=JRTTID', 'way' => 1, 'placeholder' => '在此输入今日头条的链接,然后点击获取按钮!'], '皮皮虾ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=PPXID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '小红书ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=XHSID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '美拍ID|美拍ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=MPID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '哔哩哔哩ID|哔哩视频ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=BLIID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '最右帖子ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=ZYOUID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '全民K歌ID|全民ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=QMKGID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '美图作品ID|美图视频ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=MTXXID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!'], '绿洲作品ID|绿洲视频ID' => ['name' => '获取ID', 'type' => -1, 'url' => '[url]/ajax.php?act=LVZID', 'way' => 1, 'placeholder' => '在此输入链接,然后点击获取按钮!']]

STRUCTURE_HEADER_BITS

STRUCTURE_HEADER_BITS = 20

SYMFONY_GRAPHEME_CLUSTER_RX

SYMFONY_GRAPHEME_CLUSTER_RX = PCRE_VERSION >= '8.32' ? '\\X' : \Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX

SYSTEM_ROOT

SYSTEM_ROOT = __DIR__ . \DIRECTORY_SEPARATOR . 'includes' . \DIRECTORY_SEPARATOR

SYSTEM_ROOT

SYSTEM_ROOT = '..' . \DIRECTORY_SEPARATOR . 'includes' . \DIRECTORY_SEPARATOR

Functions

array_sort()

array_sort(mixed  $array, mixed  $keys, mixed  $type = 'asc') : mixed

Parameters

mixed $array
mixed $keys
mixed $type

Returns

mixed —

arraycopy()

arraycopy(mixed  $srcArray, mixed  $srcPos, mixed  $destArray, mixed  $destPos, mixed  $length) : mixed

Parameters

mixed $srcArray
mixed $srcPos
mixed $destArray
mixed $destPos
mixed $length

Returns

mixed —

BLIID()

BLIID( $Url) : array

Parameters

$Url

Returns

array —

获取B站ID

CallHookQueue()

CallHookQueue() : never

Returns

never —

调用钩子队列,并且让请求先返回,后执行,实现无堵塞执行钩子

ChangOrderPrice()

ChangOrderPrice( $Data) : array

Parameters

$Data

Returns

array —

订单改价钩子调用方法集

CheckFile()

CheckFile( $url) : bool

Parameters

$url

Returns

bool —

检查远程文件是否存在

CheckRemoteImage()

CheckRemoteImage( $imageUrl) : bool

Parameters

$imageUrl

Returns

bool —

检查远程图片是否存在!

CommodityInputBoxName()

CommodityInputBoxName( $Input,  $specification,  $specification_spu) : mixed

Parameters

$Input

//下单输入框 下单输入框解析,传值均未JSON解码

$specification

//规格开关

$specification_spu

//规格名称

Returns

mixed —

CommoditySalesAnalysis()

CommoditySalesAnalysis( $Gid, mixed  $sales) : false|int|mixed|string

Parameters

$Gid
mixed $sales

Returns

false|int|mixed|string —

商品销量快速解析

composerRequireb0b4bf247365ff876b95360090d83bef()

composerRequireb0b4bf247365ff876b95360090d83bef(string  $fileIdentifier, string  $file) : void

Parameters

string $fileIdentifier
string $file

daddslashes()

daddslashes( $string) : array|mixed|string

Parameters

$string

Returns

array|mixed|string —

数据安全过滤

deep_in_array()

deep_in_array( $value,  $array, mixed  $key = 'id') : bool

Parameters

$value
$array
mixed $key

Returns

bool —

检测多维数组内是否包含某个键值

DelDir()

DelDir( $dir) : bool

Parameters

$dir

//待删除的文件夹名称

Returns

bool —

删除指定文件夹!

DeleteHtml()

DeleteHtml(mixed  $str) : string

Parameters

mixed $str

Returns

string —

提取html 文本内容,正文内容

dier()

dier( $arr = []) : never

Parameters

$arr

Returns

never —

dies()

dies( $code = -1,  $msg = '') : never

Parameters

$code
$msg

Returns

never —

DirCopy()

DirCopy(string  $source, string  $dest, bool  $force = true) : mixed

Parameters

string $source

//源文件,填写绝对路径

string $dest

//目标路径,填写绝对路径

bool $force

//开启会每次强制覆盖原文件,false不进行覆盖,存在文件不做处理 实现文件目录移动,拷贝等,返回被拷贝的文件数,

Returns

mixed —

DirectoryProtection()

DirectoryProtection() : mixed

目录保护

Returns

mixed —

DownloadImage()

DownloadImage( $remoteImageUrl,  $localImagePath) : bool

Parameters

$remoteImageUrl
$localImagePath

Returns

bool —

下载图片到本地服务器

FileUploadTransfer()

FileUploadTransfer( $url, array  $data = array(), array  $files = array()) : mixed

Parameters

$url

接口地址

array $data

表单数据

array $files

表单文件 $_FILES 文件上传中转【暂时废弃】

Returns

mixed —

fill_array()

fill_array(mixed  $index, mixed  $count, mixed  $value) : mixed

Parameters

mixed $index
mixed $count
mixed $value

Returns

mixed —

floatToIntBits()

floatToIntBits(mixed  $float_val) : mixed

Parameters

mixed $float_val

Returns

mixed —

for_dir()

for_dir( $dir,  $exclude = [],  $str = false,  $type = 1) : array

Parameters

$dir

//目录地址

$exclude

//要排除的文件

$str

//需要筛选的字符串

$type

//1=排除,2=包含

Returns

array —

获取文件夹下的文件夹列表,1层 获取目录列表 获取文件列表

get_curl()

get_curl( $url,  $post,  $referer,  $cookie,  $header,  $ua,  $nobaody) : bool|string

Parameters

$url
$post
$referer
$cookie
$header
$ua
$nobaody

Returns

bool|string —

发起curl请求

get_curl_time()

get_curl_time( $url,  $time = 60) : bool|string

Parameters

$url
$time

Returns

bool|string —

get_url_content()

get_url_content( $url, mixed  $post) : mixed

Parameters

$url
mixed $post

Returns

mixed —

请求转发【暂时废弃】

GetCardStock()

GetCardStock(mixed  $Gid) : mixed

Parameters

mixed $Gid

Returns

mixed —

getCity()

getCity(string  $ip = '', mixed  $type = 1) : bool|mixed|string

Parameters

string $ip
mixed $type

Returns

bool|mixed|string —

获取用户IP详细地址!【暂未用到,功能正常】 获取IP所在地

GetHSID()

GetHSID( $Url) : array

Parameters

$Url

Returns

array —

取出火山ID+视频ID

GetJRTTID()

GetJRTTID(mixed  $Url) : mixed

Parameters

mixed $Url

Returns

mixed —

getServerIp()

getServerIp() : bool|string

Returns

bool|string —

获取服务器IP地址【暂未用到,功能正常】

GetServiceUrl()

GetServiceUrl(mixed  $ServiceUrl = '', mixed  $ServiceUrlType = -1) : mixed

Parameters

mixed $ServiceUrl
mixed $ServiceUrlType

Returns

mixed —

getSubstr()

getSubstr( $str,  $leftStr,  $rightStr) : false|string

Parameters

$str
$leftStr
$rightStr

Returns

false|string —

取中间值

GetWSID()

GetWSID( $Url) : mixed

Parameters

$Url

获取微视频ID

Returns

mixed —

grapheme_extract()

grapheme_extract(mixed  $haystack, mixed  $size, mixed  $extract_type, mixed  $start, mixed  $next) : mixed

Parameters

mixed $haystack
mixed $size
mixed $extract_type
mixed $start
mixed $next

Returns

mixed —

grapheme_stripos()

grapheme_stripos(mixed  $haystack, mixed  $needle, mixed  $offset) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset

Returns

mixed —

grapheme_stristr()

grapheme_stristr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle

Returns

mixed —

grapheme_strlen()

grapheme_strlen(mixed  $input) : mixed

Parameters

mixed $input

Returns

mixed —

grapheme_strpos()

grapheme_strpos(mixed  $haystack, mixed  $needle, mixed  $offset) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset

Returns

mixed —

grapheme_strripos()

grapheme_strripos(mixed  $haystack, mixed  $needle, mixed  $offset) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset

Returns

mixed —

grapheme_strrpos()

grapheme_strrpos(mixed  $haystack, mixed  $needle, mixed  $offset) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset

Returns

mixed —

grapheme_strstr()

grapheme_strstr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle

Returns

mixed —

grapheme_substr()

grapheme_substr(mixed  $string, mixed  $start, mixed  $length = null) : mixed

Parameters

mixed $string
mixed $start
mixed $length

Returns

mixed —

hashCode()

hashCode(mixed  $s) : mixed

Parameters

mixed $s

Returns

mixed —

HomecachingAdd()

HomecachingAdd( $act = '',  $cs = [],  $Data = []) : mixed

Parameters

$act

字段名称

$cs

判断参数

$Data

数据 数据存储,只可存储json数据

Returns

mixed —

HomecachingUnlink()

HomecachingUnlink( $act,  $cs = []) : bool

Parameters

$act
$cs

Returns

bool —

删除数据缓存

HomecachingVerify()

HomecachingVerify( $act,  $cs = [], mixed  $time = false) : mixed

Parameters

$act

//字段名称

$cs

//判断参数 数据验证,文件缓存模块

mixed $time

Returns

mixed —

href()

href( $type = 1) : mixed|string

Parameters

$type

//1 仅返回域名,其他返回http(s)://

Returns

mixed|string —

获取当前站点域名信息

iconv()

iconv(mixed  $from_encoding, mixed  $to_encoding, mixed  $string) : mixed

Parameters

mixed $from_encoding
mixed $to_encoding
mixed $string

Returns

mixed —

iconv_get_encoding()

iconv_get_encoding(mixed  $type = 'all') : mixed

Parameters

mixed $type

Returns

mixed —

iconv_mime_decode()

iconv_mime_decode(mixed  $string, mixed  $mode, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $mode
mixed $encoding

Returns

mixed —

iconv_mime_decode_headers()

iconv_mime_decode_headers(mixed  $headers, mixed  $mode, mixed  $encoding = null) : mixed

Parameters

mixed $headers
mixed $mode
mixed $encoding

Returns

mixed —

iconv_mime_encode()

iconv_mime_encode(mixed  $field_name, mixed  $field_value, mixed  $options = null) : mixed

Parameters

mixed $field_name
mixed $field_value
mixed $options

Returns

mixed —

iconv_set_encoding()

iconv_set_encoding(mixed  $type, mixed  $encoding) : mixed

Parameters

mixed $type
mixed $encoding

Returns

mixed —

iconv_strlen()

iconv_strlen(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

iconv_strpos()

iconv_strpos(mixed  $haystack, mixed  $needle, mixed  $offset, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset
mixed $encoding

Returns

mixed —

iconv_strrpos()

iconv_strrpos(mixed  $haystack, mixed  $needle, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $encoding

Returns

mixed —

iconv_substr()

iconv_substr(mixed  $string, mixed  $offset, mixed  $length = 2147483647, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $offset
mixed $length
mixed $encoding

Returns

mixed —

ImageUrl()

ImageUrl(string  $str = '', bool  $Url = false) : array|string

Parameters

string $str

// 本地图片地址 URL本地连接转换为外链 /assets/img/ path

bool $Url

Returns

array|string —

is_https()

is_https(bool  $type = true, int  $ts = 1) : mixed

是否为https

Parameters

bool $type

//默认验证

int $ts

//1 返回:// 其他不返回://

Returns

mixed —

is_url()

is_url(mixed  $url) : mixed

Parameters

mixed $url

Returns

mixed —

LabelaAnalysis()

LabelaAnalysis( $Data) : mixed

Parameters

$Data

标签解析为数组

Returns

mixed —

mb_check_encoding()

mb_check_encoding(mixed  $value = null, mixed  $encoding = null) : mixed

Parameters

mixed $value
mixed $encoding

Returns

mixed —

mb_chr()

mb_chr(mixed  $codepoint, mixed  $encoding = null) : mixed

Parameters

mixed $codepoint
mixed $encoding

Returns

mixed —

mb_chr()

mb_chr(mixed  $codepoint, mixed  $encoding = null) : mixed

Parameters

mixed $codepoint
mixed $encoding

Returns

mixed —

mb_convert_case()

mb_convert_case(mixed  $string, mixed  $mode, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $mode
mixed $encoding

Returns

mixed —

mb_convert_encoding()

mb_convert_encoding(mixed  $string, mixed  $to_encoding, mixed  $from_encoding = null) : mixed

Parameters

mixed $string
mixed $to_encoding
mixed $from_encoding

Returns

mixed —

mb_convert_variables()

mb_convert_variables(mixed  $toEncoding, mixed  $fromEncoding, mixed  $a = null, mixed  $b = null, mixed  $c = null, mixed  $d = null, mixed  $e = null, mixed  $f = null) : mixed

Parameters

mixed $toEncoding
mixed $fromEncoding
mixed $a
mixed $b
mixed $c
mixed $d
mixed $e
mixed $f

Returns

mixed —

mb_decode_mimeheader()

mb_decode_mimeheader(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

mb_decode_numericentity()

mb_decode_numericentity(mixed  $string, mixed  $map, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $map
mixed $encoding

Returns

mixed —

mb_detect_encoding()

mb_detect_encoding(mixed  $string, mixed  $encodings = null, mixed  $strict = false) : mixed

Parameters

mixed $string
mixed $encodings
mixed $strict

Returns

mixed —

mb_detect_order()

mb_detect_order(mixed  $encoding = null) : mixed

Parameters

mixed $encoding

Returns

mixed —

mb_encode_mimeheader()

mb_encode_mimeheader(mixed  $string, mixed  $charset = null, mixed  $transfer_encoding = null, mixed  $newline = null, mixed  $indent = null) : mixed

Parameters

mixed $string
mixed $charset
mixed $transfer_encoding
mixed $newline
mixed $indent

Returns

mixed —

mb_encode_numericentity()

mb_encode_numericentity(mixed  $string, mixed  $map, mixed  $encoding = null, mixed  $hex = false) : mixed

Parameters

mixed $string
mixed $map
mixed $encoding
mixed $hex

Returns

mixed —

mb_encoding_aliases()

mb_encoding_aliases(mixed  $encoding) : mixed

Parameters

mixed $encoding

Returns

mixed —

mb_get_info()

mb_get_info(mixed  $type = 'all') : mixed

Parameters

mixed $type

Returns

mixed —

mb_http_input()

mb_http_input(mixed  $type = '') : mixed

Parameters

mixed $type

Returns

mixed —

mb_http_output()

mb_http_output(mixed  $encoding = null) : mixed

Parameters

mixed $encoding

Returns

mixed —

mb_internal_encoding()

mb_internal_encoding(mixed  $encoding = null) : mixed

Parameters

mixed $encoding

Returns

mixed —

mb_language()

mb_language(mixed  $language = null) : mixed

Parameters

mixed $language

Returns

mixed —

mb_list_encodings()

mb_list_encodings() : mixed

Returns

mixed —

mb_ord()

mb_ord(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_ord()

mb_ord(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_output_handler()

mb_output_handler(mixed  $string, mixed  $status) : mixed

Parameters

mixed $string
mixed $status

Returns

mixed —

mb_parse_str()

mb_parse_str(mixed  $string, mixed  $result = array()) : mixed

Parameters

mixed $string
mixed $result

Returns

mixed —

mb_scrub()

mb_scrub(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_scrub()

mb_scrub(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_str_split()

mb_str_split(mixed  $string, mixed  $length = 1, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $length
mixed $encoding

Returns

mixed —

mb_stripos()

mb_stripos(mixed  $haystack, mixed  $needle, mixed  $offset, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset
mixed $encoding

Returns

mixed —

mb_stristr()

mb_stristr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle
mixed $encoding

Returns

mixed —

mb_strlen()

mb_strlen(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_strpos()

mb_strpos(mixed  $haystack, mixed  $needle, mixed  $offset, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset
mixed $encoding

Returns

mixed —

mb_strrchr()

mb_strrchr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle
mixed $encoding

Returns

mixed —

mb_strrichr()

mb_strrichr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle
mixed $encoding

Returns

mixed —

mb_strripos()

mb_strripos(mixed  $haystack, mixed  $needle, mixed  $offset, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset
mixed $encoding

Returns

mixed —

mb_strrpos()

mb_strrpos(mixed  $haystack, mixed  $needle, mixed  $offset, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $offset
mixed $encoding

Returns

mixed —

mb_strstr()

mb_strstr(mixed  $haystack, mixed  $needle, mixed  $before_needle = false, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $before_needle
mixed $encoding

Returns

mixed —

mb_strtolower()

mb_strtolower(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_strtoupper()

mb_strtoupper(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_strwidth()

mb_strwidth(mixed  $string, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $encoding

Returns

mixed —

mb_substitute_character()

mb_substitute_character(mixed  $substitute_character = null) : mixed

Parameters

mixed $substitute_character

Returns

mixed —

mb_substr()

mb_substr(mixed  $string, mixed  $start, mixed  $length = 2147483647, mixed  $encoding = null) : mixed

Parameters

mixed $string
mixed $start
mixed $length
mixed $encoding

Returns

mixed —

mb_substr_count()

mb_substr_count(mixed  $haystack, mixed  $needle, mixed  $encoding = null) : mixed

Parameters

mixed $haystack
mixed $needle
mixed $encoding

Returns

mixed —

MemoryComputing()

MemoryComputing( $size) : string

Parameters

$size

Returns

string —

内存消耗计算

mkdirs()

mkdirs( $dir, int  $mode = 0777) : bool

Parameters

$dir
int $mode

Returns

bool —

检测目录是否存在,不存在则创建

MPID()

MPID( $Url) : array

Parameters

$Url

Returns

array —

获取小红书ID

msectime()

msectime() : mixed

获取时间戳,毫秒级

Returns

mixed —

normalizer_is_normalized()

normalizer_is_normalized(mixed  $input, mixed  $form = pNormalizer::NFC) : mixed

Parameters

mixed $input
mixed $form

Returns

mixed —

normalizer_normalize()

normalizer_normalize(mixed  $input, mixed  $form = pNormalizer::NFC) : mixed

Parameters

mixed $input
mixed $form

Returns

mixed —

numberOfTrailingZeros()

numberOfTrailingZeros(mixed  $i) : mixed

Parameters

mixed $i

Returns

mixed —

OrderDetailExtent()

OrderDetailExtent( $Data) : array

Parameters

$Data

Returns

array —

订单详情扩展集

OrderStatus()

OrderStatus( $Pid,  $type = 1) : mixed

Parameters

$Pid

//订单ID

$type

=1根据ID查询,=2根据支付订单查询 返回订单状态,如发卡普通提示等! 此处只验证普通订单,不验证队列订单!

Returns

mixed —

PaymentMethodAnalysis()

PaymentMethodAnalysis( $Data) : int

Parameters

$Data

Returns

int —

支持的付款方式解析

PPXID()

PPXID( $Url) : array

Parameters

$Url

Returns

array —

获取皮皮虾ID

PriceIncreaseAccordCommonRule()

PriceIncreaseAccordCommonRule( $Money,  $SingleRule,  $Level,  $Type = 1) : mixed

Parameters

$Money

//成本

$SingleRule

//规则编号

$Level

//用户等级

$Type

//1=价格,2=积分 商品规则加价

Returns

mixed —

QR_Code()

QR_Code(int  $Type = 1, string  $url = '请将text参数填写完整,可传递域名,文字等信息!', int  $w = 6, int  $m = 1, bool  $outfile = false, bool  $outfiles = false) : mixed

Parameters

int $Type

1=返回二维码图片地址,2=输出图片或生成图片

string $url

//内容

int $w

//宽高

int $m

//间距

bool $outfile
bool $outfiles

二维码生成方法

Returns

mixed —

randomFloat()

randomFloat( $min,  $max = 1) : mixed

Parameters

$min
$max

取出随机小数

Returns

mixed —

RandomNumber()

RandomNumber(mixed  $num = 12) : mixed

Parameters

mixed $num

Returns

mixed —

RatingParameters()

RatingParameters( $User, int  $type = 1) : array|int|mixed

Parameters

$User
int $type

Returns

array|int|mixed —

根据用户ID取出对应等级参数 或,给出等级列表

Redis()

Redis( $db) : false|\Redis

Parameters

$db

数据库

Returns

false|\Redis —

Redis数据库连接

RedisRvs()

RedisRvs(mixed  $Lab_ms = 100, mixed  $smg = 'JSON', mixed  $type = 1, mixed  $Lab_type = 1, mixed  $Lab_state = 2, mixed  $Msg = null) : mixed

Parameters

mixed $Lab_ms
mixed $smg
mixed $type
mixed $Lab_type
mixed $Lab_state
mixed $Msg

Returns

mixed —

RlueAnalysis()

RlueAnalysis(array  $Goods = [], int  $type = 2, false  $User = false, false  $pushMoney = false) : array|int

Parameters

array $Goods

//商品数据

int $type

//1显示成本,2不显示,3不显示详细参数

false $User

//用户数据

false $pushMoney

//是否获取原价,不计算店铺加价

Returns

array|int —

商品规格解析模块

RuleSubmitParameters()

RuleSubmitParameters(mixed  $RuleArr, mixed  $InputData) : mixed

计算不提交商品规则模式下的提交参数

Parameters

mixed $RuleArr
mixed $InputData

Returns

mixed —

RVS()

RVS( $Lab_ms = 100,  $smg = 'JSON',  $type = 1,  $Lab_type = 1,  $Lab_state = 2,  $Msg = null) : mixed

数据重复提交验证

Parameters

$Lab_ms

拦截毫秒时间 1000 = 1秒

$smg

返回格式,JSON,HTML

$type

= 1,根据请求内容验证,type = 2 不根据请求内容,根据IP验证

$Lab_type

拦截模式,1强硬,2软弱

$Lab_state

拦截范围 1整站请求,2、根据IP,若type=2则此项失效!

$Msg

自定义说明

Returns

mixed —

saddslashes()

saddslashes(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

sapi_windows_vt100_support()

sapi_windows_vt100_support(mixed  $stream, mixed  $enable = null) : mixed

Parameters

mixed $stream
mixed $enable

Returns

mixed —

sdvig3()

sdvig3(mixed  $a, mixed  $b) : mixed

Parameters

mixed $a
mixed $b

Returns

mixed —

Sec2Time()

Sec2Time(mixed  $time) : mixed

将秒数转换为剩余详细时间!

Parameters

mixed $time

Returns

mixed —

SeckillAnalysis()

SeckillAnalysis(mixed  $v) : mixed

Parameters

mixed $v

Returns

mixed —

SecurityFiltering()

SecurityFiltering( $str_string) : mixed

Parameters

$str_string

Returns

mixed —

安全过滤

show_msg()

show_msg( $title = '温馨提示',  $content = '这是内容',  $type = 3,  $url = false,  $true = true, mixed  $w = 42, mixed  $h = 42) : never

Parameters

$title
$content
$type
$url
$true
mixed $w
mixed $h

Returns

never —

type=1 成功,2警告,3正常,4失败 信息提示模块

SonCallbackSet()

SonCallbackSet( $Data,  $type) : mixed

Parameters

$Data
$type

数据回调扩展集

Returns

mixed —

spl_object_id()

spl_object_id(mixed  $object) : mixed

Parameters

mixed $object

Returns

mixed —

stream_isatty()

stream_isatty(mixed  $stream) : mixed

Parameters

mixed $stream

Returns

mixed —

SubordinateUser()

SubordinateUser( $User, int  $index = 1, false  $Uid = false) : array|int

Parameters

$User
int $index
false $Uid

Returns

array|int —

取出下级列表!+收益!

SubordinateUserMoney()

SubordinateUserMoney(mixed  $Uid, mixed  $id) : mixed

Parameters

mixed $Uid
mixed $id

Returns

mixed —

substr_cut()

substr_cut(mixed  $user_name, mixed  $head, mixed  $foot) : string

只保留字符串首尾字符,隐藏中间用*代替(两个字符时只显示第一个)

Parameters

mixed $user_name
mixed $head
mixed $foot

Returns

string —

格式化后的姓名

TakeMultipleNames()

TakeMultipleNames(mixed  $value) : mixed

Parameters

mixed $value

Returns

mixed —

TemConf()

TemConf( $name, mixed  $type = 1, mixed  $state = 1) : mixed

Parameters

$name

模板配置读取

mixed $type
mixed $state

Returns

mixed —

test()

test(array  $arr, string  $msg = '', bool  $Data = false) : mixed

Parameters

array $arr
string $msg
bool $Data

参数验证

Returns

mixed —

TimeLag()

TimeLag( $startdate, int  $enddate = -1) : mixed

Parameters

$startdate

开始时间

int $enddate

结束时间 返回两者之间相差多少秒

Returns

mixed —

TokenCreate()

TokenCreate( $vals = '1') : mixed

Parameters

$vals

混淆函数 生成唯一token参数!

Returns

mixed —

UpgradeDataCalibreModel()

UpgradeDataCalibreModel() : bool

Returns

bool —

升级数据校准模块,每次升级完成后自动校准数据库!

UrlExtA()

UrlExtA(mixed  $Url) : mixed

Parameters

mixed $Url

Returns

mixed —

URLExtraction()

URLExtraction(mixed  $Url) : mixed

在字符串内提取出URL 单个!

Parameters

mixed $Url

Returns

mixed —

uRShift()

uRShift(mixed  $a, mixed  $b) : mixed

Parameters

mixed $a
mixed $b

Returns

mixed —

UserImage()

UserImage(false|array  $User = false) : mixed

Parameters

false|array $User

获取用户头像

Returns

mixed —

userip()

userip(int  $type) : mixed

Parameters

int $type

Returns

mixed —

获取当前来访域名ip 和用户ip

userlog()

userlog( $name,  $content,  $uid,  $count) : bool

Parameters

$name

//日志名称

$content

//日志内容

$uid

//用户ID

$count

//相关数量

Returns

bool —

用户日志写入

UserLoginData()

UserLoginData() : array

用户登录数据

Returns

array —

UserRechargePrice()

UserRechargePrice(mixed  $Data) : mixed

Parameters

mixed $Data

Returns

mixed —

utf8_decode()

utf8_decode(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

utf8_encode()

utf8_encode(mixed  $string) : mixed

Parameters

mixed $string

Returns

mixed —

XHSID()

XHSID( $Url) : array

Parameters

$Url

Returns

array —

获取小红书ID

xiaochu_de()

xiaochu_de( $string, string  $skey = 'xiaochuyun') : false|string

Parameters

$string
string $skey

Returns

false|string —

数据解密函数

xiaochu_en()

xiaochu_en(mixed  $string, mixed  $skey = 'xiaochuyun') : string

Parameters

mixed $string
mixed $skey

Returns

string —

数据加密函数