Commit 660a23d9 authored by 王源's avatar 王源 🎧

优化

parent 09b20b60
......@@ -92,7 +92,7 @@ class Log
if (is_array($msg)) {
$msg = var_export($msg, true);
}
$channel = $arguments[1];
$channel = $arguments[1] ?? 'app';
return static::log($channel)->{$name}($msg);
}
......
......@@ -143,6 +143,7 @@ if (!function_exists('decimal_to_abc')) {
* 数字转换对应26个字母
* @param $num
* @return string
* @deprecated 此方法废弃,请使用int_to_chr()
*/
function decimal_to_abc($num)
{
......@@ -690,7 +691,7 @@ if (!function_exists('make_has_relation_function')) {
if (!function_exists('int_to_chr')) {
/**
* 数字转字母 (类似于Excel列标)
* @param $index 索引值
* @param mixed $index 索引值
* @param int $start 字母起始值
* @return string 返回字母
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment