...
This commit is contained in:
parent
111f1840b3
commit
a1de844a76
@ -416,7 +416,7 @@ class ShopController extends BaseAuthedController
|
|||||||
'name' => LogService::RECHARGE_CEBG_BONUS,
|
'name' => LogService::RECHARGE_CEBG_BONUS,
|
||||||
'val' => $item_num
|
'val' => $item_num
|
||||||
];
|
];
|
||||||
LogService::productDiamond(['account_id' => $account_id], $event);
|
LogService::productDiamondCallback(['account_id' => $account_id], $event);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_log("buyGoodsDirect---" . $address . "---" . $item_id . "---" . $item_num);
|
error_log("buyGoodsDirect---" . $address . "---" . $item_id . "---" . $item_num);
|
||||||
|
@ -101,7 +101,12 @@ class ShopBuyGoodsDirect
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
SqlHelper::update($conn, 't_shop_buy_order', array('idx' => $order_id), array('status' => $buyStatus));
|
SqlHelper::update($conn, 't_shop_buy_order', array('order_id' => $order_id), array('status' => $buyStatus));
|
||||||
|
|
||||||
|
if ($buyStatus == 2) {
|
||||||
|
$this->_rspErr(2, "buyStatus error, buyStatus: {$buyStatus}");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// 以下是看商品表中是否配置了充值额外奖励
|
// 以下是看商品表中是否配置了充值额外奖励
|
||||||
$goods = ShopGoods::get($id);
|
$goods = ShopGoods::get($id);
|
||||||
@ -121,7 +126,7 @@ class ShopBuyGoodsDirect
|
|||||||
'name' => LogService::RECHARGE_CEBG_BONUS,
|
'name' => LogService::RECHARGE_CEBG_BONUS,
|
||||||
'val' => $item_num
|
'val' => $item_num
|
||||||
];
|
];
|
||||||
LogService::productDiamond(['account_id' => $account_id], $event);
|
LogService::productDiamondCallback(['account_id' => $account_id], $event);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_log("buyGoodsDirect---" . $address . "---" . $item_id . "---" . $item_num);
|
error_log("buyGoodsDirect---" . $address . "---" . $item_id . "---" . $item_num);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user