@startuml start :校验入参:物流单号、物流商编码、物流费用; :计算灰度切流值; note right: 灰度规则以物流单号维度灰度\n灰度开关为0走老流程 if(命中新链路)then (yes) :走新链路; else (no) :走老链路; :返回未命中标识; end endif :调用复核流程; :......; @enduml 效果图如下:
@startuml start :校验入参:物流单号、物流商编码、物流费用; :计算灰度切流值; note right: 灰度规则以物流单号维度灰度\n灰度开关为0走老流程 if(命中新链路)then (yes) :走新链路; else (no) :走老链路; :返回未命中标识; end endif :调用复核流程; :......; @enduml
效果图如下: