...
This commit is contained in:
parent
1456974b84
commit
232457583e
@ -554,6 +554,10 @@ class MarketController extends BaseAuthedController
|
|||||||
'c_id' => $c_id,
|
'c_id' => $c_id,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
if (!$r) {
|
||||||
|
$this->_rspErr(3, "sell failed");
|
||||||
|
return;
|
||||||
|
}
|
||||||
$lastId = $this->lastInsertId($conn);
|
$lastId = $this->lastInsertId($conn);
|
||||||
$order_id = $this->genOrderId($lastId);
|
$order_id = $this->genOrderId($lastId);
|
||||||
$test = SqlHelper::update($conn, 't_market_store', array('idx' => $lastId), array('order_id' => $order_id));
|
$test = SqlHelper::update($conn, 't_market_store', array('idx' => $lastId), array('order_id' => $order_id));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user