This commit is contained in:
songliang 2023-07-15 13:41:04 +08:00
parent 1456974b84
commit 232457583e

View File

@ -554,6 +554,10 @@ class MarketController extends BaseAuthedController
'c_id' => $c_id,
)
);
if (!$r) {
$this->_rspErr(3, "sell failed");
return;
}
$lastId = $this->lastInsertId($conn);
$order_id = $this->genOrderId($lastId);
$test = SqlHelper::update($conn, 't_market_store', array('idx' => $lastId), array('order_id' => $order_id));