Config.php 1.24 KB
<?php

namespace WebPlugin\Pay\Tenpay;

class Config
{

    /**
     * 支付请求的地址
     * Enter description here ...
     * @var string
     */
    var $pay_url = "https://www.tenpay.com/cgi-bin/v1.0/pay_gate.cgi";

    /**
     * 业务代码,财付通支付接口用户填1
     * Enter description here ...
     * @var Integer
     */
    var $cmdno = 1;

    /**
     * 银行类型,财务通添0
     * Enter description here ...
     * @var Integer
     */
    var $bank_type = 0;

    /**
     * 商户ID
     * Enter description here ...
     * @var String
     */
    var $bargainor_id = "";

    /**
     * 商户Key
     * Enter description here ...
     * @var unknown_type
     */
    var $sp_key = "";

    /**
     * 接受财付通返回结果的url
     * Enter description here ...
     * @var unknown_type
     */
    var $return_url = "notice/tenpay";

    /**
     * 货币类型
     * Enter description here ...
     * @var unknown_type
     */
    var $fee_type = 1; //人民币


    /**
     * @var string 日志目录
     */
    var $logDir = '/Data/logs/pc_pay/tenpay';

    /**
     * @var string 日志等级
     */
    var $logLevel = 2; // 记录信息日志
}