This commit is contained in:
songliang 2023-06-20 16:42:44 +08:00
parent c4dc220559
commit a95cebf7d6

View File

@ -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']);
}
}