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

Commit 479c3ffd authored by 胡佳晨's avatar 胡佳晨

修改 快递价格 只支持整形

parent 27531d48
......@@ -725,13 +725,13 @@ public class GoblinRedisUtils {
}
//获取快递费
public BigDecimal getExpressPrice(){
public BigDecimal getExpressPrice() {
String rdk = GoblinRedisConst.GOBLIN_EXPRESS_PRICE;
Object obj = redisUtil.get(rdk);
if (obj == null) {
return BigDecimal.TEN;
} else {
return (BigDecimal) obj;
return BigDecimal.valueOf((int) obj);
}
}
}
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