feat(domain): 新增账户余额和积分相关实体及接口

- 添加了 PointsBalance、AccountBalance、PointType 等实体类
- 新增了 AccountRepoInterface 接口及其实现类 AccountBalanceRepo
- 引入了 Carbon库用于处理时间相关的逻辑
- 删除了未使用的 WechatService 类
- 更新了 ConfigProvider 以注册新的 Repository
- 修改了 composer.json 和 composer.lock 文件,添加了新的依赖
This commit is contained in:
李东云
2025-08-18 09:49:21 +08:00
parent 7f7fe100e7
commit 3d91f76dc0
16 changed files with 844 additions and 34 deletions

View File

@@ -15,6 +15,7 @@
},
"require": {
"php": ">=8.2",
"ext-bcmath": "*",
"composer/composer": ">=2.7.7",
"hyperf/config": "~3.1.0",
"hyperf/constants": "3.1.*",
@@ -23,13 +24,15 @@
"hyperf/guzzle": "3.1.*",
"hyperf/http-server": "3.1.*",
"moneyphp/money": "^4.1",
"nesbot/carbon": "*",
"singularity/hdk-core": "^1.0.0"
},
"require-dev": {
"firebase/php-jwt": "^6.8.0",
"hyperf/testing": "^3.1",
"friendsofhyperf/pest-plugin-hyperf": "3.1.*",
"swoole/ide-helper": "^4.8.13"
"swoole/ide-helper": "^4.8.13",
"nesbot/carbon": "^2.0"
},
"minimum-stability": "beta",
"prefer-stable": true,