调整短信日志

Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
vilson 2019-07-12 11:32:54 +08:00
parent 3aed92ce92
commit 7359174600

View File

@ -18,7 +18,6 @@ class Sms extends EasySms
public function __construct() public function __construct()
{ {
parent::__construct(config('sms.')); parent::__construct(config('sms.'));
Log::init(['path' => 'log/sms']);
} }
/** /**
@ -42,7 +41,7 @@ class Sms extends EasySms
// Log::write($e->getResults(), "sms-exception"); // Log::write($e->getResults(), "sms-exception");
return error(1); return error(1);
} }
Log::write($result, "sms"); logRecord($result, 'info', 'sms');
return $result; return $result;
} }
} }