From 9335b3be861042afaacccf338fa203db037a4664 Mon Sep 17 00:00:00 2001 From: Chaim Date: Sat, 25 Jul 2020 17:48:53 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BC=98=E5=8C=96=E6=B7=98=E5=AE=9D?= =?UTF-8?q?=E5=AE=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 ++++- src/common.php | 2 +- src/facade/Times.php | 4 ++-- src/service/taobao/TbkService.php | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b08072c..535a5f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## v6.0.98 / 2020-07-25 +## v6.0.100 / 2020-07-25 +- 优化淘宝客 + +## v6.0.99 / 2020-07-25 - 优化时间门面,增加参数 ## v6.0.98 / 2020-07-25 diff --git a/src/common.php b/src/common.php index 4e23eb8..5c8fac4 100644 --- a/src/common.php +++ b/src/common.php @@ -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')) { /** diff --git a/src/facade/Times.php b/src/facade/Times.php index d6c8505..baa9b8a 100644 --- a/src/facade/Times.php +++ b/src/facade/Times.php @@ -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 diff --git a/src/service/taobao/TbkService.php b/src/service/taobao/TbkService.php index f8b2060..617f661 100644 --- a/src/service/taobao/TbkService.php +++ b/src/service/taobao/TbkService.php @@ -153,7 +153,7 @@ class TbkService extends Service /** * 订单查询 - 淘宝客-推广者-所有订单查询 - * https://open.taobao.com/api.htm?spm=a2e0r.13193907.0.0.210524ad2gvyOW&docId=40173&docType=2 + * https://open.taobao.com/api.htm?spm=a219a.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=a2e0r.13193907.0.0.210524ad2gvyOW&docId=42050&docType=2 + * https://open.taobao.com/api.htm?spm=a219a.7386797.0.0.120a669amFgNIC&source=search&docId=40121&docType=2 * @return array|mixed */ public function dgPunishOrderGet()