|
@@ -127,7 +127,11 @@ class HomeLogic extends BaseLogic
|
|
//获取用户
|
|
//获取用户
|
|
switch ($act["platform_type"]){
|
|
switch ($act["platform_type"]){
|
|
case 1://淘宝
|
|
case 1://淘宝
|
|
-
|
|
|
|
|
|
+ $platformSid = BaseUtil::getPlatformUserSpreadId(PlatformTypeEnum::PLATFORM_TAOBAO,$userId);
|
|
|
|
+ $response = TaobaoLianMengUtil::getActivityInfo($platformSid,$act->activity_id);
|
|
|
|
+ $res = [
|
|
|
|
+ "h5"=>$response["short_click_url"],
|
|
|
|
+ ];
|
|
break;
|
|
break;
|
|
case 2://拼多多
|
|
case 2://拼多多
|
|
$platformSid = BaseUtil::getPlatformUserSpreadId(PlatformTypeEnum::PLATFORM_PINGDUODUO,$userId);
|
|
$platformSid = BaseUtil::getPlatformUserSpreadId(PlatformTypeEnum::PLATFORM_PINGDUODUO,$userId);
|