|
@@ -16,27 +16,12 @@ $config['refill_specs'] = [
|
|
|
$oil_providers = [];
|
|
|
$config['oil_providers'] = $oil_providers;
|
|
|
|
|
|
-define('ZERO_GOODS_ID', 8);
|
|
|
|
|
|
-$baidu_phone = ['name' => 'baizeyd', 'store_id' => 32,
|
|
|
- 'amount' => [
|
|
|
- 10 => [['goods_id' => 1, 'price' => 9.51, 'quality' => 1, 'card_type' => 'chinaunicom,chinatelecom'],
|
|
|
- ['goods_id' => 1, 'price' => 9.61, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
- ['goods_id' => 1, 'price' => 9.81, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
-
|
|
|
- 20 => [['goods_id' => 2, 'price' => 19.02, 'card_type' => 'chinaunicom,chinatelecom']],
|
|
|
- 30 => [['goods_id' => 3, 'price' => 28.53, 'card_type' => 'chinamobile,chinatelecom']],
|
|
|
- 50 => [['goods_id' => 4, 'price' => 47.55, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
|
|
|
- 100 => [['goods_id' => 5,'price' => 95.1, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']]
|
|
|
- ],
|
|
|
- 'official_sn' => true, 'refill_type' => 'api'];
|
|
|
-
|
|
|
-$baidu_phone = ['name' => 'baizeyd', 'store_id' => 32,
|
|
|
+$baizeyd = ['name' => 'baizeyd', 'store_id' => 32,
|
|
|
'amount' => [
|
|
|
// 10 => [['goods_id' => 1, 'price' => 9.51, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
// ['goods_id' => 1, 'price' => 9.61, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
// ['goods_id' => 1, 'price' => 9.81, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
-
|
|
|
30 => [['goods_id' => 3, 'price' => 28.5, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
['goods_id' => 3, 'price' => 28.8, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
50 => [['goods_id' => 4, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
@@ -51,7 +36,7 @@ $baidu_phone = ['name' => 'baizeyd', 'store_id' => 32,
|
|
|
|
|
|
$aming_phone = ['name' => 'aming', 'store_id' => 34,
|
|
|
'amount' => [
|
|
|
- 10 => [['goods_id' => 9, 'price' => 9.5, 'quality' => 1, 'card_type' => 'chinaunicom,chinatelecom'],
|
|
|
+ 10 => [['goods_id' => 9, 'price' => 9.5, 'quality' => 1, 'card_type' => 'chinaunicom,chinatelecom'],
|
|
|
['goods_id' => 9, 'price' => 9.6, 'quality' => 2, 'card_type' => 'chinaunicom,chinatelecom']],
|
|
|
20 => [['goods_id' => 10, 'price' => 19, 'quality' => 1, 'card_type' => 'chinaunicom,chinatelecom'],
|
|
|
['goods_id' => 10, 'price' => 19.2, 'quality' => 2, 'card_type' => 'chinaunicom,chinatelecom']],
|
|
@@ -133,11 +118,25 @@ $wuchen_phone = ['name' => 'wuchen', 'store_id' => 37,
|
|
|
],
|
|
|
'official_sn' => true, 'refill_type' => 'api'];
|
|
|
|
|
|
+$yibaoyd = ['name' => 'yibao', 'store_id' => 32,
|
|
|
+ 'amount' => [
|
|
|
+ 30 => [['goods_id' => 3, 'price' => 28.5, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
+ ['goods_id' => 3, 'price' => 28.8, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
+ 50 => [['goods_id' => 4, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
+ ['goods_id' => 4, 'price' => 48, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
+ 100 => [['goods_id' => 5, 'price' => 95, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
+ ['goods_id' => 5, 'price' => 96, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
+ 200 => [['goods_id' => 6, 'price' => 190, 'quality' => 1, 'card_type' => 'chinamobile'],
|
|
|
+ ['goods_id' => 6, 'price' => 192, 'quality' => 2, 'card_type' => 'chinamobile']],
|
|
|
+ ],
|
|
|
+ 'official_sn' => true, 'refill_type' => 'api'];
|
|
|
+
|
|
|
$phone_providers = [
|
|
|
- ['name' => 'baizeyd', 'cfg' => $baidu_phone, 'opened' => true, 'sort' => 1],
|
|
|
+ ['name' => 'baizeyd', 'cfg' => $baizeyd, 'opened' => true, 'sort' => 1],
|
|
|
['name' => 'aming', 'cfg' => $aming_phone, 'opened' => true, 'sort' => 1],
|
|
|
['name' => 'binghc', 'cfg' => $binghc_phone, 'opened' => true, 'sort' => 1],
|
|
|
['name' => 'ruishun', 'cfg' => $ruishun_phone, 'opened' => true, 'sort' => 1],
|
|
|
['name' => 'wuchen', 'cfg' => $wuchen_phone, 'opened' => true, 'sort' => 1],
|
|
|
+ ['name' => 'yibao', 'cfg' => $yibaoyd, 'opened' => true, 'sort' => 1],
|
|
|
];
|
|
|
$config['phone_providers'] = $phone_providers;
|