SSPanel - Malio OLD

注:本教程只针对【官方版本】搭建后进行测试接入成功!如 "改过其他源码文件" 或 "迁移过面板" 大概率会接入失败,暂不提供帮改帮修服务!

方法1

适用于app/Services/Gateway/CustomPay.php 存在的版本

  1. 替换 app/Services/Gateway/CustomPay.php

  2. config/routes.php 内的 $app->run(); 前添加:

// Jshipay
$app->post('/Jshi_notify', 'App\Services\Payment:notify');
$app->get('/Jshi_notify', 'App\Services\Payment:notify');
$app->post('/Jshi_return', 'App\Services\Payment:returnhtml');
$app->get('/Jshi_return', 'App\Services\Payment:returnhtml');
// end of Jshipay

3. 在 .config.php 下添加:

$_ENV['jshipid']  = 'xxx';//Peapay 商户号    xxx代表需要手动填写
$_ENV['jshikey']  = 'xxx';//Peapay 密钥    xxx代表需要手动填写
$_ENV['jshiapi']  = 'https://peapay.top/';
$_ENV['jshiname'] = '蒜香豌豆';
$_ENV['sitename'] = 'SSPANEL';

方法2

适用于app/Services/Gateway/CustomPay.php 不存在的版本

  1. 将压缩包内文件解压至 Services/Gateway/

  2. config/.config.php 里面找到相关内容并替换,在 //其他面板显示设置 这条注释上面

# flyfox
$_ENV['flyfoxpay'] = [
    'config' => [
        'hid'      => 'xxx',    //Peapay商户号    xxx代表需要手动填写
        'key'      => 'xxx',    //Peapay密钥    xxx代表需要手动填写
        'name'     => '蒜香豌豆',
        'sitename' => 'SSPANEL'
        
    ]
];

Last updated