|
@@ -263,14 +263,16 @@ class policy extends ProviderManager implements IPolicy
|
|
|
$names[] = $provider->name();
|
|
|
}
|
|
|
|
|
|
+ Log::record("ProviderManager::get_providers result=" . implode(',',$names),Log::DEBUG);
|
|
|
+
|
|
|
//机构和通道,交叉设置过滤
|
|
|
[$card_paper, $channels] = $this->mMChannels->channels($mchid, $card_type, $cur_quality);
|
|
|
if ($card_paper === mtopcard\OilCardPaper || $card_paper === mtopcard\PhoneCardPaper) {
|
|
|
sort($names);
|
|
|
$names = array_intersect($names, $channels);
|
|
|
}
|
|
|
+ Log::record("mchannel::channels result=" . implode(',',$names),Log::DEBUG);
|
|
|
|
|
|
- Log::record("ProviderManager::get_providers result=" . implode(',',$names),Log::DEBUG);
|
|
|
[$hasGroup,$can_others,$channels] = $this->mGroupCtl->find_providers($mchid, $spec, $card_type, $cur_quality);
|
|
|
Log::record("GroupControl mchid={$mchid} spec={$spec} quality={$cur_quality} card_type={$card_type} first result=" . implode(',',$channels),Log::DEBUG);
|
|
|
if($hasGroup)
|