Browse Source

guantufs add lt 30-500 948

xiaoyu 3 years ago
parent
commit
116f4e7509

+ 18 - 6
data/config/xyz/refill.ini.php

@@ -3786,12 +3786,24 @@ $guantufs_phone = ['name' => 'guantufs', 'store_id' => 167,'qualitys' => '1',
     'amount' => [
 //        10 => [['goods_id' => 7414, 'price' => 9.5, 'quality' => 1, 'card_type' => 'chinamobile']],
 //        20 => [['goods_id' => 7415, 'price' => 19, 'quality' => 1, 'card_type' => 'chinamobile']],
-        30 => [['goods_id' => 7416, 'price' => 28.5, 'quality' => 1, 'card_type' => 'chinamobile']],
-        50 => [['goods_id' => 7417, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinamobile']],
-        100 => [['goods_id' => 7418, 'price' => 95, 'quality' => 1, 'card_type' => 'chinamobile']],
-        200 => [['goods_id' => 7419, 'price' => 190, 'quality' => 1, 'card_type' => 'chinamobile']],
-//        300 => [['goods_id' => 7420, 'price' => 285, 'quality' => 1, 'card_type' => 'chinamobile']],
-//        500 => [['goods_id' => 7421, 'price' => 475, 'quality' => 1, 'card_type' => 'chinamobile']]
+        30 => [
+            ['goods_id' => 7416, 'price' => 28.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7416, 'price' => 28.44, 'quality' => 1, 'card_type' => 'chinaunicom']
+        ],
+        50 => [
+            ['goods_id' => 7417, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7417, 'price' => 47.4, 'quality' => 1, 'card_type' => 'chinaunicom']
+        ],
+        100 => [
+            ['goods_id' => 7418, 'price' => 95, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7418, 'price' => 94.8, 'quality' => 1, 'card_type' => 'chinaunicom']
+        ],
+        200 => [
+            ['goods_id' => 7419, 'price' => 190, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7419, 'price' => 189.6, 'quality' => 1, 'card_type' => 'chinaunicom']
+        ],
+        300 => [['goods_id' => 7420, 'price' => 284.4, 'quality' => 1, 'card_type' => 'chinaunicom']],
+        500 => [['goods_id' => 7421, 'price' => 474, 'quality' => 1, 'card_type' => 'chinaunicom']]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 8 - 0
helper/refill/api/xyz/guantufs/config.php

@@ -20,6 +20,14 @@ class config
             100 => 100075,
             200 => 100076,
         ],
+        mtopcard\ChinaUnicomCard => [
+            30  => 100108,
+            50  => 100109,
+            100 => 100110,
+            200 => 100111,
+            300 => 100112,
+            500 => 100113
+        ],
     ];
     const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
     const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];

+ 9 - 1
helper/refill/api/xyz/guantufs/商品编码.txt

@@ -1,4 +1,12 @@
 100073 移动分省30
 100074 移动分省50
 100075 移动分省100
-100076 移动分省200
+100076 移动分省200
+
+
+100108 超面值联通30
+100109 超面值联通50
+100110 超面值联通100
+100111 超面值联通200
+100112 超面值联通300
+100113 超面值联通500