Commit e9b7f331 authored by wwccw0591's avatar wwccw0591

pc

parent b149bb05
......@@ -331,6 +331,7 @@ class GoodsModel extends \DAO\AbstractModel {
if(!empty($goodsSpecStr)){
if(CommonExtension::isSerialized($goodsSpecStr)){
$goodsSpec = unserialize($goodsSpecStr);
echo json_encode($goodsSpec);exit;
if (is_array($goodsSpec) && count($goodsSpec) > 0) {
$goodsAttr = array();
foreach ($goodsSpec as $key => $value) {
......
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