-
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.
✨ (rule): 新增光大银行信用卡消费测试用例并优化规则解析逻辑 #611
- 新增测试用例 `光大银行信用卡消费2.txt`,覆盖中国石化消费场景 - 优化 `main.js` 中的规则解析逻辑,使用 `splitShop` 和 `isPaymentType` 工具函数简化代码 - 更新 `main.test.js`,添加新的测试数据以验证规则解析的正确性
- Loading branch information
1 parent
b3e0feb
commit dce8557
Showing
3 changed files
with
28 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"mMap":{"tableName":"AppMessage","description":"交易时间:2024年12月18日 10:10交易类型:尾号7558信用卡,消费\n交易金额:100元\n交易商户:中国石化销售股份有限公司安徽石油\n可用额度:36120.67元","source":"光大银行信用卡","t":1734487849087,"arg":"msgId","type":5,"appId":"","msgId":10305271,"title":"信用卡交易提醒"}} |