Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
workbiu-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gxx
workbiu-admin
Commits
e4cb6b33
Commit
e4cb6b33
authored
Dec 12, 2017
by
gxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看详情的链接
parent
6150569e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
FileService.php
app/Services/FileService.php
+0
-1
groupinformation.blade.php
resources/views/admin/group/groupinformation.blade.php
+1
-1
No files found.
app/Services/FileService.php
View file @
e4cb6b33
...
@@ -33,7 +33,6 @@ class FileService implements FileServiceContract
...
@@ -33,7 +33,6 @@ class FileService implements FileServiceContract
public
function
delete
(
$file_id
)
public
function
delete
(
$file_id
)
{
{
// TODO: Implement delete() method.
$file
=
File
::
where
([
"id"
=>
file_id
])
->
get
();
$file
=
File
::
where
([
"id"
=>
file_id
])
->
get
();
$result
=
$file
->
delete
();
$result
=
$file
->
delete
();
return
$result
;
return
$result
;
...
...
resources/views/admin/group/groupinformation.blade.php
View file @
e4cb6b33
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
<
td
>
{{
$file
->
folder_id
}}
</
td
>
<
td
>
{{
$file
->
folder_id
}}
</
td
>
<
td
>
{{
$file
->
fileInProject
->
name
}}
</
td
>
<
td
>
{{
$file
->
fileInProject
->
name
}}
</
td
>
<
td
>
{{
$file
->
fileCreator
->
user_name
}}
</
td
>
<
td
>
{{
$file
->
fileCreator
->
user_name
}}
</
td
>
<
td
><
a
href
=
"
{
{
$file->id
}
}
"
class
=
"btn btn-info"
>
查看详情
</
a
>
<
td
><
a
href
=
"{{
route('file.get',['id' =>
$file->id
])
}}"
class
=
"btn btn-info"
>
查看详情
</
a
>
<
a
href
=
"
{
{$file->id}
}
"
class
=
"btn bg-orange"
>
删除
</
a
>
<
a
href
=
"
{
{$file->id}
}
"
class
=
"btn bg-orange"
>
删除
</
a
>
</
td
>
</
td
>
</
tr
>
</
tr
>
...
...
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