SSPanel - Malio OLD
注:本教程只针对【官方版本】搭建后进行测试接入成功!如 "改过其他源码文件" 或 "迁移过面板" 大概率会接入失败,暂不提供帮改帮修服务!
方法1
适用于app/Services/Gateway/CustomPay.php 存在的版本
替换
app/Services/Gateway/CustomPay.php在
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 Jshipay3. 在 .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 不存在的版本
将压缩包内文件解压至
Services/Gateway/在
config/.config.php里面找到相关内容并替换,在//其他面板显示设置这条注释上面
Last updated