1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 20:52:44 +08:00
2021-03-30 11:05:07 +08:00

22 lines
426 B
PHP

<?php
namespace App\Services\Logic\Order;
use App\Services\Logic\Service as LogicService;
class PayProvider extends LogicService
{
public function handle()
{
$alipay = $this->getSettings('pay.alipay');
$wxpay = $this->getSettings('pay.wxpay');
return [
'alipay' => ['enabled' => $alipay['enabled']],
'wxpay' => ['enabled' => $wxpay['enabled']],
];
}
}