diff --git a/application/admin/model/shopro/goods/Goods.php b/application/admin/model/shopro/goods/Goods.php index 4323983..510e0f1 100755 --- a/application/admin/model/shopro/goods/Goods.php +++ b/application/admin/model/shopro/goods/Goods.php @@ -135,8 +135,7 @@ class Goods extends Common } public function getDispatchTypeAttr($value, $data) { - $ids = $this->attrFormatComma($value, $data, 'dispatch_type', true); - return $ids ? array_values(array_filter(array_map("intval", $ids))) : $ids; + return explode(',', $value); }