Commit 1f1f3359 by 杨树贤

添加通用函数以及系统配置文件

parent 1378434c
......@@ -2,7 +2,7 @@
/public/hot
/public/storage
/storage/*.key
/storage/
/storage
/vendor
/.idea
/.vagrant
......
<?php
function ErrorCode($code = 0, $level = 1){
$systemcode = config('system.code');
return errCode($code , $level , $systemcode);
}
\ No newline at end of file
<?php
return [
'code' => env('SYSTEM_CODE'),
];
\ No newline at end of file
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 sign in to comment