初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
w
|
||||
<?php
|
||||
|
||||
namespace addons\epay\library\Yansongda\Pay\Contracts;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use addons\epay\library\Yansongda\Supports\Collection;
|
||||
|
||||
interface GatewayInterface
|
||||
{
|
||||
/**
|
||||
* Pay an order.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param string $endpoint
|
||||
*
|
||||
* @return Collection|Response
|
||||
*/
|
||||
public function pay($endpoint, array $payload);
|
||||
}
|
||||
Reference in New Issue
Block a user