attach 为附件类型 分为三种 attach //单个附件 attach_i //单个附件显示为字符串 attach_s //多个附件 数据库里都是 json 数组 入库时 如果是attach,attach_i 为{url:'/sadfasdfasdf/asdfasdf.jpg'} 如果是attach_s 为[{url:'/sadfasdfasdf/asdfasdf.jpg'},{url:'/sadfasdfasdf/asdfasdf.jpg'}] 出库时 attach 为 {url:'/sadfasdfasdf/asdfasdf.jpg'} attach_i 为/sadfasdfasdf/asdfasdf.jpg attach_s 为[{url:'/sadfasdfasdf/asdfasdf.jpg'},{url:'/sadfasdfasdf/asdfasdf.jpg'}]