Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
数据应用
ThinkLibrary
提交
5b33f9d7
T
ThinkLibrary
项目概览
数据应用
/
ThinkLibrary
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
代码片段
项目成员
Pages
T
ThinkLibrary
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5b33f9d7
编写于
4月 20, 2021
作者:
李光春
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 优化
上级
c4922df3
变更
81
隐藏空白更改
内联
并排
Showing
81 changed file
with
333 addition
and
247 deletion
+333
-247
README.md
README.md
+0
-1
src/ApiController.php
src/ApiController.php
+0
-3
src/Controller.php
src/Controller.php
+0
-3
src/Helper.php
src/Helper.php
+0
-3
src/Library.php
src/Library.php
+34
-9
src/Service.php
src/Service.php
+0
-3
src/cache/Mysql.php
src/cache/Mysql.php
+0
-3
src/command/Install.php
src/command/Install.php
+0
-3
src/command/Version.php
src/command/Version.php
+0
-3
src/common.php
src/common.php
+0
-8
src/config.php
src/config.php
+0
-3
src/exception/DtaException.php
src/exception/DtaException.php
+0
-3
src/exception/ThinkException.php
src/exception/ThinkException.php
+0
-3
src/extend/ArraysExtend.php
src/extend/ArraysExtend.php
+188
-0
src/extend/CodeExtend.php
src/extend/CodeExtend.php
+91
-0
src/facade/Arrays.php
src/facade/Arrays.php
+0
-3
src/facade/Dates.php
src/facade/Dates.php
+0
-3
src/facade/Decimals.php
src/facade/Decimals.php
+0
-3
src/facade/Files.php
src/facade/Files.php
+0
-3
src/facade/Ints.php
src/facade/Ints.php
+0
-3
src/facade/Pregs.php
src/facade/Pregs.php
+0
-3
src/facade/Randoms.php
src/facade/Randoms.php
+0
-3
src/facade/Requests.php
src/facade/Requests.php
+0
-3
src/facade/Returns.php
src/facade/Returns.php
+0
-3
src/facade/Strings.php
src/facade/Strings.php
+0
-3
src/facade/Times.php
src/facade/Times.php
+0
-3
src/facade/UnIqIds.php
src/facade/UnIqIds.php
+0
-3
src/facade/Urls.php
src/facade/Urls.php
+0
-3
src/facade/Xmls.php
src/facade/Xmls.php
+0
-3
src/helper/Arrays.php
src/helper/Arrays.php
+20
-3
src/helper/Dates.php
src/helper/Dates.php
+0
-3
src/helper/Decimals.php
src/helper/Decimals.php
+0
-3
src/helper/Files.php
src/helper/Files.php
+0
-3
src/helper/Ints.php
src/helper/Ints.php
+0
-3
src/helper/Pregs.php
src/helper/Pregs.php
+0
-3
src/helper/Randoms.php
src/helper/Randoms.php
+0
-3
src/helper/Requests.php
src/helper/Requests.php
+0
-3
src/helper/Returns.php
src/helper/Returns.php
+0
-3
src/helper/Strings.php
src/helper/Strings.php
+0
-3
src/helper/Times.php
src/helper/Times.php
+0
-3
src/helper/UnIqIds.php
src/helper/UnIqIds.php
+0
-3
src/helper/Urls.php
src/helper/Urls.php
+0
-3
src/helper/ValidateHelper.php
src/helper/ValidateHelper.php
+0
-3
src/helper/Xmls.php
src/helper/Xmls.php
+0
-3
src/service/BeAryChatService.php
src/service/BeAryChatService.php
+0
-3
src/service/DingTalkService.php
src/service/DingTalkService.php
+0
-3
src/service/ExcelService.php
src/service/ExcelService.php
+0
-3
src/service/Ip/IpIpDistrictInfo.php
src/service/Ip/IpIpDistrictInfo.php
+0
-3
src/service/Ip/IpIpReader.php
src/service/Ip/IpIpReader.php
+0
-3
src/service/Ip/IpIpService.php
src/service/Ip/IpIpService.php
+0
-3
src/service/Ip/MapService.php
src/service/Ip/MapService.php
+0
-3
src/service/Ip/OnlineService.php
src/service/Ip/OnlineService.php
+0
-3
src/service/QqWryService.php
src/service/QqWryService.php
+0
-3
src/service/RouteService.php
src/service/RouteService.php
+0
-3
src/service/StorageService.php
src/service/StorageService.php
+0
-3
src/service/SystemService.php
src/service/SystemService.php
+0
-3
src/service/WorkKileService.php
src/service/WorkKileService.php
+0
-3
src/service/aliyun/OssService.php
src/service/aliyun/OssService.php
+0
-3
src/service/amap/AmApService.php
src/service/amap/AmApService.php
+0
-3
src/service/baidu/BosService.php
src/service/baidu/BosService.php
+0
-3
src/service/baidu/LbsYunService.php
src/service/baidu/LbsYunService.php
+0
-3
src/service/bt/ApiService.php
src/service/bt/ApiService.php
+0
-3
src/service/curl/BtService.php
src/service/curl/BtService.php
+0
-3
src/service/curl/HttpService.php
src/service/curl/HttpService.php
+0
-3
src/service/douyin/WatermarkService.php
src/service/douyin/WatermarkService.php
+0
-3
src/service/huaweicloud/ObsService.php
src/service/huaweicloud/ObsService.php
+0
-3
src/service/jd/UnionService.php
src/service/jd/UnionService.php
+0
-3
src/service/jdcloud/VientianeService.php
src/service/jdcloud/VientianeService.php
+0
-3
src/service/ksyun/Ks3Service.php
src/service/ksyun/Ks3Service.php
+0
-3
src/service/kuaishou/WatermarkService.php
src/service/kuaishou/WatermarkService.php
+0
-3
src/service/pinduoduo/JinBaoService.php
src/service/pinduoduo/JinBaoService.php
+0
-3
src/service/qiniu/KodoService.php
src/service/qiniu/KodoService.php
+0
-3
src/service/taobao/TbkService.php
src/service/taobao/TbkService.php
+0
-4
src/service/tencent/CosService.php
src/service/tencent/CosService.php
+0
-3
src/service/tencent/LbsService.php
src/service/tencent/LbsService.php
+0
-3
src/service/upyun/UssService.php
src/service/upyun/UssService.php
+0
-3
src/service/wechat/MiniService.php
src/service/wechat/MiniService.php
+0
-3
src/service/wechat/QyService.php
src/service/wechat/QyService.php
+0
-3
src/service/wechat/WebAppService.php
src/service/wechat/WebAppService.php
+0
-3
src/service/yytianqi/YyTiAnQiService.php
src/service/yytianqi/YyTiAnQiService.php
+0
-3
src/session/Mysql.php
src/session/Mysql.php
+0
-3
未找到文件。
README.md
浏览文件 @
5b33f9d7
...
...
@@ -9,7 +9,6 @@
[
![Total Downloads
](
https://poser.pugx.org/liguangchun/think-library/downloads
)
](https://packagist.org/packages/liguangchun/think-library)
[
![License
](
https://poser.pugx.org/liguangchun/think-library/license
)
](https://packagist.org/packages/liguangchun/think-library)
[
![PHP Version
](
https://img.shields.io/badge/php-%3E%3D7.1-8892BF.svg
)
](http://www.php.net/)
[
![Code Health
](
https://hn.devcloud.huaweicloud.com/codecheck/v1/codecheck/task/codehealth.svg?taskId=1567f5ea332546c3b45f4024cf50f10b
)
](https://hn.devcloud.huaweicloud.com/codecheck/project/c7ff3e2d65674858bd363cb43ee6c35e/codecheck/task/1567f5ea332546c3b45f4024cf50f10b/detail)
[
![Build Status
](
https://travis-ci.org/GC0202/ThinkLibrary.svg?branch=6.0
)
](https://travis-ci.org/GC0202/ThinkLibrary)
[
![Scrutinizer Code Quality
](
https://scrutinizer-ci.com/g/GC0202/ThinkLibrary/badges/quality-score.png?b=6.0
)
](https://scrutinizer-ci.com/g/GC0202/ThinkLibrary/?branch=6.0)
[
![Code Coverage
](
https://scrutinizer-ci.com/g/GC0202/ThinkLibrary/badges/coverage.png?b=6.0
)
](https://scrutinizer-ci.com/g/GC0202/ThinkLibrary/?branch=6.0)
...
...
src/ApiController.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/Controller.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/Helper.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/Library.php
浏览文件 @
5b33f9d7
...
...
@@ -11,28 +11,26 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
namespace
DtApp\ThinkLibrary
;
use
think\admin\service\AdminService
;
use
think\Request
;
use
think\Service
;
/**
* 模块注册服务
* Class Library
* @package DtApp\ThinkLibrary
*/
class
Library
extends
\
think\
Service
class
Library
extends
Service
{
/**
*
注册服务
*
定义当前版本
*/
public
function
register
()
{
}
const
VERSION
=
'6.0.131'
;
/**
* 启动服务
...
...
@@ -41,4 +39,31 @@ class Library extends \think\Service
{
}
/**
* 初始化服务
*/
public
function
register
()
{
// 输入默认过滤
$this
->
app
->
request
->
filter
([
'trim'
]);
// 判断访问模式,兼容 CLI 访问控制器
if
(
!
$this
->
app
->
request
->
isCli
())
{
// 注册访问处理中间键
$this
->
app
->
middleware
->
add
(
function
(
Request
$request
)
{
$header
=
[];
if
((
$origin
=
$request
->
header
(
'origin'
,
'*'
))
!==
'*'
)
{
$header
[
'Access-Control-Allow-Origin'
]
=
$origin
;
$header
[
'Access-Control-Allow-Methods'
]
=
'GET,PUT,POST,PATCH,DELETE'
;
$header
[
'Access-Control-Allow-Headers'
]
=
'Authorization,Content-Type,If-Match,If-Modified-Since,If-None-Match,If-Unmodified-Since,X-Requested-With,User-Form-Token,User-Token,Token'
;
$header
[
'Access-Control-Expose-Headers'
]
=
'User-Form-Token,User-Token,Token'
;
$header
[
'Access-Control-Allow-Credentials'
]
=
'true'
;
}
// 访问模式及访问权限检查
if
(
$request
->
isOptions
())
{
return
response
()
->
code
(
204
)
->
header
(
$header
);
}
},
'route'
);
}
}
}
src/Service.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/cache/Mysql.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/command/Install.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/command/Version.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/common.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
@@ -22,11 +19,6 @@ use DtApp\ThinkLibrary\exception\DtaException;
use
DtApp\ThinkLibrary\service\QqWryService
;
use
DtApp\ThinkLibrary\service\SystemService
;
/**
* 定义当前版本
*/
const
VERSION
=
'6.0.131'
;
if
(
!
function_exists
(
'get_ip_info'
))
{
/**
* 获取请求IP信息
...
...
src/config.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/exception/DtaException.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/exception/ThinkException.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/extend/ArraysExtend.php
0 → 100644
浏览文件 @
5b33f9d7
<?php
// +----------------------------------------------------------------------
// | ThinkLibrary 6.0 for ThinkPhP 6.0
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 [ https://www.dtapp.net ]
// +----------------------------------------------------------------------
// | 官方网站: https://gitee.com/liguangchun/ThinkLibrary
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
declare
(
strict_types
=
1
);
namespace
DtApp\ThinkLibrary\extend
;
/**
* 数组扩展
* Class ArraysExtend
* @package DtApp\ThinkLibrary\extend
*/
class
ArraysExtend
{
/**
* 数组随机返回一个下标
* @param array $array
* @return mixed
*/
public
static
function
rand
(
array
$array
)
{
return
array_rand
(
$array
);
}
/**
* 数组随机返回一个值
* @param array $array
* @return mixed
*/
public
static
function
randValue
(
array
$array
)
{
return
$array
[
array_rand
(
$array
)];
}
/**
* 分隔数组
* @param array $array 数组
* @param int $num 数量
* @return array
*/
public
static
function
split
(
array
$array
,
$num
=
5
):
array
{
$arrRet
=
array
();
if
(
!
isset
(
$array
)
||
empty
(
$array
))
{
return
$arrRet
;
}
$iCount
=
count
(
$array
)
/
$num
;
if
(
!
is_int
(
$iCount
))
{
$iCount
=
ceil
(
$iCount
);
}
else
{
++
$iCount
;
}
for
(
$i
=
0
;
$i
<
$iCount
;
++
$i
)
{
$arrInfos
=
array_slice
(
$array
,
$i
*
$num
,
$num
);
if
(
empty
(
$arrInfos
))
{
continue
;
}
$arrRet
[]
=
$arrInfos
;
unset
(
$arrInfos
);
}
return
$arrRet
;
}
/**
* 多维数组去重
* @param array $array
* @return array
*/
public
static
function
unique
(
array
$array
):
array
{
$out
=
array
();
foreach
(
$array
as
$key
=>
$value
)
{
if
(
!
in_array
(
$value
,
$out
,
true
))
{
$out
[
$key
]
=
$value
;
}
}
$out
=
array_values
(
$out
);
return
$out
;
}
/**
* 二维数组根据某个键排序
* @param array $arrays
* @param string $sort_key
* @param int $sort_order
* @param int $sort_type
* @return array
*/
public
static
function
sort
(
array
$arrays
,
string
$sort_key
,
$sort_order
=
SORT_ASC
,
$sort_type
=
SORT_NUMERIC
):
array
{
$key_arrays
=
array
();
if
(
is_array
(
$arrays
))
{
foreach
(
$arrays
as
$array
)
{
if
(
is_array
(
$array
))
{
$key_arrays
[]
=
$array
[
$sort_key
];
}
else
{
return
[];
}
}
}
else
{
return
[];
}
array_multisort
(
$key_arrays
,
$sort_order
,
$sort_type
,
$arrays
);
return
$arrays
;
}
/**
* 数组删除空格
* @param array $arr
* @return array
*/
public
static
function
trimArray
(
array
$arr
)
{
if
(
!
is_array
(
$arr
))
{
return
$arr
;
}
foreach
(
$arr
as
$key
=>
$value
)
{
if
(
is_array
(
$value
))
{
$arr
[
$key
]
=
self
::
TrimArray
(
$value
);
}
else
{
$arr
[
$key
]
=
self
::
trimAll
(
$value
);
}
}
return
$arr
;
}
/**
* 字符串删除空格
* @param $str
* @return string|string[]
*/
private
static
function
trimAll
(
$str
)
{
$oldchar
=
array
(
" "
,
" "
,
"
\t
"
,
"
\n
"
,
"
\r
"
);
$newchar
=
array
(
""
,
""
,
""
,
""
,
""
);
return
str_replace
(
$oldchar
,
$newchar
,
$str
);
}
/**
* 把json字符串或json对象转json数组
* @param $output
* @return array
*/
public
static
function
toArray
(
$output
):
array
{
if
(
is_array
(
$output
))
{
return
$output
;
}
if
(
is_object
(
$output
))
{
$output
=
json_encode
(
$output
,
JSON_UNESCAPED_UNICODE
);
}
return
json_decode
(
$output
,
true
);
}
/**
* @param $array
* @param $name
* @return array
*/
public
static
function
valChunk
(
$array
,
$name
):
array
{
$result
=
array
();
$ar2
=
[];
foreach
(
$array
as
$key
=>
$value
)
{
foreach
(
$array
as
$k
=>
$val
)
{
if
(
$value
[(
string
)(
$name
)]
==
$val
[(
string
)(
$name
)])
{
$ar2
[]
=
$val
;
}
}
$result
[
$value
[(
string
)(
$name
)]]
=
$ar2
;
$ar2
=
[];
}
return
$result
;
}
}
src/extend/CodeExtend.php
0 → 100644
浏览文件 @
5b33f9d7
<?php
// +----------------------------------------------------------------------
// | ThinkLibrary 6.0 for ThinkPhP 6.0
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 [ https://www.dtapp.net ]
// +----------------------------------------------------------------------
// | 官方网站: https://gitee.com/liguangchun/ThinkLibrary
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
declare
(
strict_types
=
1
);
namespace
DtApp\ThinkLibrary\extend
;
/**
* 随机数码管理扩展
* Class CodeExtend
* @package DtApp\ThinkLibrary\extend
*/
class
CodeExtend
{
/**
* 获取随机字符串编码
* @param integer $size 编码长度
* @param integer $type 编码类型(1纯数字,2纯字母,3数字字母)
* @param string $prefix 编码前缀
* @return string
* @throws \Exception
*/
public
static
function
random
(
int
$size
=
10
,
int
$type
=
1
,
string
$prefix
=
''
):
string
{
$numbs
=
'0123456789'
;
$chars
=
'abcdefghijklmnopqrstuvwxyz'
;
if
(
$type
===
1
)
{
$chars
=
$numbs
;
}
if
(
$type
===
3
)
{
$chars
=
"
{
$numbs
}{
$chars
}
"
;
}
$code
=
$prefix
.
$chars
[
random_int
(
1
,
strlen
(
$chars
)
-
1
)];
while
(
strlen
(
$code
)
<
$size
)
{
$code
.
=
$chars
[
random_int
(
0
,
strlen
(
$chars
)
-
1
)];
}
return
$code
;
}
/**
* 唯一日期编码
* @param integer $size 编码长度
* @param string $prefix 编码前缀
* @return string
* @throws \Exception
*/
public
static
function
uniqidDate
(
int
$size
=
16
,
string
$prefix
=
''
):
string
{
if
(
$size
<
14
)
{
$size
=
14
;
}
$code
=
$prefix
.
date
(
'Ymd'
)
.
(
date
(
'H'
)
+
date
(
'i'
))
.
date
(
's'
);
while
(
strlen
(
$code
)
<
$size
)
{
$code
.
=
random_int
(
0
,
9
);
}
return
$code
;
}
/**
* 唯一数字编码
* @param integer $size 编码长度
* @param string $prefix 编码前缀
* @return string
* @throws \Exception
*/
public
static
function
uniqidNumber
(
int
$size
=
12
,
string
$prefix
=
''
):
string
{
$time
=
time
()
.
''
;
if
(
$size
<
10
)
{
$size
=
10
;
}
$code
=
$prefix
.
((
int
)
$time
[
0
]
+
(
int
)
$time
[
1
])
.
substr
(
$time
,
2
)
.
random_int
(
0
,
9
);
while
(
strlen
(
$code
)
<
$size
)
{
$code
.
=
random_int
(
0
,
9
);
}
return
$code
;
}
}
\ No newline at end of file
src/facade/Arrays.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Dates.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Decimals.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Files.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Ints.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Pregs.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Randoms.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Requests.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Returns.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Strings.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Times.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/UnIqIds.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Urls.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/facade/Xmls.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Arrays.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
@@ -167,4 +164,24 @@ class Arrays
}
return
json_decode
(
$output
,
true
);
}
/**
* @param $array
* @return array
*/
public
function
valChunk
(
$array
,
$name
):
array
{
$result
=
array
();
$ar2
=
[];
foreach
(
$array
as
$key
=>
$value
)
{
foreach
(
$array
as
$k
=>
$val
)
{
if
(
$value
[
"
{
$name
}
"
]
==
$val
[
"
{
$name
}
"
])
{
$ar2
[]
=
$val
;
}
}
$result
[
$value
[
"
{
$name
}
"
]]
=
$ar2
;
$ar2
=
[];
}
return
$result
;
}
}
src/helper/Dates.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Decimals.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Files.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Ints.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Pregs.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Randoms.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Requests.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Returns.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Strings.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Times.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/UnIqIds.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Urls.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/ValidateHelper.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/helper/Xmls.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/BeAryChatService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/DingTalkService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/ExcelService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/Ip/IpIpDistrictInfo.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/Ip/IpIpReader.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/Ip/IpIpService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/Ip/MapService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/Ip/OnlineService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/QqWryService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/RouteService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/StorageService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/SystemService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/WorkKileService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/aliyun/OssService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/amap/AmApService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/baidu/BosService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/baidu/LbsYunService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/bt/ApiService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/curl/BtService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/curl/HttpService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/douyin/WatermarkService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/huaweicloud/ObsService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/jd/UnionService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/jdcloud/VientianeService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/ksyun/Ks3Service.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/kuaishou/WatermarkService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/pinduoduo/JinBaoService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/qiniu/KodoService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/taobao/TbkService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,16 +11,12 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
namespace
DtApp\ThinkLibrary\service\taobao
;
use
DtApp\ThinkLibrary\exception\DtaException
;
use
DtApp\ThinkLibrary\facade\Strings
;
use
DtApp\ThinkLibrary\facade\Times
;
use
DtApp\ThinkLibrary\Service
;
use
think\exception\HttpException
;
...
...
src/service/tencent/CosService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/tencent/LbsService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/upyun/UssService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/wechat/MiniService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/wechat/QyService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/wechat/WebAppService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/service/yytianqi/YyTiAnQiService.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
src/session/Mysql.php
浏览文件 @
5b33f9d7
...
...
@@ -11,9 +11,6 @@
// +----------------------------------------------------------------------
// | gitee 仓库地址 :https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 :https://github.com/GC0202/ThinkLibrary
// | gitlab 仓库地址 :https://gitlab.com/liguangchun/thinklibrary
// | weixin 仓库地址 :https://git.weixin.qq.com/liguangchun/ThinkLibrary
// | huaweicloud 仓库地址 :https://codehub-cn-south-1.devcloud.huaweicloud.com/composer00001/ThinkLibrary.git
// | Packagist 地址 :https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录