mirror of
http://124.126.16.154:8888/singularity/hdk-pay.git
synced 2026-01-15 07:35:09 +08:00
feat(RechargeProductRepoInterface): 添加查找 FTAI 产品的方法
- 在 RechargeProductRepoInterface接口中添加了 findFtaiProduct 方法 - 新方法用于根据 UID 和点数类型查找 FTAI 产品 - 引入了 PointType 枚举类
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
namespace Singularity\HDK\Pay\Domain\Product\Repository;
|
||||
|
||||
use Singularity\HDK\Pay\Domain\Account\Enum\PointType;
|
||||
use Singularity\HDK\Pay\Domain\Product\Aggregate\RechargeProduct;
|
||||
|
||||
interface RechargeProductRepoInterface
|
||||
@@ -23,4 +24,11 @@ interface RechargeProductRepoInterface
|
||||
* @return RechargeProduct
|
||||
*/
|
||||
public function findEmaProduct(string $uid): RechargeProduct;
|
||||
|
||||
/**
|
||||
* @param string $uid
|
||||
* @param PointType $pointType
|
||||
* @return RechargeProduct
|
||||
*/
|
||||
public function findFtaiProduct(string $uid, PointType $pointType): RechargeProduct;
|
||||
}
|
||||
Reference in New Issue
Block a user