|
|
|
@@ -417,9 +417,11 @@ public class WxMerchantServiceImpl implements WxMerchantService { |
|
|
|
return new ResultData(ErrorCode.MERCHANT_INFO_NOT_FOUND); |
|
|
|
} |
|
|
|
//更新商户 |
|
|
|
List<String> coverPicture = JSONArray.parseArray(wxMerchant.getCoverPicture(), String.class); |
|
|
|
if (!coverPicture.isEmpty()) { |
|
|
|
wxMerchant.setImgUrl(coverPicture.get(0)); |
|
|
|
if (StringUtils.isNotEmpty(wxMerchant.getCoverPicture())) { |
|
|
|
List<String> coverPicture = JSONArray.parseArray(wxMerchant.getCoverPicture(), String.class); |
|
|
|
if (!coverPicture.isEmpty()) { |
|
|
|
wxMerchant.setImgUrl(coverPicture.get(0)); |
|
|
|
} |
|
|
|
} |
|
|
|
Date date = new Date(); |
|
|
|
wxMerchant.setUpdateDate(date); |
|
|
|
|