From f27818dc0cc16ff929788439535f9310357b33db Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 24 Apr 2017 13:33:12 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20bug#1054=20=E6=88=91=E7=9A=84=E5=9C=B0?= =?UTF-8?q?=E7=9B=98=E6=B7=BB=E5=8A=A0=E4=BA=A7=E5=93=81=E5=8C=BA=E5=9D=97?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/block/model.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/block/model.php b/module/block/model.php index 0a08010684..5783ad6477 100644 --- a/module/block/model.php +++ b/module/block/model.php @@ -194,6 +194,9 @@ class blockModel extends model */ public function getListParams($module = '') { + if($module == 'product') return $this->getProductParams($module); + if($module == 'project') return $this->getProjectParams($module); + $params = new stdclass(); $params = $this->onlyNumParams($module, $params); return json_encode($params);