From c23dd058e65f5cdea571e1fd69d1f1cea9308135 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 29 Oct 2019 14:56:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E6=9D=A1=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/ToutiaoService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/service/ToutiaoService.php b/application/service/ToutiaoService.php index 629fdc37b..668b638d6 100644 --- a/application/service/ToutiaoService.php +++ b/application/service/ToutiaoService.php @@ -68,8 +68,8 @@ class ToutiaoService 'currency' => 'CNY', 'subject' => '订单支付', 'body' => $order['order_no'], - 'trade_time' => $order['add_time'], - 'valid_time' => (string) intval(MyC('common_order_close_limit_time', 30, true))*60, + 'trade_time' => (string) $order['add_time'], + 'valid_time' => (string) MyC('common_order_close_limit_time', 30, true)*60, 'notify_url' => __MY_URL__, ]; $order_info['sign'] = (new \base\Toutiao())->PaySignCreated($order_info, $secret);