...
This commit is contained in:
parent
0f13db4876
commit
69d5a99884
@ -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'];
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user