|
...
|
...
|
@@ -12,6 +12,7 @@ class ProcessRecords extends Base |
|
|
|
protected $table = 'gl_project_process_records';
|
|
|
|
|
|
|
|
public function setRecordAttribute($value){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($value, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
foreach ($value as &$v){
|
|
|
|
foreach ($v['image'] as $kImage => $vImage){
|
|
|
|
$v['image'][$kImage] = basename($vImage);
|
|
...
|
...
|
@@ -20,6 +21,7 @@ class ProcessRecords extends Base |
|
|
|
$v['file'][$kFile] = basename($vFile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($value, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->attributes['record'] = Arr::a2s($value);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|