소스 검색

Merge branch 'raccount' of 39.97.239.116:gyfl/xyzshop into raccount

stanley 2 년 전
부모
커밋
c8828ce918

+ 36 - 21
data/config/xyz/refill.ini.php

@@ -6753,28 +6753,28 @@ $dazhanggui_high_phone = ['name' => 'dazhanggui_high', 'store_id' => 245, 'quali
         50 => [
             ['goods_id' => 8026, 'price' => 48.75, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8026, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8026, 'price' => 48.75, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8026, 'price' => 49, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
             ['goods_id' => 8027, 'price' => 97.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8027, 'price' => 95, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8027, 'price' => 97.5, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8027, 'price' => 98, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
             ['goods_id' => 8028, 'price' => 195, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8028, 'price' => 190, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 8028, 'price' => 195, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8028, 'price' => 196, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
-//        300 => [
-//            ['goods_id' => 8029, 'price' => 288, 'quality' => 1, 'card_type' => 'chinamobile'],
+        300 => [
+            ['goods_id' => 8029, 'price' => 292.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8029, 'price' => 285, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 8029, 'price' => 285, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 8030, 'price' => 480, 'quality' => 1, 'card_type' => 'chinamobile'],
+        ],
+        500 => [
+            ['goods_id' => 8030, 'price' => 487.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8030, 'price' => 475, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 8030, 'price' => 475, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 
@@ -6838,32 +6838,32 @@ $bodian_yd_phone = ['name' => 'bodian_yd', 'store_id' => 247, 'qualitys' => '2',
         30 => [
             ['goods_id' => 8041, 'price' => 30.09, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8041, 'price' => 29.4, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8041, 'price' => 29.4, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8041, 'price' => 30.12, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
         50 => [
             ['goods_id' => 8042, 'price' => 50.15, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8042, 'price' => 49, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8042, 'price' => 49, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8042, 'price' => 50.2, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
         100 => [
             ['goods_id' => 8043, 'price' => 100.3, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8043, 'price' => 98, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8043, 'price' => 98, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8043, 'price' => 100.4, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
         200 => [
             ['goods_id' => 8044, 'price' => 200.6, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8044, 'price' => 196, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8044, 'price' => 196, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8044, 'price' => 200.8, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
         300 => [
             ['goods_id' => 8045, 'price' => 300.9, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8045, 'price' => 294, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8045, 'price' => 294, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8045, 'price' => 301.2, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
         500 => [
             ['goods_id' => 8046, 'price' => 501.5, 'quality' => 2, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 8046, 'price' => 490, 'quality' => 2, 'card_type' => 'chinaunicom'],
-//            ['goods_id' => 8046, 'price' => 490, 'quality' => 2, 'card_type' => 'chinatelecom']
+            ['goods_id' => 8046, 'price' => 502, 'quality' => 2, 'card_type' => 'chinatelecom']
         ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
@@ -7478,12 +7478,12 @@ $lechongyin_phone = ['name' => 'lechongyin', 'store_id' => 274, 'qualitys' => '2
     'amount' => [
 //        10 => [['goods_id' => 8279, 'price' => 10.05, 'quality' => 2, 'card_type' => 'chinamobile']],
 //        20 => [['goods_id' => 8280, 'price' => 20.1, 'quality' => 2, 'card_type' => 'chinamobile']],
-        30 => [['goods_id' => 8281, 'price' => 30.15, 'quality' => 2, 'card_type' => 'chinamobile']],
-        50 => [['goods_id' => 8282, 'price' => 50.25, 'quality' => 2, 'card_type' => 'chinamobile']],
-        100 => [['goods_id' => 8283, 'price' => 100.5, 'quality' => 2, 'card_type' => 'chinamobile']],
-        200 => [['goods_id' => 8284, 'price' => 201, 'quality' => 2, 'card_type' => 'chinamobile']],
-        300 => [['goods_id' => 8285, 'price' => 301.5, 'quality' => 2, 'card_type' => 'chinamobile']],
-        500 => [['goods_id' => 8286, 'price' => 502.5, 'quality' => 2, 'card_type' => 'chinamobile']]
+        30 => [['goods_id' => 8281, 'price' => 30.15, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']],
+        50 => [['goods_id' => 8282, 'price' => 50.25, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']],
+        100 => [['goods_id' => 8283, 'price' => 100.5, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']],
+        200 => [['goods_id' => 8284, 'price' => 201, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']],
+        300 => [['goods_id' => 8285, 'price' => 301.5, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']],
+        500 => [['goods_id' => 8286, 'price' => 502.5, 'quality' => 2, 'card_type' => 'chinamobile,chinatelecom']]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 
@@ -8470,6 +8470,20 @@ $yunhui_phone = ['name' => 'yunhui', 'store_id' => 308, 'qualitys' => '2',
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 
+
+$yelin_tax_phone = ['name' => 'yelin_tax', 'store_id' => 309, 'qualitys' => '3',
+    'amount' => [
+//        10 => [['goods_id' => 8545, 'price' => 10, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+//        20 => [['goods_id' => 8546, 'price' => 20, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        30 => [['goods_id' => 8547, 'price' => 30, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        50 => [['goods_id' => 8548, 'price' => 50, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        100 => [['goods_id' => 8549, 'price' => 100, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        200 => [['goods_id' => 8550, 'price' => 200, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        300 => [['goods_id' => 8551, 'price' => 300, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']],
+        500 => [['goods_id' => 8552, 'price' => 500, 'quality' => 3, 'card_type' => 'chinamobile,chinaunicom,chinatelecom']]
+    ],
+    'official_sn' => true, 'refill_type' => 'api'];
+
 $phone_providers = [
 //    ['name' => 'beixt', 'cfg' => $beixt_phone],
 //    ['name' => 'bxtwt', 'cfg' => $bxtwt_phone],
@@ -8731,6 +8745,7 @@ $phone_providers = [
     ['name' => 'piaoyi', 'cfg' => $piaoyi_phone],
     ['name' => 'piaoyi_ylyw', 'cfg' => $piaoyi_ylyw_phone],
     ['name' => 'yunhui', 'cfg' => $yunhui_phone],
+    ['name' => 'yelin_tax', 'cfg' => $yelin_tax_phone],
 
 ];
 $config['phone_providers'] = $phone_providers;

+ 9 - 9
data/config/yl/refill.ini.php

@@ -6482,28 +6482,28 @@ $dazhanggui_high_phone = ['name' => 'dazhanggui_high', 'store_id' => 236, 'quali
         50 => [
             ['goods_id' => 7974, 'price' => 48.75, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7974, 'price' => 47.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 7974, 'price' => 48.75, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 7974, 'price' => 49, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
             ['goods_id' => 7975, 'price' => 97.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7975, 'price' => 95, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 7975, 'price' => 97.5, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 7975, 'price' => 98, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
             ['goods_id' => 7976, 'price' => 195, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7976, 'price' => 190, 'quality' => 1, 'card_type' => 'chinaunicom'],
-            ['goods_id' => 7976, 'price' => 195, 'quality' => 1, 'card_type' => 'chinatelecom']
+            ['goods_id' => 7976, 'price' => 196, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
-//        300 => [
-//            ['goods_id' => 7977, 'price' => 288, 'quality' => 1, 'card_type' => 'chinamobile'],
+        300 => [
+            ['goods_id' => 7977, 'price' => 292.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7977, 'price' => 285, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7977, 'price' => 285, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 7978, 'price' => 480, 'quality' => 1, 'card_type' => 'chinamobile'],
+        ],
+        500 => [
+            ['goods_id' => 7978, 'price' => 487.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7978, 'price' => 475, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7978, 'price' => 475, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 5 - 1
helper/refill/api/xyz/dazhanggui_high/api.txt

@@ -27,4 +27,8 @@
 商品编码
 3000050
 3000100
-3000200
+3000200
+
+2023.4.11
+1013 话费 高价移动300
+1014 话费 高价移动500

+ 2 - 0
helper/refill/api/xyz/dazhanggui_high/config.php

@@ -31,6 +31,8 @@ class config
             50  => 1010,
             100 => 1011,
             200 => 1012,
+            300 => 1013,
+            500 => 1014,
         ],
         mtopcard\ChinaTelecomCard => [
             50  => 3000050,

BIN
helper/refill/api/xyz/meixu_fs/20230411广东移动调价函.png


+ 1 - 1
helper/refill/api/xyz/meixu_fs/config.php

@@ -114,7 +114,7 @@ class config
     const Price = [
         //移动
         "4-10-6" => 9.708, "4-20-6" => 19.416, "4-30-6" => 29.124, "4-50-6" => 48.54, "4-100-6" => 97.08, "4-200-6" => 194.16, "4-300-6" => 291.24, "4-500-6" => 485.4,//辽宁 6
-        "4-30-19" => 29.964, "4-50-19" => 49.94, "4-100-19" => 99.88, "4-200-19" => 199.76, "4-300-19" => 299.64, "4-500-19" => 499.4,//广东 19
+        "4-30-19" => 29.934, "4-50-19" => 49.89, "4-100-19" => 99.78, "4-200-19" => 199.56, "4-300-19" => 299.34, "4-500-19" => 498.9,//广东 19
         "4-10-13" => 9.973, "4-20-13" => 19.946, "4-30-13" => 29.919, "4-50-13" => 49.865, "4-100-13" => 99.73, "4-200-13" => 199.46, "4-300-13" => 299.19, "4-500-13" => 498.65,//福建 13
         "4-10-29" => 9.888, "4-20-29" => 19.776, "4-30-29" => 29.664, "4-50-29" => 49.44, "4-100-29" => 98.88, "4-200-29" => 197.76, "4-300-29" => 296.64, "4-500-29" => 494.4,//青海 29
         "4-50-10" => 49.85, "4-100-10" => 99.7, "4-200-10" => 199.4,//江苏 10

+ 76 - 0
helper/refill/api/xyz/yelin_tax/RefillCallBack.php

@@ -0,0 +1,76 @@
+<?php
+namespace refill\yelin_tax;
+
+require_once(BASE_HELPER_RAPI_PATH . '/yelin_tax/config.php');
+use refill;
+class RefillCallBack implements refill\IRefillCallBack
+{
+    public function verify($params): bool
+    {
+        $input = $params;
+        unset($input['sign']);
+        $sign = $this->sign($input);
+        if ($params['sign'] == $sign) {
+            return true;
+        } else {
+            return false;
+        }
+    }
+
+    protected function check_empty($value)
+    {
+        if (!isset($value))
+            return true;
+        if ($value === null)
+            return true;
+        if (trim($value) === "")
+            return true;
+
+        return false;
+    }
+
+    private function sign($params)
+    {
+        ksort($params);
+
+        $body = "";
+        $i = 0;
+        foreach ($params as $k => $v) {
+            if (false === $this->check_empty($v) && "@" != substr($v, 0, 1)) {
+                if ($i == 0) {
+                    $body .= "{$k}" . "=" . urlencode($v);
+                } else {
+                    $body .= "&" . "{$k}" . "=" . urlencode($v);
+                }
+                $i++;
+            }
+        }
+
+        $body .= "&key=".config::KEY;
+        return md5($body);
+    }
+
+    public function notify($params)
+    {
+        $status = $params['state'];
+        $order_sn = $params['order_sn'];
+        $order_info = Model('vr_order')->getOrderInfoForNotify(['order_sn' => $order_sn]);
+        if (empty($order_info)) {
+            return [false, false, false,false];
+        }
+        $order_id = $order_info['order_id'];
+        if ($status === 'SUCCESS') {
+            $data['ch_trade_no'] = $params['trade_no'];
+            $data['official_sn'] = strtolower($params['official_sn']) == 'null' ? '' : $params['official_sn'];
+            Model('refill_order')->edit($order_id, $data);
+            return [$order_id, true, false,true];
+        }
+        elseif ($status === 'CANCEL') {
+            Model('refill_order')->edit($order_id, ['ch_trade_no' => $params['trade_no']]);
+            return [$order_id, false, true,true];
+        }
+        else {
+            return [$order_id, false, false,false];
+        }
+    }
+}

+ 161 - 0
helper/refill/api/xyz/yelin_tax/RefillPhone.php

@@ -0,0 +1,161 @@
+<?php
+
+namespace refill\yelin_tax;
+
+require_once(BASE_HELPER_RAPI_PATH . '/yelin_tax/config.php');
+
+use refill;
+use Log;
+
+class RefillPhone extends refill\IRefillPhone
+{
+    public function __construct($cfgs)
+    {
+        parent::__construct($cfgs);
+    }
+
+    private function req_params(int $phone, int $amount, string $order_sn)
+    {
+        $params['act'] = 'refill';
+        $params['op'] = 'add';
+        $params['mchid'] = config::MCH_ID;
+        $params['cardno'] = $phone;
+        $params['amount'] = $amount;
+        $params['order_sn'] = $order_sn;
+        $params['notifyurl'] = config::NOTIFY_URL;
+        return $params;
+    }
+
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
+    {
+        $params = $this->req_params($card_no, $amount, $params['order_sn']);
+        $sign = $this->sign($params);
+        $params['sign'] = $sign;
+
+        $resp = http_request(config::ORDER_URL, $params , 'POST' , false , [] , $net_errno);
+
+        if (empty($resp)) {
+            return [false, '系统错误', true];
+        }
+        else
+        {
+            Log::record($resp, Log::DEBUG);
+            $resp = json_decode($resp ,true);
+            if (empty($resp)) {
+                return [false, '系统错误', true];
+            } elseif ($resp['code'] === 200) {
+                return [true, '', false];
+            } else {
+                return [false, $resp['message'], false];
+            }
+        }
+    }
+
+    public function query($refill_info)
+    {
+        $params['act'] = 'refill';
+        $params['op'] = 'query';
+        $params['mchid'] = config::MCH_ID;
+        $params['order_sn'] = $refill_info['order_sn'];
+        $params['sign'] = $this->sign($params);
+
+        $resp = http_request(config::ORDER_URL, $params , 'POST');
+        if (empty($resp)) {
+            return [false, '系统错误'];
+        }
+        else
+        {
+            Log::record($resp, Log::DEBUG);
+            $resp = json_decode($resp, true);
+            if (empty($resp)) {
+                return [false, '系统错误'];
+            }
+            elseif ($resp['code'] === 200)
+            {
+                $data = $resp['datas'];
+                if ($data['order_state'] == '40') {
+                    $save['ch_trade_no'] = $data['trade_no'];
+                    $save['official_sn'] = strtolower($resp['official_sn']) == 'null' ? '' : $resp['official_sn'];
+                    Model('refill_order')->edit($refill_info['order_id'], $save);
+                    $order_state = ORDER_STATE_SUCCESS;
+                } elseif ($data['order_state'] === '0') {
+                    Model('refill_order')->edit($refill_info['order_id'], ['ch_trade_no' => $data['trade_no']]);
+                    $order_state = ORDER_STATE_CANCEL;
+                } elseif (in_array($data['order_state'], ['10', '20', '30', '50'], true)) {
+                    $order_state = ORDER_STATE_SEND;
+                } else {
+                    return [false, $resp['message']];
+                }
+                return [true, $order_state];
+            }
+            elseif ($resp['code'] === 202 && (time() - $refill_info['commit_time'] >= 600))
+            {
+                return [true, ORDER_STATE_NOEXIST];
+            }
+            else
+            {
+                return [false, $resp['message']];
+            }
+        }
+    }
+
+    public function balance()
+    {
+        $params['act'] = 'refill';
+        $params['op'] = 'balance';
+        $params['mchid'] = config::MCH_ID;
+        $params['sign'] = $this->sign($params);
+
+        $resp = http_request(config::ORDER_URL, $params , 'POST');
+
+        if (empty($resp)) {
+            return [false, '系统错误'];
+        }
+        else
+        {
+            Log::record($resp, Log::DEBUG);
+            $resp = json_decode($resp, true);
+            if (empty($resp)) {
+                return [false, '系统错误'];
+            } elseif ($resp['code'] === 200) {
+                return [true, $resp['datas']['balance']];
+            } else {
+                return [false, $resp['message']];
+            }
+        }
+    }
+
+    protected function check_empty($value)
+    {
+        if (!isset($value))
+            return true;
+        if ($value === null)
+            return true;
+        if (trim($value) === "")
+            return true;
+
+        return false;
+    }
+
+    private function sign($params)
+    {
+        ksort($params);
+
+        $body = "";
+        $i = 0;
+        foreach ($params as $k => $v) {
+            if (false === $this->check_empty($v) && "@" != substr($v, 0, 1)) {
+                if ($i == 0) {
+                    $body .= "{$k}" . "=" . urlencode($v);
+                } else {
+                    $body .= "&" . "{$k}" . "=" . urlencode($v);
+                }
+                $i++;
+            }
+        }
+
+        $body .= "&key=".config::KEY;
+
+        return md5($body);
+    }
+}

+ 12 - 0
helper/refill/api/xyz/yelin_tax/config.php

@@ -0,0 +1,12 @@
+<?php
+
+namespace refill\yelin_tax;
+
+class config
+{
+    const ORDER_URL = 'https://ylapi.xyzshops.cn/mobile/index.php';
+
+    const MCH_ID = 10324;
+    const KEY = '66222bf56e7d1d59ed48d38f5b666228';
+    const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yelin_tax.php";
+}

BIN
helper/refill/api/xyz/yuewen_fs/20230409贵州移动调价函.png


+ 2 - 1
helper/refill/api/xyz/yuewen_fs/config.php

@@ -29,6 +29,7 @@ class config
         [
             //贵州
             24 => [
+                30  => '32384',
                 50  => '32385',
                 100 => '32386',
                 200 => '323627',
@@ -145,7 +146,7 @@ class config
     //key格式 卡类型-面值-regin_no
     const Price = [
         //移动
-        "4-50-24" => 47, "4-100-24" => 94, "4-200-24" => 188,//贵州 24
+        "4-30-24" => 27.75, "4-50-24" => 46.25, "4-100-24" => 92.5, "4-200-24" => 185,//贵州 24
         "4-30-10" => 28.35,"4-50-10" => 47.9, "4-100-10" => 95.8, "4-200-10" => 191.6,//江苏 10
         "4-30-13" => 28.2, "4-50-13" => 47, "4-100-13" => 94, "4-200-13" => 188,//福建 13
         "4-50-16" => 47, "4-100-16" => 94, "4-200-16" => 188,//河南 16

+ 8 - 0
helper/refill/api/xyz/yuewen_fs/对接文档-yezi.txt

@@ -102,3 +102,11 @@ http://123.60.5.158:9086/searchbalance.do
 2023.3.15
 同步福建移动
 3830  福建移动30元直充
+
+
+2023.4.9
+商品编码
+32384 贵州移动30元直充
+32385 贵州移动50元直充
+32386 贵州移动100元直充
+323627 贵州移动200元直充

BIN
helper/refill/api/xyz/yunchonggongfs/20230410江苏移动调价函.png


+ 1 - 1
helper/refill/api/xyz/yunchonggongfs/config.php

@@ -28,7 +28,7 @@ class config
     //key格式 卡类型-面值-regin_no
     const Price = [
         //移动
-        "4-30-10" => 28.5, "4-50-10" => 47.95, "4-100-10" => 95.9, "4-200-10" => 191.8,//江苏 10
+        "4-30-10" => 28.77, "4-50-10" => 47.95, "4-100-10" => 95.9, "4-200-10" => 191.8,//江苏 10
         "4-30-15" => 28.5, "4-50-15" => 47.5, "4-100-15" => 95, "4-200-15" => 190,//山东 15
         "4-30-24" => 27.9, "4-50-24" => 46.5, "4-100-24" => 93, "4-200-24" => 186,//贵州 24
         "4-30-13" => 28.56, "4-50-13" => 47.6, "4-100-13" => 95.2, "4-200-13" => 190.4,//福建 13

+ 2 - 0
helper/refill/api/yl/dazhanggui_high/config.php

@@ -31,6 +31,8 @@ class config
             50  => 1010,
             100 => 1011,
             200 => 1012,
+            300 => 1013,
+            500 => 1014,
         ],
         mtopcard\ChinaTelecomCard => [
             50  => 3000050,

+ 1 - 1
helper/refill/api/yl/yunchonggongfs/config.php

@@ -28,7 +28,7 @@ class config
     //key格式 卡类型-面值-regin_no
     const Price = [
         //移动
-        "4-30-10" => 28.5, "4-50-10" => 47.95, "4-100-10" => 95.9, "4-200-10" => 191.8,//江苏 10
+        "4-30-10" => 28.77, "4-50-10" => 47.95, "4-100-10" => 95.9, "4-200-10" => 191.8,//江苏 10
         "4-30-15" => 28.5, "4-50-15" => 47.5, "4-100-15" => 95, "4-200-15" => 190,//山东 15
         "4-30-24" => 27.9, "4-50-24" => 46.5, "4-100-24" => 93, "4-200-24" => 186,//贵州 24
         "4-30-13" => 28.56, "4-50-13" => 47.6, "4-100-13" => 95.2, "4-200-13" => 190.4,//福建 13

+ 4 - 0
mobile/callback/refill_yelin_tax.php

@@ -0,0 +1,4 @@
+<?php
+
+refill\util::push_notify('yelin_tax',$_POST);
+echo ('SUCCESS');