Commit 698d39cc authored by zhz's avatar zhz

goods

parent d6de4340
...@@ -744,8 +744,8 @@ class GoodsCommonServiceModel extends \Business\AbstractModel ...@@ -744,8 +744,8 @@ class GoodsCommonServiceModel extends \Business\AbstractModel
* @return array * @return array
* @throws \Our\Exception * @throws \Our\Exception
*/ */
public function getStore($storeId){ public function getStore($storeId, $label = false, $reportError = false){
list($storeInfo,$label) = \DAO\StoreModel::getInstance()->get($storeId); $storeInfo = \DAO\StoreModel::getInstance()->get($storeId,$label,$reportError);
$commonInstance = \DAO\GoodsCommonModel::getInstance(); $commonInstance = \DAO\GoodsCommonModel::getInstance();
$count = \Our\RedisHelper::cachedFunction(\Redis\Db4\GoodsCommonRedisModel::getInstance(),array(&$commonInstance, 'getCount'),array(array('store_id'=>$storeId)),\Our\ApiConst::oneDaySecond); $count = \Our\RedisHelper::cachedFunction(\Redis\Db4\GoodsCommonRedisModel::getInstance(),array(&$commonInstance, 'getCount'),array(array('store_id'=>$storeId)),\Our\ApiConst::oneDaySecond);
......
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