修复异次元发卡通知回调问题

This commit is contained in:
技术老胡
2025-03-04 17:27:05 +08:00
parent e3d7efa60f
commit a59a22fe82
5 changed files with 22 additions and 2 deletions

View File

@@ -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;
}
// 请求外部资源