浏览代码

xyz meixu_sec add yd 10-500

xiaoyu 1 年之前
父节点
当前提交
f40ca1e3a6

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

@@ -9116,14 +9116,35 @@ $quanzhen_hf_man_phone = ['name' => 'quanzhen_hf_man', 'store_id' => 332, 'quali
 
 $meixu_sec_phone = ['name' => 'meixu_sec', 'store_id' => 336, 'qualitys' => '2',
     'amount' => [
-//        10 => [['goods_id' => 8719, 'price' => 9.96, 'quality' => 2, 'card_type' => 'chinatelecom']],
-//        20 => [['goods_id' => 8720, 'price' => 19.92, 'quality' => 2, 'card_type' => 'chinatelecom']],
-//        30 => [['goods_id' => 8721, 'price' => 29.88, 'quality' => 2, 'card_type' => 'chinatelecom']],
-        50 => [['goods_id' => 8722, 'price' => 50.55, 'quality' => 2, 'card_type' => 'chinatelecom']],
-        100 => [['goods_id' => 8723, 'price' => 100.5, 'quality' => 2, 'card_type' => 'chinatelecom']],
-        200 => [['goods_id' => 8724, 'price' => 200.6, 'quality' => 2, 'card_type' => 'chinatelecom']],
-        300 => [['goods_id' => 8725, 'price' => 300.9, 'quality' => 2, 'card_type' => 'chinatelecom']],
-        500 => [['goods_id' => 8726, 'price' => 501.5, 'quality' => 2, 'card_type' => 'chinatelecom']]
+        10 => [
+            ['goods_id' => 8719, 'price' => 10.18, 'quality' => 2, 'card_type' => 'chinamobile'],
+        ],
+        20 => [
+            ['goods_id' => 8720, 'price' => 20.36, 'quality' => 2, 'card_type' => 'chinamobile']
+        ],
+        30 => [
+            ['goods_id' => 8721, 'price' => 30.54, 'quality' => 2, 'card_type' => 'chinamobile']
+        ],
+        50 => [
+            ['goods_id' => 8722, 'price' => 50.4, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 8722, 'price' => 50.55, 'quality' => 2, 'card_type' => 'chinatelecom'],
+        ],
+        100 => [
+            ['goods_id' => 8723, 'price' => 100.55, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 8723, 'price' => 100.5, 'quality' => 2, 'card_type' => 'chinatelecom'],
+        ],
+        200 => [
+            ['goods_id' => 8724, 'price' => 201.1, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 8724, 'price' => 200.6, 'quality' => 2, 'card_type' => 'chinatelecom'],
+        ],
+        300 => [
+            ['goods_id' => 8725, 'price' => 301.65, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 8725, 'price' => 300.9, 'quality' => 2, 'card_type' => 'chinatelecom'],
+        ],
+        500 => [
+            ['goods_id' => 8726, 'price' => 502.75, 'quality' => 2, 'card_type' => 'chinamobile'],
+            ['goods_id' => 8726, 'price' => 501.5, 'quality' => 2, 'card_type' => 'chinatelecom'],
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 8 - 1
helper/refill/api/xyz/meixu_sec/config.php

@@ -24,7 +24,14 @@ class config
     ];
     const ProductId = [
         mtopcard\ChinaMobileCard => [
-
+            10 => 30000003370,
+            20 => 30000003371,
+            30 => 30000003372,
+            50 => 30000003373,
+            100 => 30000003374,
+            200 => 30000003375,
+            300 => 30000003376,
+            500 => 30000003377,
         ],
         mtopcard\ChinaUnicomCard => [
 

+ 11 - 1
helper/refill/api/xyz/meixu_sec/对接文档-yezi.txt

@@ -17,4 +17,14 @@
 30000003449	全国电信电渠话费500元
 
 2023.7.14
-30000003445 全国电信电渠话费50元
+30000003445 全国电信电渠话费50元
+
+2023.8.11
+30000003370  全国移动和包话费10元
+30000003371  全国移动和包话费20元
+30000003372  全国移动和包话费30元
+30000003373  全国移动和包话费50元
+30000003374  全国移动和包话费100元
+30000003375  全国移动和包话费200元
+30000003376  全国移动和包话费300元
+30000003377  全国移动和包话费500元