正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -23,7 +23,7 @@ class TemplateModule extends Base | @@ -23,7 +23,7 @@ class TemplateModule extends Base | ||
| 23 | * @time :2023/8/3 16:17 | 23 | * @time :2023/8/3 16:17 |
| 24 | */ | 24 | */ |
| 25 | public function setImageAttribute($value){ | 25 | public function setImageAttribute($value){ |
| 26 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(basename($value), true) . PHP_EOL, FILE_APPEND); | 26 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('2222---------'.basename($value), true) . PHP_EOL, FILE_APPEND); |
| 27 | $this->attributes['image'] = basename($value); | 27 | $this->attributes['image'] = basename($value); |
| 28 | } | 28 | } |
| 29 | 29 | ||
| @@ -35,7 +35,7 @@ class TemplateModule extends Base | @@ -35,7 +35,7 @@ class TemplateModule extends Base | ||
| 35 | * @time :2023/8/3 16:17 | 35 | * @time :2023/8/3 16:17 |
| 36 | */ | 36 | */ |
| 37 | public function getImageAttribute($value){ | 37 | public function getImageAttribute($value){ |
| 38 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(getImageUrl($value), true) . PHP_EOL, FILE_APPEND); | 38 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('111111---------'.getImageUrl($value), true) . PHP_EOL, FILE_APPEND); |
| 39 | $value = getImageUrl($value); | 39 | $value = getImageUrl($value); |
| 40 | return $value; | 40 | return $value; |
| 41 | } | 41 | } |
-
请 注册 或 登录 后发表评论