<?php
 namespace Module\Vendor\Pay\Util; class PayConfigUtil { public static function boot() { try { if (modstart_config('payAlipayOn', false)) { config([ 'pay.alipay'=>[ 'partnerId' => modstart_config()->getWithEnv('payAlipayPartnerId'), 'sellerId' => modstart_config()->getWithEnv('payAlipaySellerId'), 'key' => modstart_config()->getWithEnv('payAlipayKey'), ] ]); } } catch (\Exception $e) { } } }