工厂模式 通过参数动态调用接口下实现类
对外只有一个接口,统一的情况下,内部系统使用完全没必要,多写几个control就可以了通过常量和枚举控制常量类public class CommentConstant { public static final Integer worker = 0; public static final Integer student = 1;}枚举public enum CommentEatEmun { WORKER(CommentConstant.worker),





