|
@@ -313,7 +313,9 @@ class CoflController extends Controller
|
|
|
->select('distribution_channels.id')
|
|
|
->whereIn('channel_users.id',explode(',',redisEnv('PROMOTION_GROUP_CHANNEL_USER_ID')))
|
|
|
->get()
|
|
|
- ->pluck('id');
|
|
|
+ ->pluck('id')
|
|
|
+ ->toArray();
|
|
|
+ \Log::info($inner_channels);
|
|
|
$users = User::where('openid',$openid)->select('id','distribution_channel_id')->get();
|
|
|
if($users->isEmpty()) return [0,0];
|
|
|
$temp = null;
|