This commit is contained in:
songliang 2023-06-25 13:51:53 +08:00
parent 0f13db4876
commit 69d5a99884

View File

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