Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1f1f3359
authored
Aug 13, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加通用函数以及系统配置文件
parent
1378434c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
.gitignore
app/helpers.php
config/system.php
.gitignore
View file @
1f1f3359
...
...
@@ -2,7 +2,7 @@
/public/hot
/public/storage
/storage/*.key
/storage
/
/storage
/vendor
/.idea
/.vagrant
...
...
app/helpers.php
0 → 100644
View file @
1f1f3359
<?php
function
ErrorCode
(
$code
=
0
,
$level
=
1
){
$systemcode
=
config
(
'system.code'
);
return
errCode
(
$code
,
$level
,
$systemcode
);
}
\ No newline at end of file
config/system.php
0 → 100644
View file @
1f1f3359
<?php
return
[
'code'
=>
env
(
'SYSTEM_CODE'
),
];
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment