|
|
|
|
|
|
|
|
.into(binding.image2); |
|
|
.into(binding.image2); |
|
|
} |
|
|
} |
|
|
//车身45°照 |
|
|
//车身45°照 |
|
|
if (!TextUtils.isEmpty(bizContent1.getVehBodyUrl())) { |
|
|
|
|
|
imgUrl3 = bizContent1.getVehBodyUrl().replace("http://192.168.101.145:9000",MyRetrofit.Urls); |
|
|
|
|
|
|
|
|
if (!TextUtils.isEmpty(bizContent1.returnUrl)) { |
|
|
|
|
|
// imgUrl3 = bizContent1.getVehBodyUrl().replace("http://192.168.101.145:9000",MyRetrofit.Urls); |
|
|
|
|
|
imgUrl3 = bizContent1.returnUrl.replace("http://192.168.101.145:9000",MyRetrofit.Urls); |
|
|
GlideApp.with(getActivity()) |
|
|
GlideApp.with(getActivity()) |
|
|
.load(imgUrl3) |
|
|
.load(imgUrl3) |
|
|
.into(binding.image3); |
|
|
.into(binding.image3); |
|
|
|
|
|
|
|
|
FileUtils.getInstance(this).uploadGeneralImage(true, null, new FileUtils.OnUploadCallback() { |
|
|
FileUtils.getInstance(this).uploadGeneralImage(true, null, new FileUtils.OnUploadCallback() { |
|
|
@Override |
|
|
@Override |
|
|
public void onSuccess(ResultBean.ProductInfo bizContent) { |
|
|
public void onSuccess(ResultBean.ProductInfo bizContent) { |
|
|
String url = bizContent.data.getUrl().replace("http://192.168.101.145:9000",MyRetrofit.Urls); |
|
|
|
|
|
|
|
|
String url = bizContent.data.returnUrl.replace("http://192.168.101.145:9000",MyRetrofit.Urls); |
|
|
if (!TextUtils.isEmpty(url)) { |
|
|
if (!TextUtils.isEmpty(url)) { |
|
|
imgUrl3 = url; |
|
|
imgUrl3 = url; |
|
|
GlideApp.with(getActivity()).load(url).into((ImageView) view); |
|
|
GlideApp.with(getActivity()).load(url).into((ImageView) view); |