Store the customized Shopro mall so it can be kept on the remote.

Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
wikiboss
2026-09-22 13:55:12 +08:00
当前提交 b87880e247
共有 2547 个文件被更改,包括 423496 次插入 和 0 次删除

查看文件

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Alipay;
class AlipayServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
{
$service = new Alipay();
Pay::set(Alipay::class, $service);
Pay::set('alipay', $service);
}
}

查看文件

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Douyin;
class DouyinServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
{
$service = new Douyin();
Pay::set(Douyin::class, $service);
Pay::set('douyin', $service);
}
}

查看文件

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Jsb;
class JsbServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
{
$service = new Jsb();
Pay::set(Jsb::class, $service);
Pay::set('jsb', $service);
}
}

查看文件

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Unipay;
class UnipayServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
{
$service = new Unipay();
Pay::set(Unipay::class, $service);
Pay::set('unipay', $service);
}
}

查看文件

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Yansongda\Pay\Service;
use Yansongda\Artful\Contract\ServiceProviderInterface;
use Yansongda\Artful\Exception\ContainerException;
use Yansongda\Pay\Pay;
use Yansongda\Pay\Provider\Wechat;
class WechatServiceProvider implements ServiceProviderInterface
{
/**
* @throws ContainerException
*/
public function register(mixed $data = null): void
{
$service = new Wechat();
Pay::set(Wechat::class, $service);
Pay::set('wechat', $service);
}
}