|
@@ -13,10 +13,9 @@ class merchant_refillControl extends mbMerchantControl
|
|
|
|
|
|
public function goodsOp()
|
|
|
{
|
|
|
- global $config;
|
|
|
- $oil_amount = $config['refill_oil_specs'];
|
|
|
- $phone_amount = $config['refill_phone_specs'];
|
|
|
- $phone_small_amount = $config['refill_phone_small_specs'];
|
|
|
+ $oil_amount = [50, 100, 200, 500, 1000, 2000];
|
|
|
+ $phone_amount = [10, 20, 30, 50, 100, 200, 300, 500];
|
|
|
+ $phone_small_amount = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
|
|
|
|
$phone_amount = array_merge($phone_amount, $phone_small_amount);
|
|
|
sort($phone_amount);
|