diff --git a/service/Application/Library/AlipayLife.class.php b/service/Application/Library/AlipayLife.class.php index 1765477a9cce9e07759a7061c43370058a3f0ad9..131ec08c94897827dfd62c103e7b01afc63c4153 100755 --- a/service/Application/Library/AlipayLife.class.php +++ b/service/Application/Library/AlipayLife.class.php @@ -587,7 +587,7 @@ class AlipayLife { // 参数处理 $p = $this->RequestCommonParams(); - $p['method'] = 'alipay.open.public.menu.modify'; + $p['method'] = empty($params['method']) ? 'alipay.open.public.menu.modify' : $params['method']; $biz_content = [ 'type' => ($params['type'] == 1) ? 'icon' : 'text', 'button' => [],