add contract for product and refund parse

This commit is contained in:
2026-03-05 10:07:51 +08:00
parent d93fdee203
commit 4c49c2b71c
9 changed files with 122 additions and 38 deletions
@@ -5,7 +5,6 @@ declare(strict_types=1);
namespace App\Platform;
use App\Entity\Parse\EntityParse;
use InvalidArgumentException;
/**
* 产品解析器抽象基类
@@ -15,5 +14,8 @@ use InvalidArgumentException;
*/
abstract class AbstractProductParse extends EntityParse implements ProductContract
{
/**
* 获取产品状态 ID(抽象方法,由子类实现)
*/
abstract public function getProductStatusId(string $platform_status): int;
}