初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace addons\epay\library\Yansongda\Pay\Gateways\Alipay;
|
||||
|
||||
class WapGateway extends WebGateway
|
||||
{
|
||||
/**
|
||||
* Get method config.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*/
|
||||
protected function getMethod(): string
|
||||
{
|
||||
return 'alipay.trade.wap.pay';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get productCode config.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*/
|
||||
protected function getProductCode(): string
|
||||
{
|
||||
return 'QUICK_WAP_WAY';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user