Browse Source

ruizhi sync godds code

xiaoyu 2 years ago
parent
commit
4a3a6f8a81

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

@@ -4590,15 +4590,16 @@ $ruixunda_lt_phone = ['name' => 'ruixunda_lt', 'store_id' => 187,'qualitys' => '
 
 $ruizhi_phone = ['name' => 'ruizhi', 'store_id' => 188,'qualitys' => '2',
     'amount' => [
-        10 => [['goods_id' => 7593, 'price' => 10.32, 'quality' => 2, 'card_type' => 'chinamobile']],
-        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'],
-        ],
+//        10 => [['goods_id' => 7593, 'price' => 10.32, 'quality' => 2, 'card_type' => 'chinamobile']],
+//        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.4, 'quality' => 2, 'card_type' => 'chinamobile'],
             ['goods_id' => 7596, 'price' => 50.05, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7596, 'price' => 50.05, 'quality' => 2, 'card_type' => 'chinatelecom'],
         ],
         100 => [
             ['goods_id' => 7597, 'price' => 100.05, 'quality' => 2, 'card_type' => 'chinamobile'],
@@ -4617,6 +4618,7 @@ $ruizhi_phone = ['name' => 'ruizhi', 'store_id' => 188,'qualitys' => '2',
         ],
         500 => [
             ['goods_id' => 7600, 'price' => 500.25, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7600, 'price' => 500.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7600, 'price' => 500.5, 'quality' => 2, 'card_type' => 'chinatelecom']
         ]
     ],

+ 11 - 14
helper/refill/api/xyz/ruizhi/account.txt

@@ -7,24 +7,21 @@
 用户编号:65920
 秘钥:8AB0A66B1C62
 
-20001 全国移动10元
-20002 全国移动20元
-20003 全国移动30元
-20004 全国移动50元
+2022.11.10
 20004 全国移动50元
 20005 全国移动100元
 20006 全国移动200元
 20007 全国移动300元
 20008 全国移动500元
 
-2022.3.9新增联通 电信
-20011	全国联通30元
-20012	全国联通50元
-20013	全国联通100元
-20014	全国联通200元
-20015	全国联通300元
+20012 全国联通50元
+20013 全国联通100元
+20014 全国联通200元
+20015 全国联通300元
+20016 全国联通500元
 
-20021	全国电信100元
-20022	全国电信200元
-20023	全国电信300元
-20024	全国电信500元
+20020 全国电信50元
+20021 全国电信100元
+20022 全国电信200元
+20023 全国电信300元
+20024 全国电信500元

+ 3 - 5
helper/refill/api/xyz/ruizhi/config.php

@@ -17,9 +17,6 @@ class config
     const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [
-            10  => 20001,
-            20  => 20002,
-            30  => 20003,
             50  => 20004,
             100 => 20005,
             200 => 20006,
@@ -27,13 +24,14 @@ class config
             500 => 20008
         ],
         mtopcard\ChinaUnicomCard => [
-            30  => 20011,
             50  => 20012,
             100 => 20013,
             200 => 20014,
             300 => 20015,
+            500 => 20016
         ],
         mtopcard\ChinaTelecomCard => [
+            50  => 20020,
             100 => 20021,
             200 => 20022,
             300 => 20023,
@@ -41,4 +39,4 @@ class config
         ],
     ];
     const ERRCODES = ['101', '102', '103', '104', '105', '106', '107', '108', '109', '100', '112', '115', '116', '117', '118', '119', '120'];
-}
+}