...
This commit is contained in:
parent
c4dc220559
commit
a95cebf7d6
@ -4,11 +4,13 @@
|
||||
namespace services;
|
||||
|
||||
require_once('mt/Dailyselection.php');
|
||||
require_once('ShopAddItemService.php');
|
||||
|
||||
define('V_ORDER_TYPE_BUY_SHOP_GOODS', 1);
|
||||
|
||||
use phpcommon\SqlHelper;
|
||||
use mt\Dailyselection;
|
||||
use mt\Shop;
|
||||
|
||||
class BuyShopGoodsCbService
|
||||
{
|
||||
@ -91,6 +93,7 @@ class BuyShopGoodsCbService
|
||||
|
||||
private function _addGoods($address, $goods)
|
||||
{
|
||||
error_log("BuyShopGoodsCbService::_addGoods() address: $address, goods: " . json_encode($goods));
|
||||
$itemService = new ShopAddItemService();
|
||||
$itemService->addItem($address, $goods['goods_id'], $goods['goods_num']);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user