Commit ee060a49 by 汪伟伟

img

parent bba7cb61
......@@ -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');
......
......@@ -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' => [
......
......@@ -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'),
......
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 to comment