1
This commit is contained in:
parent
917e27d82f
commit
bca520f22f
@ -477,7 +477,7 @@ class PayController{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$conn = $this->getMysql($_REQUEST['account_id']);
|
$conn = $this->getMysql($_REQUEST['account_id']);
|
||||||
$row = $conn->execQueryOne('SELECT orderid, status FROM orderinfo WHERE orderid=:orderid;',
|
$row = $conn->execQueryOne('SELECT orderid, status, item_list FROM orderinfo WHERE orderid=:orderid;',
|
||||||
array(
|
array(
|
||||||
':orderid' => $_REQUEST['orderid']
|
':orderid' => $_REQUEST['orderid']
|
||||||
));
|
));
|
||||||
@ -495,16 +495,7 @@ class PayController{
|
|||||||
'order_state' => 0,
|
'order_state' => 0,
|
||||||
'buy_itemid' => 0,
|
'buy_itemid' => 0,
|
||||||
'buy_itemnum' => 0,
|
'buy_itemnum' => 0,
|
||||||
'item_list' => array(
|
'item_list' => json_decode($row[2], true)
|
||||||
array(
|
|
||||||
'itemid' => 10001,
|
|
||||||
'itemnum' => 1000,
|
|
||||||
),
|
|
||||||
array(
|
|
||||||
'itemid' => 10003,
|
|
||||||
'itemnum' => 1000,
|
|
||||||
),
|
|
||||||
)
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user