图片专用 Image,在火车头采集中能以图片地址的形式入库吗 迅睿框架 更新 2024-06-20 15:21:11 求知若渴虚心若愚 图片专用 Image,在火车头采集中能以图片地址的形式入库吗,例如 ["/uploadfile/202405/1.jpg","/uploadfile/202405/2.jpg","/uploadfile/202405/3.jpg"]如果不能,有其他办法吗
$rt = \Phpcmf\Service::L('upload')->down_file([ 'url' => (string)$thumb[0], 'attachment' => \Phpcmf\Service::M('Attachment')->get_attach_info(intval($field['content']['setting']['option']['attachment'])), ]);自己处理数据,先上传到附件,根据返回的值,自己按照数据库字段类型转化存储