|
@@ -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);
|