dever 6 years ago
parent
commit
f5b8e1dae2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/Cmbc.php

+ 2 - 1
lib/Cmbc.php

@@ -39,7 +39,8 @@ class Cmbc extends Core
 	public function order($account_id, $project_id, $uid, $username, $product_id, $name, $cash, $openid = false, $type = 1, $order_id = false)
 	{
 		$trade_type = $this->getType($type);
-		$order_id = $this->createOrder($uid, $username, $account_id, $product_id, $name, $cash, $this->config->getType(), $order_id);
+		$order_id = $this->createOrder($uid, $username, $account_id, $project_id, $product_id, $name, $cash, $this->config->GetType(), $order_id);
+
 		$tools = new \Cmbc\Handle();
 
 		$order = $tools->get('order', $this->config);