|
@@ -15,7 +15,8 @@ class merchant_refillControl extends mbMerchantControl
|
|
|
{
|
|
|
$goods = refill\RefillFactory::instance()->goods();
|
|
|
|
|
|
- $result = [];
|
|
|
+ $result['oil_amount'] = [];
|
|
|
+ $result['phone_amount'] = [];
|
|
|
foreach ($goods as $type => $specs)
|
|
|
{
|
|
|
if($type == mtopcard\SinopecCard || $type == mtopcard\PetroChinaCard) {
|