Commit 6e931880 by 杨树贤

修复bug

parent bc120047
......@@ -38,7 +38,8 @@ class SupplierAttachmentService
$attachment['create_uid'] = request()->user->userId;
$attachment['create_name'] = request()->user->name;
$attachment['create_time'] = time();
return $attachmentModel->insertGetId($attachment);
$attachmentModel->insertGetId($attachment);
return $attachment['supplier_id'];
} else {
$attachment['update_time'] = time();
return $attachmentModel->where('attachment_id', $attachmentId)->update($attachment)?$attachment['supplier_id']:0;
......
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