dever 6 years ago
parent
commit
b9df49f5ea
1 changed files with 8 additions and 1 deletions
  1. 8 1
      product/lib/Pay.php

+ 8 - 1
product/lib/Pay.php

@@ -10,8 +10,15 @@ class Pay
 	 *
 	 * @return mixed
 	 */
-	public function act($product_id, $uid, $cash, $order_id, $status, $msg)
+	public function act($param)
 	{
+		$product_id = $param['pay_product_id'];
+        $uid = $param['pay_uid'];
+        $cash = $param['pay_cash'];
+        $order_id = $param['pay_order_id'];
+        $status = $param['pay_status'];
+        $msg = $param['pay_msg'];
+
 		if ($status == 2) {
             # 支付成功
             $order_id = 'WX' . $order_id;