Prechádzať zdrojové kódy

ruizhi add lt 30-300 100.1 dx 100-500 100.1

xiaoyu 3 rokov pred
rodič
commit
2ba623a195

+ 15 - 2
data/config/xyz/refill.ini.php

@@ -4589,18 +4589,31 @@ $ruizhi_phone = ['name' => 'ruizhi', 'store_id' => 188,'qualitys' => '2',
         20 => [['goods_id' => 7594, 'price' => 20.34, 'quality' => 2, 'card_type' => 'chinamobile']],
         30 => [
             ['goods_id' => 7595, 'price' => 30.36, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7595, 'price' => 30.03, 'quality' => 2, 'card_type' => 'chinaunicom'],
         ],
         50 => [
             ['goods_id' => 7596, 'price' => 50.025, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7596, 'price' => 50.05, 'quality' => 2, 'card_type' => 'chinaunicom'],
         ],
         100 => [
             ['goods_id' => 7597, 'price' => 100.05, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7597, 'price' => 100.1, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7597, 'price' => 100.1, 'quality' => 2, 'card_type' => 'chinatelecom'],
         ],
         200 => [
             ['goods_id' => 7598, 'price' => 200.1, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7598, 'price' => 200.2, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7598, 'price' => 200.2, 'quality' => 2, 'card_type' => 'chinatelecom'],
         ],
-        300 => [['goods_id' => 7599, 'price' => 300.15, 'quality' => 2, 'card_type' => 'chinamobile']],
-        500 => [['goods_id' => 7600, 'price' => 500.25, 'quality' => 2, 'card_type' => 'chinamobile']]
+        300 => [
+            ['goods_id' => 7599, 'price' => 300.15, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7599, 'price' => 300.3, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7599, 'price' => 300.3, 'quality' => 2, 'card_type' => 'chinatelecom']
+        ],
+        500 => [
+            ['goods_id' => 7600, 'price' => 500.25, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7600, 'price' => 500.5, 'quality' => 2, 'card_type' => 'chinatelecom']
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 13 - 1
helper/refill/api/xyz/ruizhi/account.txt

@@ -15,4 +15,16 @@
 20005 全国移动100元
 20006 全国移动200元
 20007 全国移动300元
-20008 全国移动500元
+20008 全国移动500元
+
+2022.3.9新增联通 电信
+20011	全国联通30元
+20012	全国联通50元
+20013	全国联通100元
+20014	全国联通200元
+20015	全国联通300元
+
+20021	全国电信100元
+20022	全国电信200元
+20023	全国电信300元
+20024	全国电信500元

+ 14 - 1
helper/refill/api/xyz/ruizhi/config.php

@@ -25,7 +25,20 @@ class config
             200 => 20006,
             300 => 20007,
             500 => 20008
-        ]
+        ],
+        mtopcard\ChinaUnicomCard => [
+            30  => 20011,
+            50  => 20012,
+            100 => 20013,
+            200 => 20014,
+            300 => 20015,
+        ],
+        mtopcard\ChinaTelecomCard => [
+            100 => 20021,
+            200 => 20022,
+            300 => 20023,
+            500 => 20024
+        ],
     ];
     const ERRCODES = ['101', '102', '103', '104', '105', '106', '107', '108', '109', '100', '112', '115', '116', '117', '118', '119', '120'];
 }