Browse Source

定时任务

Silent 6 years ago
parent
commit
5caf5b4d11
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/SettingController.php

+ 1 - 0
app/Http/Controllers/Admin/SettingController.php

@@ -140,6 +140,7 @@ class SettingController extends Controller
 
 
         BaseAttachmentModel::create([
         BaseAttachmentModel::create([
             'path' => $full_path,
             'path' => $full_path,
+            'url' => $full_path,
             'name' => $name,
             'name' => $name,
             'class' => '分享图片测试',
             'class' => '分享图片测试',
             'size' => $size,
             'size' => $size,