策略模式代替大量的if else
摘要:原代码public class Example { public Double calRecharge(Double charge, RechargeTypeEnum type) { if (type.equals(RechargeTypeEnum.E_BANK)) { ...
阅读全文
posted @ 2015-06-18 15:00
posted @ 2015-06-18 15:00
Proxy Pass 匹配规则连个请求路径都不写?