add contract for product and refund parse
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user