assemblyInfoTx method

String assemblyInfoTx(
  1. String url
)

配置图片基本信息 url 原图片地址

Implementation

String assemblyInfoTx(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("?imageInfo");
  return urlBuffer.toString();
}