Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
数据应用
ThinkLibrary
提交
9335b3be
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 搜索 >>
提交
9335b3be
编写于
7月 25, 2020
作者:
李光春
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 优化淘宝客
上级
e8c985a0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
6 deletion
+9
-6
CHANGELOG.md
CHANGELOG.md
+4
-1
src/common.php
src/common.php
+1
-1
src/facade/Times.php
src/facade/Times.php
+2
-2
src/service/taobao/TbkService.php
src/service/taobao/TbkService.php
+2
-2
未找到文件。
CHANGELOG.md
浏览文件 @
9335b3be
## v6.0.98 / 2020-07-25
## v6.0.100 / 2020-07-25
-
优化淘宝客
## v6.0.99 / 2020-07-25
-
优化时间门面,增加参数
## v6.0.98 / 2020-07-25
...
...
src/common.php
浏览文件 @
9335b3be
...
...
@@ -26,7 +26,7 @@ use think\db\exception\DbException;
/**
* 定义当前版本
*/
const
VERSION
=
'6.0.
99
'
;
const
VERSION
=
'6.0.
100
'
;
if
(
!
function_exists
(
'get_ip_info'
))
{
/**
...
...
src/facade/Times.php
浏览文件 @
9335b3be
...
...
@@ -37,8 +37,8 @@ use think\Facade;
* @method static string getTimeDifference(string $end_time, string $start_time) 计算两个时间差
* @method static string dateToTimestamp(string $date) 将指定日期转换为时间戳
* @method static string timestampToDate(int $time, string $format = "Y-m-d H:i:s") 将指定时间戳转换为日期
* @method static string dateRear(string $format = "Y-m-d H:i:s", int $mun = 10, int $time) 在某个时间之前的时间
* @method static string dateBefore(string $format = "Y-m-d H:i:s", int $mun = 10, int $time) 在某个时间之后的时间
* @method static string dateRear(string $format = "Y-m-d H:i:s", int $mun = 10, int $time
= 0
) 在某个时间之前的时间
* @method static string dateBefore(string $format = "Y-m-d H:i:s", int $mun = 10, int $time
= 0
) 在某个时间之后的时间
* @method static bool checkIsBetweenTime(string $start, string $end) 判断当前的时分是否在指定的时间段内
*/
class
Times
extends
Facade
...
...
src/service/taobao/TbkService.php
浏览文件 @
9335b3be
...
...
@@ -153,7 +153,7 @@ class TbkService extends Service
/**
* 订单查询 - 淘宝客-推广者-所有订单查询
* https://open.taobao.com/api.htm?spm=a2
e0r.13193907.0.0.210524ad2gvyOW&docId=40173
&docType=2
* https://open.taobao.com/api.htm?spm=a2
19a.7386797.0.0.263c669aWmp4ds&source=search&docId=43328
&docType=2
* @return $this
*/
public
function
orderDetailsGet
()
...
...
@@ -176,7 +176,7 @@ class TbkService extends Service
/**
* 处罚订单 - 淘宝客-推广者-处罚订单查询
* https://open.taobao.com/api.htm?spm=a2
e0r.13193907.0.0.210524ad2gvyOW&docId=42050
&docType=2
* https://open.taobao.com/api.htm?spm=a2
19a.7386797.0.0.120a669amFgNIC&source=search&docId=40121
&docType=2
* @return array|mixed
*/
public
function
dgPunishOrderGet
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录