From 69d5a998844dbd7fd461607b351bd55c001f343a Mon Sep 17 00:00:00 2001 From: songliang Date: Sun, 25 Jun 2023 13:51:53 +0800 Subject: [PATCH] ... --- webapp/services/callback/BuyShopGoodsCbService.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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']; +} + }