Commit 8613a665 by 杨树贤

修复附件上传

parent 3ff71074
......@@ -60,10 +60,6 @@ class SupplierAttachmentService
}
$attachments = [];
foreach ($attachmentData['file_name'] as $key => $value) {
//最后一个跳过,因为是模板里的数据
if ($key == (count($attachmentData['file_name']) - 1)) {
continue;
}
$attachment = [
'supplier_id' => $supplierId,
'file_name' => $attachmentData['file_name'][$key],
......
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 sign in to comment