1.字符串
1.1 修改表字段内容
update wx_portal_channel_img
set pic_url = concat('http://taikang.com', substring(pic_url, locate('fileId=', pic_url) + 7, 36));
1.2 截取字符串
截取xxx.png文件名后缀
select substring('xxx.png', locate('.', 'xxx.png') + 1);
select substring_index('xxx.png', '.', -1);