This commit is contained in:
songliang 2023-07-14 20:31:45 +08:00
parent d5f2638c2a
commit 1b7e1d676f

View File

@ -556,7 +556,7 @@ class MarketController extends BaseAuthedController
)
);
$lastId = $this->lastInsertId($conn);
$order_id = phpcommon\bnInit($this->genOrderId($lastId));
$order_id = $this->genOrderId($lastId);
$test = SqlHelper::update($conn, 't_market_store', array('idx' => $lastId), array('order_id' => $order_id));
if (!$test) {
$this->_rspErr(6, "sell failed");