xieruidong 2 yıl önce
ebeveyn
işleme
47afcbf970
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      application/common/model/GoodsSku.php

+ 4 - 0
application/common/model/GoodsSku.php

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