HEX
Server: nginx
System: Linux 167746b7b9c4 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: www-data (1000)
PHP: 8.4.3
Disabled: NONE
Upload Files
File: /www/sites/cbgdh_com/index/wp-content/themes/onenav/vendor/yurunsoft/pay-sdk/src/RequestBase.php
<?php

namespace Yurun\PaySDK;

/**
 * 请求类基类.
 */
abstract class RequestBase
{
    /**
     * 接口请求方法.
     *
     * @var string
     */
    public $_method = 'POST';

    /**
     * 是否同步返回验证
     *
     * @var bool
     */
    public $_isSyncVerify = false;

    /**
     * Content-Type.
     *
     * @var string|null
     */
    public $_contentType = null;

    /**
     * 当调用SDK的execute时触发,返回true时不执行SDK中默认的执行逻辑.
     *
     * @param \Yurun\PaySDK\Base $sdk
     * @param string             $format 数据格式,json、xml等
     *
     * @return bool
     */
    public function __onExecute($sdk, $format)
    {
        return false;
    }
}