refactor(account): 优化点数日志仓库接口和实现类

- 在 PointLogRepoInterface 中添加了空行,提高代码可读性
- 在 PointLogRepo 中移除了未使用的 PointType 引用,减少冗余代码
This commit is contained in:
李东云
2025-08-27 17:04:40 +08:00
parent 738d225fd8
commit aa8742923c
2 changed files with 1 additions and 1 deletions

View File

@@ -18,4 +18,5 @@ interface PointLogRepoInterface
* @return PointLog[]
*/
public function getList(string $uid): array;
}

View File

@@ -14,7 +14,6 @@ namespace Singularity\HDK\Pay\Infrastructure\Repository;
use Carbon\Carbon;
use Hyperf\Codec\Json;
use Singularity\HDK\Pay\Domain\Account\Aggregate\PointLog\PointLog;
use Singularity\HDK\Pay\Domain\Account\Enum\PointType;
use Singularity\HDK\Pay\Domain\Account\Repository\PointLogRepoInterface;
final class PointLogRepo extends AbstractRepo implements PointLogRepoInterface