@@ -38,6 +38,10 @@ class GoodsSku Extends Model
return $this['amount'];
}
+ public function getAmountAttr(){
+ return $this->getRealAmount();
+ }
+
protected static function init()
{