Tinyshop继续刷钱#2

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: 再来一发,这次有点艰难。 ### 详细说明: protected/controllers/payment.php,36行 ``` public function pay_balance(){ $sign = Req::post('sign'); $args = Req::post(); unset($args['sign']); $total_fee = Req::post('total_fee'); $attach = Filter::int(Req::post('attach')); $return['attach'] = Req::post('attach'); $return['total_fee'] = Req::post('total_fee'); $return['order_no'] = Req::post('order_no'); $return['return_url'] = Req::post('return_url'); if(stripos($return['order_no'],'recharge_') !== false) { $msg = array('type'=>'fail','msg'=>'余额支付方式,不能用于在线充值功能!'); $this->redirect('/index/msg',false,$msg); exit; } if(floatval($return['total_fee']) <= 0 || $return['order_no'] == '' || $return['return_url'] == '') { $msg = array('type'=>'fail','msg'=>'支付参数不正确!'); $this->redirect('/index/msg',false,$msg); } else{ $payment = new Payment($attach); $paymentInfo = $payment->getPayment(); $pay_balance = new pay_balance(); $filter_param = $pay_balance->filterParam($args); //对待签名参数数组排序 $para_sort =...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息