adjust
This commit is contained in:
parent
92b38404e2
commit
355b5f079c
@ -309,12 +309,14 @@ class BagController{
|
||||
$addreward = new classes\AddReward();
|
||||
$ptime = $this->getParameter(RECOMMEND_TIME);
|
||||
$addreward->addReward($item_id, 1, $account_id, $ptime['param_value'], 0);
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => '',
|
||||
'item_id' => $item_id,
|
||||
'color_id' => 0
|
||||
));
|
||||
$_REQUEST['color_id'] = 0;
|
||||
$this->exchangeBagItem();
|
||||
// echo json_encode(array(
|
||||
// 'errcode' => 0,
|
||||
// 'errmsg' => '',
|
||||
// 'item_id' => $item_id,
|
||||
// 'color_id' => 0
|
||||
// ));
|
||||
}
|
||||
|
||||
public function freeGetItem()
|
||||
|
Loading…
x
Reference in New Issue
Block a user