Skip to content

Commit e2e2272

Browse files
binarywangCopilot
andauthored
Update weixin-java-pay/MULTI_APPID_USAGE.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent efce8df commit e2e2272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-pay/MULTI_APPID_USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ boolean success = payService.switchover("1234567890");
7676
**注意**:当使用仅商户号切换时,会按照以下逻辑查找配置:
7777
1. 先尝试精确匹配商户号(针对只配置商户号、没有 appId 的情况)
7878
2. 如果未找到,则尝试前缀匹配(查找以 `商户号_` 开头的配置)
79-
3. 如果有多个匹配项,返回找到的第一个
79+
3. 如果有多个匹配项,将返回其中任意一个匹配项,具体选择结果不保证稳定或可预测,如需确定性行为请使用精确匹配方式(同时指定商户号和 appId)
8080

8181
#### 方式三:链式调用
8282

0 commit comments

Comments
 (0)