2019独角兽企业重金招聘Python工程师标准>>> update userinfo set photo=replace(photo,'http://localhost:8080/',''); 要实现把photo字段中的路径前面的域名去掉。 转载于:https://my.oschina.net/u/2348824/blog/544120