|
@@ -1,29 +1,37 @@
|
|
|
<?php
|
|
|
|
|
|
-$suhc_oil = ['name' => 'suhc','store_id' => 7,'card_type' => ['sinopec'],
|
|
|
- 'amount' => [100 => ['goods_id' => 6290,'price' => 96.8],
|
|
|
- 200 => ['goods_id' => 6291,'price' => 193.6],
|
|
|
- 500 => ['goods_id' => 6292,'price' => 484],
|
|
|
- 1000=> ['goods_id' => 6293,'price' => 968],
|
|
|
- 2000=> ['goods_id' => 6294,'price' => 1936]],
|
|
|
- 'period' => ['start' => '8:30','end' => '22:30'],'refill_type' => 'api'];
|
|
|
+$suhc_oil = ['name' => 'suhc', 'store_id' => 7, 'card_type' => ['sinopec'],
|
|
|
+ 'amount' => [100 => ['goods_id' => 6290, 'price' => 96.8],
|
|
|
+ 200 => ['goods_id' => 6291, 'price' => 193.6],
|
|
|
+ 500 => ['goods_id' => 6292, 'price' => 484],
|
|
|
+ 1000 => ['goods_id' => 6293, 'price' => 968],
|
|
|
+ 2000 => ['goods_id' => 6294, 'price' => 1936]],
|
|
|
+ 'period' => ['start' => '8:30', 'end' => '22:30'], 'refill_type' => 'api'];
|
|
|
|
|
|
$oil_providers = ['suhc' => $suhc_oil];
|
|
|
$config['oil_providers'] = $oil_providers;
|
|
|
|
|
|
|
|
|
-$beixt_phone = ['name' => 'beixt','store_id' => 8,'card_type' => ['chinamobile','chinaunicom','chinatelecom'],
|
|
|
- 'amount' => [50 => ['goods_id' => 6295,'price' => 48.75],
|
|
|
- 100 => ['goods_id' => 6296,'price' => 97.5],
|
|
|
- 200 => ['goods_id' => 6297,'price' => 195]],
|
|
|
+$beixt_phone = ['name' => 'beixt', 'store_id' => 8, 'card_type' => ['chinamobile', 'chinaunicom', 'chinatelecom'],
|
|
|
+ 'amount' => [50 => ['goods_id' => 6295, 'price' => 48.75],
|
|
|
+ 100 => ['goods_id' => 6296, 'price' => 97.5],
|
|
|
+ 200 => ['goods_id' => 6297, 'price' => 195]],
|
|
|
'refill_type' => 'api'];
|
|
|
|
|
|
-$bxtwt_phone = ['name' => 'bxtwt','store_id' => 10,'card_type' => ['chinamobile','chinaunicom','chinatelecom'],
|
|
|
- 'amount' => [50 => ['goods_id' => 6298,'price' => 48],
|
|
|
- 100 => ['goods_id' => 6299,'price' => 96],
|
|
|
- 200 => ['goods_id' => 6300,'price' => 192]],
|
|
|
+$bxtwt_phone = ['name' => 'bxtwt', 'store_id' => 10, 'card_type' => ['chinamobile', 'chinaunicom', 'chinatelecom'],
|
|
|
+ 'amount' => [50 => ['goods_id' => 6298, 'price' => 48],
|
|
|
+ 100 => ['goods_id' => 6299, 'price' => 96],
|
|
|
+ 200 => ['goods_id' => 6300, 'price' => 192]],
|
|
|
'refill_type' => 'api'];
|
|
|
|
|
|
|
|
|
-$phone_providers = ['beixt' => $beixt_phone , 'bxtwt' => $bxtwt_phone];
|
|
|
+$bjb_phone = ['name' => 'bjb', 'store_id' => 12, 'card_type' => ['chinaunicom', 'chinatelecom'],
|
|
|
+ 'amount' => [30 => ['goods_id' => 6301, 'price' => 28.65],
|
|
|
+ 50 => ['goods_id' => 6302, 'price' => 47.75],
|
|
|
+ 100 => ['goods_id' => 6303, 'price' => 95.5],
|
|
|
+ 200 => ['goods_id' => 6304, 'price' => 191]],
|
|
|
+ 'refill_type' => 'api'];
|
|
|
+
|
|
|
+
|
|
|
+$phone_providers = ['beixt' => $beixt_phone, 'bxtwt' => $bxtwt_phone]; //'bjb' => $bjb_phone
|
|
|
$config['phone_providers'] = $phone_providers;
|