-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 使用 `isPaymentType` 函数统一处理交易类型判断,简化代码逻辑 - 更新测试用例中的 `type` 和 `channel` 字段以匹配新逻辑 - 移除冗余的 `switch` 语句,提高代码可维护性
- Loading branch information
1 parent
753922f
commit 0195636
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters