Authored by tanling

no message

@@ -32,7 +32,7 @@ public class FastDeliveryProxyService { @@ -32,7 +32,7 @@ public class FastDeliveryProxyService {
32 public FastDeliverySellerAccessInfo getFastDeliverySellerInfo(int sellerUid){ 32 public FastDeliverySellerAccessInfo getFastDeliverySellerInfo(int sellerUid){
33 33
34 String sellerAccessInfoJSON = configReader.getString("ufo.fast.delivery.seller.access.info", ""); 34 String sellerAccessInfoJSON = configReader.getString("ufo.fast.delivery.seller.access.info", "");
35 - if (StringUtils.isEmpty(sellerAccessInfoJSON)){ 35 + if (StringUtils.isNotBlank(sellerAccessInfoJSON)){
36 try{ 36 try{
37 JSONObject jsonObject = JSONObject.parseObject(sellerAccessInfoJSON); 37 JSONObject jsonObject = JSONObject.parseObject(sellerAccessInfoJSON);
38 return jsonObject.getObject(String.valueOf(sellerUid), FastDeliverySellerAccessInfo.class); 38 return jsonObject.getObject(String.valueOf(sellerUid), FastDeliverySellerAccessInfo.class);