Commit c1d263c7 authored by zhz's avatar zhz

goodsdetail

parent 4f209fbf
...@@ -92,7 +92,7 @@ class IndexController extends \Our\Controller_Abstract { ...@@ -92,7 +92,7 @@ class IndexController extends \Our\Controller_Abstract {
} }
public function goodsDetailAction() { public function goodsDetailAction() {
$goodsCommonId=(int)$this->getRequest()->getQuery()['goodsCommonid']; $goodsCommonId=(int)$this->getRequest()->getQuery()['goodsCommonId'];
if($goodsCommonId > 0) { if($goodsCommonId > 0) {
$commonGoodsInstance = \DAO\GoodsCommonModel::getInstance(); $commonGoodsInstance = \DAO\GoodsCommonModel::getInstance();
$commonInfo = \Our\RedisHelper::cachedFunction(\Redis\Db4\GoodsCommonRedisModel::getInstance(),array(&$commonGoodsInstance, 'getOneById'),array($goodsCommonId),0,array($goodsCommonId)); $commonInfo = \Our\RedisHelper::cachedFunction(\Redis\Db4\GoodsCommonRedisModel::getInstance(),array(&$commonGoodsInstance, 'getOneById'),array($goodsCommonId),0,array($goodsCommonId));
......
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