1
This commit is contained in:
parent
bca520f22f
commit
782348b1ef
@ -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)
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user