Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-collect
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
汪伟伟
data-collect
Commits
ee060a49
Commit
ee060a49
authored
Jan 15, 2024
by
汪伟伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
img
parent
bba7cb61
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
app/Admin/Controllers/TasksOrderController.php
+2
-2
config/admin.php
+1
-1
config/filesystems.php
+7
-0
public/uploads/images/f8dbf5f123ebf0049ab5a80f47edc697.jpg
+0
-0
No files found.
app/Admin/Controllers/TasksOrderController.php
View file @
ee060a49
...
...
@@ -51,7 +51,7 @@ class TasksOrderController extends AdminController
<div style='padding: 10px;margin-right: 7%'>结算日期:
$order->time
</div>
<div style='padding: 10px;margin-right: 7%'>数据条数:
$count
</div>
<div style='padding: 10px;margin-right: 7%'>总金额:
$order->amount
</div>
<div style='padding: 10px;'>转账图链接:
$order->pay_img
</div>
<div style='padding: 10px;'>转账图链接:
<a target='_blank' href=
$order->pay_img
>
$order->pay_img
</a>
</div>
</div>"
;
});
...
...
@@ -259,7 +259,7 @@ class TasksOrderController extends AdminController
// $form->text('time');
// $form->text('num');
// $form->text('amount');
$form
->
text
(
'pay_img'
);
$form
->
image
(
'pay_img'
)
->
autoUpload
()
->
uniqueName
()
->
saveFullUrl
()
->
override
(
);
// $form->text('status');
// $form->display('created_at');
...
...
config/admin.php
View file @
ee060a49
...
...
@@ -255,7 +255,7 @@ return [
'upload'
=>
[
// Disk in `config/filesystem.php`.
'disk'
=>
'
public
'
,
'disk'
=>
'
admin
'
,
// Image and file upload path under the disk above.
'directory'
=>
[
...
...
config/filesystems.php
View file @
ee060a49
...
...
@@ -30,6 +30,13 @@ return [
'disks'
=>
[
'admin'
=>
[
'driver'
=>
'local'
,
'root'
=>
public_path
(
'uploads'
),
'visibility'
=>
'public'
,
'url'
=>
env
(
'APP_URL'
)
.
'/uploads'
,
],
'local'
=>
[
'driver'
=>
'local'
,
'root'
=>
storage_path
(
'app'
),
...
...
public/uploads/images/f8dbf5f123ebf0049ab5a80f47edc697.jpg
0 → 100644
View file @
ee060a49
325 KB
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