msopen/doc/5.0/cms-content图片转化.sql

5 lines
141 B
MySQL
Raw Normal View History

2019-12-27 15:56:21 +08:00
UPDATE cms_content
SET content_img = concat( '[{"path":"', content_img, '"}]' )
WHERE
content_img IS NOT NULL
AND trim( content_img ) != ''