两种通道都增加身份证号必填
This commit is contained in:
@@ -69,7 +69,7 @@ class QytConfig
|
||||
* 叠加企业级参数,得到某个企业实际使用的完整配置
|
||||
*
|
||||
* @param EnterpriseModel|array $enterprise
|
||||
* @return array 额外带 enterprise_id / enterprise_name / passageway_code / require_id_card
|
||||
* @return array 额外带 enterprise_id / enterprise_name / passageway_code / passageway_name
|
||||
*/
|
||||
public static function forEnterprise($enterprise): array
|
||||
{
|
||||
@@ -86,8 +86,6 @@ class QytConfig
|
||||
$conf['passageway_code'] = EnterpriseModel::PASSAGEWAY_CODE[$passageway];
|
||||
$conf['passageway_name'] = EnterpriseModel::PASSAGEWAY_NAME[$passageway];
|
||||
$conf['institution_id'] = (string) ($e['institution_id'] ?? '');
|
||||
// 平安银行通道要求实名
|
||||
$conf['require_id_card'] = $passageway === 'pingan';
|
||||
|
||||
// 以下留空则回落接入方级默认值
|
||||
foreach (['app_id', 'no_prefix', 'voucher_name'] as $k) {
|
||||
|
||||
Reference in New Issue
Block a user