...
This commit is contained in:
parent
c6e95b798c
commit
7e9682b017
@ -262,10 +262,10 @@ class ShopController extends BaseAuthedController
|
|||||||
$conn,
|
$conn,
|
||||||
't_shop_buy_order',
|
't_shop_buy_order',
|
||||||
array(
|
array(
|
||||||
'order_id' => $order_id,
|
'idx' => $lastId,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'idx' => $lastId,
|
'order_id' => $order_id,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->_rspData(
|
$this->_rspData(
|
||||||
@ -358,7 +358,7 @@ class ShopController extends BaseAuthedController
|
|||||||
|
|
||||||
$conn = myself()->_getMysql('');
|
$conn = myself()->_getMysql('');
|
||||||
|
|
||||||
$order = SqlHelper::selectOne($conn, 't_shop_buy_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('idx' => $order_id));
|
$order = SqlHelper::selectOne($conn, 't_shop_buy_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('order_id' => $order_id));
|
||||||
if (!$order) {
|
if (!$order) {
|
||||||
$this->_rspErr(2, "order not found: {$order_id}");
|
$this->_rspErr(2, "order not found: {$order_id}");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user