From 73591746000f07180abc1a04ff457aa08258c719 Mon Sep 17 00:00:00 2001 From: vilson <545522390@qq.com> Date: Fri, 12 Jul 2019 11:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=9F=AD=E4=BF=A1=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vilson <545522390@qq.com> --- extend/sms/Sms.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extend/sms/Sms.php b/extend/sms/Sms.php index 86b0707..10fce61 100644 --- a/extend/sms/Sms.php +++ b/extend/sms/Sms.php @@ -18,7 +18,6 @@ class Sms extends EasySms public function __construct() { parent::__construct(config('sms.')); - Log::init(['path' => 'log/sms']); } /** @@ -42,7 +41,7 @@ class Sms extends EasySms // Log::write($e->getResults(), "sms-exception"); return error(1); } - Log::write($result, "sms"); + logRecord($result, 'info', 'sms'); return $result; } }