|
@@ -14,9 +14,9 @@ class RefillPhone extends refill\IRefillPhone
|
|
parent::__construct($cfgs);
|
|
parent::__construct($cfgs);
|
|
}
|
|
}
|
|
|
|
|
|
- public function goods($quality,int $amount,int $card_type,$other)
|
|
|
|
|
|
+ public function goods($quality,int $amount,int $card_type,$regin_no,$other)
|
|
{
|
|
{
|
|
- [$goods_id, $price] = parent::goods($quality,$amount,$card_type,$other);
|
|
|
|
|
|
+ [$goods_id, $price] = parent::goods($quality,$amount,$card_type,$regin_no,$other);
|
|
if($goods_id <= 0) return [0,0];
|
|
if($goods_id <= 0) return [0,0];
|
|
|
|
|
|
$store_id = $this->mStoreID;
|
|
$store_id = $this->mStoreID;
|