Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
blind-box-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
blind-box-api
Commits
bea8443e
Commit
bea8443e
authored
Mar 07, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1ba5fd99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
app/Admin/Controllers/BlindBoxListController.php
+7
-1
No files found.
app/Admin/Controllers/BlindBoxListController.php
View file @
bea8443e
...
@@ -112,7 +112,13 @@ protected function form()
...
@@ -112,7 +112,13 @@ protected function form()
$form
->
display
(
'created_at'
);
$form
->
display
(
'created_at'
);
$form
->
display
(
'updated_at'
);
$form
->
display
(
'updated_at'
);
$form
->
saving
(
function
(
Form
$form
)
{
$form
->
saving
(
function
(
Form
$form
)
{
$form
->
project_icon
=
url
(
"/uploads/
$form->project_icon
"
);
$env
=
'1'
;
if
(
$env
==
'dev'
)
{
$form
->
project_icon
=
url
(
"/uploads/
$form->project_icon
"
);
}
else
{
# 线上环境
$form
->
project_icon
=
url
(
"/storage/
$form->project_icon
"
);
}
});
});
$form
->
saved
(
function
(
Form
$form
,
$result
)
{
$form
->
saved
(
function
(
Form
$form
,
$result
)
{
// 自增ID
// 自增ID
...
...
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