diff --git a/webapp/services/callback/BuyShopGoodsCbService.php b/webapp/services/callback/BuyShopGoodsCbService.php index 213a9b83..e6996876 100644 --- a/webapp/services/callback/BuyShopGoodsCbService.php +++ b/webapp/services/callback/BuyShopGoodsCbService.php @@ -106,4 +106,18 @@ class BuyShopGoodsCbService $itemService->addItem($address, $item_id, $goods_num); ShopBuyRecord::addWithAddress($address, $item_id, $goods_num); } + + private function getAccountId($address){ + + $row = SqlHelper::ormSelectOne + (myself()->_getMysql($address), + 't_user', + array( + 'address' => $address + ) + ); + + return $row['account_id']; +} + }