assemblyInfo method
配置图片基本信息
url
原图片地址
Implementation
String assemblyInfo(String url) {
var type = _checkUrl(url);
if (type == 2) {
return url;
} else if (type == 3) {
var index = url.indexOf("?");
url = url.substring(0, index);
}
if (url.suffixName == "gif") {
return url;
}
var urlBuffer = StringBuffer(url);
urlBuffer..write("?x-oss-process=image/info");
return urlBuffer.toString();
}