vendor/codeages/omnipay-wechatpay/src/BaseAbstractGateway.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace Omnipay\WechatPay;
abstract class BaseAbstractGateway extends \Omnipay\Common\AbstractGateway
{
public function setTradeType($tradeType)
{
$this->setParameter('trade_type', $tradeType);
}
public function setAppId($appId)
{
$this->setParameter('app_id', $appId);
}
public function getAppId()
{
return $this->getParameter('app_id');
}
public function setApiKey($apiKey)
{
$this->setParameter('api_key', $apiKey);
}
public function getApiKey()
{
return $this->getParameter('api_key');
}
public function setMchId($mchId)
{
$this->setParameter('mch_id', $mchId);
}
public function getMchId()
{
return $this->getParameter('mch_id');
}
public function setNotifyUrl($url)
{
$this->setParameter('notify_url', $url);
}
public function getNotifyUrl()
{
return $this->getParameter('notify_url');
}
/**
* @return mixed
*/
public function getCertPath()
{
return $this->getParameter('cert_path');
}
/**
* @param mixed $certPath
*/
public function setCertPath($certPath)
{
$this->setParameter('cert_path', $certPath);
}
/**
* @return mixed
*/
public function getKeyPath()
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。