|
|
@@ -22,12 +22,11 @@ class ThirdPartyGoodCacheEnum extends CommonEnum
|
|
22
|
22
|
public static function platformCodeMapByThirdPartyGoodEnumTypeCode($type)
|
|
23
|
23
|
{
|
|
24
|
24
|
$map = [
|
|
25
|
|
- 1 => self::PLATFORM['Taobao']['code'],
|
|
26
|
|
- 2 => self::PLATFORM['Jingdong']['code'],
|
|
27
|
|
- 3 => self::PLATFORM['Pdd']['code'],
|
|
28
|
|
- 4 => self::PLATFORM['Suning']['code'],
|
|
29
|
|
- 5 => self::PLATFORM['Vipshop']['code'],
|
|
30
|
|
- 9 => self::PLATFORM['Douyin']['code']
|
|
|
25
|
+ 5 => self::PLATFORM['Taobao']['code'],
|
|
|
26
|
+ 6 => self::PLATFORM['Jingdong']['code'],
|
|
|
27
|
+ 1 => self::PLATFORM['Pdd']['code'],
|
|
|
28
|
+ 3 => self::PLATFORM['Suning']['code'],
|
|
|
29
|
+ 2 => self::PLATFORM['Vipshop']['code'],
|
|
31
|
30
|
];
|
|
32
|
31
|
return $map[$type];
|
|
33
|
32
|
}
|