Commit 62125a5c authored by zhz's avatar zhz

goods

parent ee8528af
......@@ -24,7 +24,7 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
\Error\ErrorModel::throwException(\Error\CodeConfigModel::emptyCommonId);
}
$commonGoodsInstance = \DAO\GoodsCommonModel::getInstance();
$commonInfo = $this->getOneByIdCache($goodsCommonId);
$commonInfo = $commonGoodsInstance->getOneByIdCache($goodsCommonId);
$saleNum = $commonGoodsInstance->getGoodsSaleNumFromCache($goodsCommonId);
$commonInfo['sale_num'] = $saleNum;
if(!$commonInfo){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment