Prechádzať zdrojové kódy

灿彬全国2号 挪到椰子

lowkeyman 1 mesiac pred
rodič
commit
276ffde5da

+ 46 - 0
data/config/xyz/phone.ini.php

@@ -4242,6 +4242,51 @@ $kachong70_ye_phone = [
         ]
     ]
 ];
+$canbin_sec_phone = [
+    'name' => 'canbin_sec', 'store_id' => 436, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',
+    'amount' => [
+//        10 => [
+//            ['goods_id' => 9451, 'price' => 10, 'quality' => 1, 'card_type' => 'chinamobile'],
+//            ['goods_id' => 9451, 'price' => 10, 'quality' => 1, 'card_type' => 'chinaunicom'],
+//            ['goods_id' => 9451, 'price' => 10, 'quality' => 1, 'card_type' => 'chinatelecom']
+//        ],
+//        20 => [
+//            ['goods_id' => 9452, 'price' => 20, 'quality' => 1, 'card_type' => 'chinamobile'],
+//            ['goods_id' => 9452, 'price' => 20, 'quality' => 1, 'card_type' => 'chinaunicom'],
+//            ['goods_id' => 9452, 'price' => 20, 'quality' => 1, 'card_type' => 'chinatelecom']
+//        ],
+        30 => [
+//            ['goods_id' => 9453, 'price' => 30, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 9453, 'price' => 28.38, 'quality' => 1, 'card_type' => 'chinaunicom'],
+//            ['goods_id' => 9453, 'price' => 30, 'quality' => 1, 'card_type' => 'chinatelecom']
+        ],
+        50 => [
+            ['goods_id' => 9454, 'price' => 48.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 9454, 'price' => 47.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 9454, 'price' => 48.6, 'quality' => 1, 'card_type' => 'chinatelecom']
+        ],
+        100 => [
+            ['goods_id' => 9455, 'price' => 97, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 9455, 'price' => 94.6, 'quality' => 1, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 9455, 'price' => 97.2, 'quality' => 1, 'card_type' => 'chinatelecom']
+        ],
+        200 => [
+            ['goods_id' => 9456, 'price' => 194, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 9456, 'price' => 189.2, 'quality' => 1, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 9456, 'price' => 194.4, 'quality' => 1, 'card_type' => 'chinatelecom']
+        ],
+//        300 => [
+//            ['goods_id' => 9457, 'price' => 300, 'quality' => 1, 'card_type' => 'chinamobile'],
+//            ['goods_id' => 9457, 'price' => 300, 'quality' => 1, 'card_type' => 'chinaunicom'],
+//            ['goods_id' => 9457, 'price' => 300, 'quality' => 1, 'card_type' => 'chinatelecom']
+//        ],
+//        500 => [
+//            ['goods_id' => 9458, 'price' => 500, 'quality' => 1, 'card_type' => 'chinamobile'],
+//            ['goods_id' => 9458, 'price' => 500, 'quality' => 1, 'card_type' => 'chinaunicom'],
+//            ['goods_id' => 9458, 'price' => 500, 'quality' => 1, 'card_type' => 'chinatelecom']
+//        ]
+    ]
+];
 
 $phone_providers = [
 	[ 'name' => 'xunyin', 'cfg' => $xunyin_phone ],
@@ -4365,4 +4410,5 @@ $phone_providers = [
     [ 'name' => 'chanlian_sec', 'cfg' => $chanlian_sec_phone ],
     [ 'name' => 'yeyekc18', 'cfg' => $yeyekc18_phone ],
     [ 'name' => 'kachong70_ye', 'cfg' => $kachong70_ye_phone ],
+    [ 'name' => 'canbin_sec', 'cfg' => $canbin_sec_phone ],
 	];

+ 1 - 46
data/config/yl/phone.ini.php

@@ -2818,51 +2818,7 @@ $canbin_phone = [
 //        ]
     ]
 ];
-$canbin_sec_phone = [
-    'name' => 'canbin_sec', 'store_id' => 365, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',
-    'amount' => [
-//        10 => [
-//            ['goods_id' => 8938, 'price' => 10, 'quality' => 1, 'card_type' => 'chinamobile'],
-//            ['goods_id' => 8938, 'price' => 10, 'quality' => 1, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8938, 'price' => 10, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        20 => [
-//            ['goods_id' => 8939, 'price' => 20, 'quality' => 1, 'card_type' => 'chinamobile'],
-//            ['goods_id' => 8939, 'price' => 20, 'quality' => 1, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8939, 'price' => 20, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-        30 => [
-//            ['goods_id' => 8940, 'price' => 30, 'quality' => 1, 'card_type' => 'chinamobile'],
-            ['goods_id' => 8940, 'price' => 28.38, 'quality' => 1, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8940, 'price' => 30, 'quality' => 1, 'card_type' => 'chinatelecom']
-        ],
-        50 => [
-            ['goods_id' => 8941, 'price' => 48.5, 'quality' => 1, 'card_type' => 'chinamobile'],
-            ['goods_id' => 8941, 'price' => 47.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8941, 'price' => 48.6, 'quality' => 1, 'card_type' => 'chinatelecom']
-        ],
-        100 => [
-            ['goods_id' => 8942, 'price' => 97, 'quality' => 1, 'card_type' => 'chinamobile'],
-            ['goods_id' => 8942, 'price' => 94.6, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8942, 'price' => 97.2, 'quality' => 1, 'card_type' => 'chinatelecom']
-        ],
-        200 => [
-            ['goods_id' => 8943, 'price' => 194, 'quality' => 1, 'card_type' => 'chinamobile'],
-            ['goods_id' => 8943, 'price' => 189.2, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8943, 'price' => 194.4, 'quality' => 1, 'card_type' => 'chinatelecom']
-        ],
-//        300 => [
-//            ['goods_id' => 8944, 'price' => 300, 'quality' => 1, 'card_type' => 'chinamobile'],
-//            ['goods_id' => 8944, 'price' => 300, 'quality' => 1, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8944, 'price' => 300, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 8945, 'price' => 500, 'quality' => 1, 'card_type' => 'chinamobile'],
-//            ['goods_id' => 8945, 'price' => 500, 'quality' => 1, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8945, 'price' => 500, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
-    ]
-];
+
 $canbin_jingdong_phone = [
     'name' => 'canbin_jingdong', 'store_id' => 366, 'qualitys' => '1', 'official_sn' => true, 'refill_type' => 'api',
     'amount' => [
@@ -3064,7 +3020,6 @@ $phone_providers = [
     [ 'name' => 'tetengsu_sec', 'cfg' => $tetengsu_sec_phone ],
     [ 'name' => 'techaohe_trd', 'cfg' => $techaohe_trd_phone ],
     [ 'name' => 'canbin', 'cfg' => $canbin_phone ],
-    [ 'name' => 'canbin_sec', 'cfg' => $canbin_sec_phone ],
     [ 'name' => 'canbin_jingdong', 'cfg' => $canbin_jingdong_phone ],
     [ 'name' => 'canbin_fs', 'cfg' => $canbin_fs_phone ],
     [ 'name' => 'yeyekcthreehv', 'cfg' => $yeyekcthreehv_phone ],

+ 1 - 1
helper/refill/api/yl/canbin_sec/API.MD

@@ -16,7 +16,7 @@
 
 ### 店铺账号
 - canbin_sec
-- nantai_sec67890
+- canbin_sec67890
 
 ### 产品编码
 ```angular2html

+ 1 - 0
helper/refill/api/yl/canbin_sec/RefillCallBack.php

@@ -4,6 +4,7 @@ namespace refill\canbin_sec;
 require_once(BASE_HELPER_RAPI_PATH . '/canbin_sec/config.php');
 
 use refill;
+
 class RefillCallBack implements refill\IRefillCallBack
 {
     public function verify($params): bool

helper/refill/api/yl/canbin_sec/RefillPhone.php → helper/refill/api/xyz/canbin_sec/RefillPhone.php


+ 1 - 0
helper/refill/api/yl/canbin_sec/config.php

@@ -4,6 +4,7 @@
 namespace refill\canbin_sec;
 
 use mtopcard;
+
 class config
 {
     const ORDER_URL = 'http://8.154.19.179:16188/plat/api/hf/submitorder';

+ 1 - 1
helper/refill/api/yl/canbin/API.MD

@@ -15,7 +15,7 @@
 > https://docs.qq.com/doc/DWEhQWEhDVEJIdUVC
 
 ### 店铺账号
-- canbin
+- nantai
 - nantai67890
 
 ### 产品编码

+ 1 - 1
helper/refill/api/yl/canbin_fs/API.MD

@@ -15,7 +15,7 @@
 > https://docs.qq.com/doc/DWEhQWEhDVEJIdUVC
 
 ### 店铺账号
-- canbin_fs
+- nantai_fs
 - nantai_fs67890
 
 ### 产品编码

+ 1 - 1
helper/refill/api/yl/canbin_jingdong/API.MD

@@ -15,7 +15,7 @@
 > https://docs.qq.com/doc/DWEhQWEhDVEJIdUVC
 
 ### 店铺账号
-- canbin_jingdong
+- nantai_jingdong
 - nantai_jingdong67890
 
 ### 产品编码