20200407:假如你们系统接收十几种报文,用什么方式对应的各自的service,总不能都用ifelse判断吧

福哥答案2020-04-08:

策略,工厂。

原文地址:https://www.cnblogs.com/waitmoon/p/13440540.html