Commit 6140e93f authored by wwccw0591's avatar wwccw0591

pc

parent b52f4709
......@@ -329,6 +329,7 @@ class GoodsModel extends \DAO\AbstractModel {
public function getFormatGoodsAttr($goodsSpecStr){
$goodsAttr = array();
if(!empty($goodsSpecStr)){
echo $goodsSpecStr;exit;
if(CommonExtension::isSerialized($goodsSpecStr)){
$goodsSpec = unserialize($goodsSpecStr);
if (is_array($goodsSpec) && count($goodsSpec) > 0) {
......
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