SELECT JSON_EXTRACT(title_image,'$.imageUrl') as cc from housing_investment ;
title_image 字段结构:
[{"imageType":0,"imageUrl":"string","name":"string","thumbnailUrl":"string","uid":"string"}]
建表语句
CREATE TABLE housing_investment
(
title_image
text COLLATE utf8mb4_bin COMMENT '标题图片',
show_image
text COLLATE utf8mb4_bin COMMENT '展示图',