bug for buygoodnew
This commit is contained in:
parent
2da7a6e7ed
commit
0e7f7565ea
@ -162,7 +162,9 @@ class ShopController extends BaseAuthedController {
|
|||||||
|
|
||||||
$itemMeta = mt\Item::get($row['goods_id']);
|
$itemMeta = mt\Item::get($row['goods_id']);
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$this->internalAddItem($propertyChgService, $itemMeta);
|
for ($i = 0; $i<$goods_num; $i++) {
|
||||||
|
$this->internalAddItem($propertyChgService, $itemMeta);
|
||||||
|
}
|
||||||
$awardService = new services\AwardService();
|
$awardService = new services\AwardService();
|
||||||
$awardService->addItem($row['goods_id'], $goods_num);
|
$awardService->addItem($row['goods_id'], $goods_num);
|
||||||
ShopBuyRecord::add($id, $goods_num);
|
ShopBuyRecord::add($id, $goods_num);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user