init
This commit is contained in:
34
pay/config.php
Normal file
34
pay/config.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
require '../config.php';
|
||||
|
||||
$id = '10328'; //商户id www.ttfk.cc 获取
|
||||
$apikey = 'wjxrfmjxgm8ngmtn4w0th9luk21rpki9'; //商户密钥 www.ttfk.cc 获取
|
||||
|
||||
$yxm = $_CONFIG['game_name'];
|
||||
$bili = '1'; // 写2 就是双倍领取
|
||||
$pfid = $_CONFIG['pf_id'];
|
||||
|
||||
$wupin = array(
|
||||
//'1' => 'com.game191.icelegend10', // test
|
||||
'10' => 'com.game191.icelegend10',
|
||||
'30' => 'com.game191.icelegend30',
|
||||
'50' => 'com.game191.icelegend50',
|
||||
'100' => 'com.game191.icelegend100',
|
||||
'300' => 'com.game191.icelegend300',
|
||||
'500' => 'com.game191.icelegend500',
|
||||
'1000' => 'com.game191.icelegend1000',
|
||||
'3000' => 'com.game191.icelegend3000',
|
||||
);
|
||||
|
||||
$alipay_config['partner'] = $id;
|
||||
$alipay_config['key'] = $apikey;
|
||||
//签名方式 不需修改
|
||||
$alipay_config['sign_type'] = strtoupper('MD5');
|
||||
|
||||
//字符编码格式 目前支持 gbk 或 utf-8
|
||||
$alipay_config['input_charset'] = strtolower('utf-8');
|
||||
|
||||
//访问模式,根据自己的服务器是否支持ssl访问,若支持请选择https;若不支持请选择http
|
||||
$alipay_config['transport'] = 'http';
|
||||
$alipay_config['apiurl'] = 'https://www.ttfk.cc/';
|
||||
Reference in New Issue
Block a user