|
|
|
@ -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); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|