|
@@ -349,11 +349,15 @@ class UserSignService
|
|
|
}
|
|
|
|
|
|
public static function signCallBackPushActivityInfo($uid,$distribution_channel_id){
|
|
|
+
|
|
|
$activity_setting = ActivityService::getActivitySetting();
|
|
|
if(!$activity_setting)
|
|
|
return false;
|
|
|
$acyivity_id = isset($activity_setting['activity_id'])?$activity_setting['activity_id']:0;
|
|
|
-
|
|
|
+ $other = env('OTHER_ACTIVITY_ID',0);
|
|
|
+ if($acyivity_id == $other && !in_array($distribution_channel_id,explode(',', env('OTHER_ACTIVITY_CHANNEL', '1')))){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if(!$acyivity_id)
|
|
|
return false;
|
|
|
$activity_title = isset($activity_setting['sign_call_back_text'])?$activity_setting['sign_call_back_text']:'';;
|