mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-10-21 18:03:44 +08:00
修复异次元发卡通知回调问题
This commit is contained in:
@@ -13,7 +13,7 @@ class ConsoleController extends BaseController
|
||||
// 后台主页
|
||||
public function index()
|
||||
{
|
||||
View::assign('version', 'v1');
|
||||
View::assign('version', 'V1');
|
||||
return View::fetch();
|
||||
}
|
||||
// 管理菜单
|
||||
|
@@ -320,6 +320,10 @@ class PayController
|
||||
// 添加扩展参数
|
||||
// $notify = array_merge($notify, unserialize($param->param));
|
||||
$notify['param'] = unserialize($param->param);
|
||||
// 删除空值
|
||||
foreach ($notify as $key => $val) {
|
||||
if ($val === '') unset($notify[$key]);
|
||||
}
|
||||
return $notify;
|
||||
}
|
||||
// 请求外部资源
|
||||
|
@@ -162,6 +162,10 @@ class OrderController extends BaseController
|
||||
// 添加扩展参数
|
||||
// $notify = array_merge($notify, unserialize($param->param));
|
||||
$notify['param'] = unserialize($param->param);
|
||||
// 删除空值
|
||||
foreach ($notify as $key => $val) {
|
||||
if ($val === '') unset($notify[$key]);
|
||||
}
|
||||
return $notify;
|
||||
}
|
||||
// 请求外部资源
|
||||
|
@@ -40,4 +40,16 @@ return array (
|
||||
'version' => '1.0',
|
||||
'state' => 1,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'platform' => 'alipayb',
|
||||
'name' => '支付宝账单',
|
||||
'class_name' => 'AliPayb',
|
||||
'price' => NULL,
|
||||
'describe' => '支付宝账单查询回调,免挂机,稳定不掉线',
|
||||
'website' => 'https://open.alipay.com',
|
||||
'helplink' => 'https://f0bmwzqjtq2.feishu.cn/docx/HBVrdrsACo36bzxUCSPcjOBNnyb',
|
||||
'version' => '1.0',
|
||||
'state' => 1,
|
||||
),
|
||||
);
|
||||
|
@@ -82,7 +82,7 @@
|
||||
<div class="layui-side-scroll">
|
||||
<div id="sideMenu"></div>
|
||||
</div>
|
||||
<div id="version"><p>版本号:<?php echo $version ?></p><p>by techhaha</p></div>
|
||||
<div id="version"><p>版本号:<?php echo $version ?></p><p>by 技术老胡</p></div>
|
||||
</div>
|
||||
<!-- 视 图 页 面 -->
|
||||
<div class="layui-body">
|
||||
|
Reference in New Issue
Block a user