Config.php
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?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 = '/tmp/logs/tenpay';
/**
* @var string 日志等级
*/
var $logLevel = 4; // 记录错误日志
}