Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

适配请求:com.tencent.mm #266

Closed
Disky opened this issue Sep 19, 2024 · 0 comments
Closed

适配请求:com.tencent.mm #266

Disky opened this issue Sep 19, 2024 · 0 comments

Comments

@Disky
Copy link

Disky commented Sep 19, 2024

{"mMap":{"tableName":"AppMessage","description":"交易类型:尾号2582-工资-人民币\n交易时间:09月15日 17:00\n交易对象:大夏公司\n交易金额:1696.49\n可用余额:428.97","source":"宁波银行","arg":"msgId","type":5,"appId":"","msgId":553241,"title":"交易提醒"}}
@github-actions github-actions bot added the DATA label Sep 19, 2024
@github-actions github-actions bot changed the title [Adaptation Request][DATA]com.tencent.mm 适配请求:com.tencent.mm Sep 19, 2024
AnkioTomas added a commit that referenced this issue Sep 19, 2024
- 添加宁波银行收入规则
- 收入类型为工资
- 交易对象为大夏公司
- 可通过 `main.test.js` 测试
- 添加 `宁波银行收入.txt` 用于测试数据
- 使用正则表达式匹配文本内容
- 解析匹配结果并构建 RuleObject 对象
- 使用 `formatDate` 函数格式化时间
- 使用 `toFloat` 函数格式化金额
- 使用 `testAnkio` 函数测试规则
- 使用 `Currency` 枚举类型表示币种
- 使用 `BillType` 枚举类型表示账单类型
- 使用 `RuleObject` 类构建账单对象
- 使用 `SOURCE_NAME_BOC` 定义银行名称
- 使用 `TITLES_BOC` 定义匹配标题
- 使用 `regexMapBOC` 定义正则表达式和处理函数映射
- 使用 `parseBOCText` 函数解析文本内容
- 使用 `get` 函数获取账单对象
- 使用 `testAnkioInit` 初始化测试环境
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants