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
+9 -1
View File
@@ -12,5 +12,13 @@ namespace App\Platform;
*/
interface ProductContract
{
/**
* 获取产品状态 ID
*
* 将平台产品状态映射到本地 ProductStatus 枚举
*
* @param string $platform_status 平台状态字符串
* @return int 本地产品状态 ID
*/
public function getProductStatusId(string $platform_status): int;
}