Files
chuanqi-qycq-web/pay/config.php
2025-07-10 23:55:26 +08:00

35 lines
1.1 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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/';