记得上下班打卡 | git大法好,push需谨慎

Commit 52891943 authored by 胡佳晨's avatar 胡佳晨

修改快递价格

parent ec0c0915
...@@ -35,6 +35,7 @@ public class KylinGetShunFengPriceController { ...@@ -35,6 +35,7 @@ public class KylinGetShunFengPriceController {
} }
}*/ }*/
Object obj = redisUtil.get(KylinRedisConst.RETURN_ADDRESS_CODE + adcode + KylinRedisConst.EXPRESS_TYPE + productCode); Object obj = redisUtil.get(KylinRedisConst.RETURN_ADDRESS_CODE + adcode + KylinRedisConst.EXPRESS_TYPE + productCode);
log.error("[ERROR-DATA]=" + KylinRedisConst.RETURN_ADDRESS_CODE + adcode + KylinRedisConst.EXPRESS_TYPE + productCode);
if (obj != null) { if (obj != null) {
KylinFreightChargeDao k = (KylinFreightChargeDao) obj; KylinFreightChargeDao k = (KylinFreightChargeDao) obj;
//运费为0元时返23元 //运费为0元时返23元
...@@ -44,7 +45,6 @@ public class KylinGetShunFengPriceController { ...@@ -44,7 +45,6 @@ public class KylinGetShunFengPriceController {
return ResponseDto.success(k.getPrice()); return ResponseDto.success(k.getPrice());
} else { } else {
//查询不到运费数据时返回23元 //查询不到运费数据时返回23元
log.error("[ERROR]=" + KylinRedisConst.RETURN_ADDRESS_CODE + adcode + KylinRedisConst.EXPRESS_TYPE + productCode);
return ResponseDto.success("23.00"); return ResponseDto.success("23.00");
// return ResponseDto.failure("查询失败"); // return ResponseDto.failure("查询失败");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment