调整短信日志
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
3aed92ce92
commit
7359174600
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user