This commit is contained in:
aozhiwei 2019-08-23 16:35:21 +08:00
parent bca520f22f
commit 782348b1ef

View File

@ -477,7 +477,8 @@ class PayController{
}
$conn = $this->getMysql($_REQUEST['account_id']);
$row = $conn->execQueryOne('SELECT orderid, status, item_list FROM orderinfo WHERE orderid=:orderid;',
$row = $conn->execQueryOne('SELECT orderid, status, item_list, itemid ' .
'FROM orderinfo WHERE orderid=:orderid;',
array(
':orderid' => $_REQUEST['orderid']
));
@ -493,8 +494,8 @@ class PayController{
'errcode' => 0,
'errmsg'=> '',
'order_state' => 0,
'buy_itemid' => 0,
'buy_itemnum' => 0,
'buy_itemid' => $row[3],
'buy_itemnum' => 1,
'item_list' => json_decode($row[2], true)
));
}