正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
@@ -165,7 +165,10 @@ class IndexController extends HomeBaseController | @@ -165,7 +165,10 @@ class IndexController extends HomeBaseController | ||
165 | { | 165 | { |
166 | require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php'; | 166 | require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php'; |
167 | $alipay = new \AlipayTradeService(); | 167 | $alipay = new \AlipayTradeService(); |
168 | - $return = $alipay->wapPay('', '', ''); | 168 | + $builder = [ |
169 | + 'oid' => 2 | ||
170 | + ]; | ||
171 | + $return = $alipay->wapPay($builder, '', ''); | ||
169 | print_r($return); | 172 | print_r($return); |
170 | } | 173 | } |
171 | 174 |
-
请 注册 或 登录 后发表评论