You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
### 作用
|
|
|
|
|
|
|
|
|
|
为了解决同一个流程不同业务有不同处理逻辑而产生,减少代码中 if else 逻辑,降低代码的耦合性,通过统一的扩展形式来支撑业务的变化。
|
|
|
|
|
|
|
|
|
|
### 原理
|
|
|
|
|
|
|
|
|
|
https://blog.csdn.net/significantfrank/article/details/100074716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 使用介绍
|
|
|
|
|
|
|
|
|
|
参考测试代码 `cn.iocoder.yudao.framework.extension.ExtensionTest`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|