Forráskód Böngészése

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

stanley-king 3 éve
szülő
commit
2e9857f182

+ 38 - 24
admin/control/refill_config.php

@@ -24,16 +24,12 @@ class refill_configControl extends SystemControl
         $province_list[-1] = '全国';
         ksort($province_list);
 
-        if (chksubmit())
-        {
+        if (chksubmit()) {
             $intercept = [];
-            foreach ($qualitys as $quality_key => $quality_txt)
-            {
-                foreach ($card_types as $card_type_key => $card_type_text)
-                {
+            foreach ($qualitys as $quality_key => $quality_txt) {
+                foreach ($card_types as $card_type_key => $card_type_text) {
                     $key = $quality_key . '-' . $card_type_key;
-                    foreach ($province_list as $province_key => $province_text)
-                    {
+                    foreach ($province_list as $province_key => $province_text) {
                         $data_key = $key . '-' . $province_key;
                         if (array_key_exists($data_key, $_POST)) {
                             $intercept[$key][$province_key] = intval($_POST[$data_key]);
@@ -43,12 +39,10 @@ class refill_configControl extends SystemControl
             }
             $intercept = serialize($intercept);
 
-            Log::record("intercept={$intercept}",Log::DEBUG);
-            wkcache('refill-intercept',$intercept);
+            Log::record("intercept={$intercept}", Log::DEBUG);
+            wkcache('refill-intercept', $intercept);
             showMessage('编辑成功');
-        }
-        else
-        {
+        } else {
             $intercept = rkcache('refill-intercept');
             if (empty($intercept)) {
                 $intercept = [];
@@ -69,22 +63,23 @@ class refill_configControl extends SystemControl
         $mod_card_info = Model('card_info');
         $cond = [];
         $card_list = [];
-        if(!empty($_GET['card_nos'])) {
+        if (!empty($_GET['card_nos'])) {
             $card_nos = trim($_GET['card_nos'], ',');
             $cond['card_no'] = ['in', $card_nos];
         }
 
-        if(!empty($cond)) {
+        if (!empty($cond)) {
             $card_list = $mod_card_info->getCardInfoList($cond, 200);
             $province_list = mtopcard\ProvinceList;
-            foreach ($card_list as $key => $card_info)
-            {
+            $card_state = mtopcard\CardState;
+            foreach ($card_list as $key => $card_info) {
                 $card_list[$key]['card_type_text'] = $this->scard_type($card_info['card_type']);
-                if($card_info['regin'] > 0) {
+                if ($card_info['regin'] > 0) {
                     $card_list[$key]['regin'] = $province_list[$card_info['regin']];
-                }else{
+                } else {
                     $card_list[$key]['regin'] = '/';
                 }
+                $card_list[$key]['card_state_text'] = $card_state[$card_info['card_state']];
             }
             Tpl::output('show_page', $mod_card_info->showpage());
         }
@@ -100,19 +95,38 @@ class refill_configControl extends SystemControl
         $cond['card_no'] = ['in', $card_nos];
         $mod_card_info = Model('card_info');
         $resp = true;
-        if($type == 'set') {
+        if ($type == 'set') {
             $cond['black'] = 0;
             $resp = $mod_card_info->SetBlackCard($cond);
-        }elseif ($type == 'unset') {
+        } elseif ($type == 'unset') {
             $cond['black'] = 1;
             $resp = $mod_card_info->UnSetBlackCard($cond);
-        }else{
+        } else {
             showMessage('操作类型有误');
         }
 
-        if($resp) {
+        if ($resp) {
+            showMessage('设置成功');
+        } else {
+            showMessage('设置失败');
+        }
+    }
+
+    public function set_card_stateOp()
+    {
+        $card_state = $_GET['card_state'];
+        $card_no = $_GET['card_no'];
+        if(empty($card_no) || !isset($card_state)) {
+            showMessage('参数错误');
+        }
+        if(!in_array($card_state, ['0','1'])) {
+            showMessage('状态值错误');
+        }
+        $mod_card_info = Model('card_info');
+        $resp = $mod_card_info->UpdateCardState($card_no, $card_state);
+        if ($resp) {
             showMessage('设置成功');
-        }else{
+        } else {
             showMessage('设置失败');
         }
     }

+ 6 - 0
admin/templates/default/card.info.list.php

@@ -113,6 +113,7 @@
             <th class="align-center">编号</th>
             <th class="align-center">卡号</th>
             <th class="align-center">卡类型</th>
+            <th class="align-center">卡状态</th>
             <th class="align-center">是否转网(0非转网1转网)</th>
             <th class="align-center">所属地</th>
             <th class="align-center">黑名单状态</th>
@@ -130,6 +131,7 @@
                     <td class="align-center"><?php echo $key+1;?></td>
                     <td class="align-center"><?php echo $value['card_no'];?></td>
                     <td class="align-center"><?php echo $value['card_type_text'];?></td>
+                    <td class="align-center"><?php echo $value['card_state_text'];?></td>
                     <td class="align-center">
                         <?php echo $value['transfer'];?>
                     </td>
@@ -149,6 +151,10 @@
                             <a href="index.php?act=refill_config&op=set_black_no&type=unset&card_nos=<?php echo $value['card_no']; ?>">
                                 取消黑名单</a>
                         <?php }?>
+                        |<a href="index.php?act=refill_config&op=set_card_state&card_state=0&card_no=<?php echo $value['card_no']; ?>">
+                            设置为空号</a>
+                        |<a href="index.php?act=refill_config&op=set_card_state&card_state=1&card_no=<?php echo $value['card_no']; ?>">
+                            设置为实号</a>
                     </td>
                 </tr>
             <?php } ?>

+ 4 - 4
admin/templates/default/provider.amount.php

@@ -99,8 +99,8 @@
                 <th>记录ID</th>
                 <th>通道名称</th>
                 <th>通道ID</th>
-                <th class="align-center">调整金额</th>
-                <th class="align-center">操作人</th>
+                <th class="align-right">调整金额</th>
+                <th class="align-left">操作人</th>
                 <th class="align-left">操作日期</th>
             </tr>
             </thead>
@@ -112,8 +112,8 @@
                         <td><?php echo $v['id']; ?></td>
                         <td><?php echo $v['provider_name']; ?> (<?php echo $v['store_name'];?>)</td>
                         <td><?php echo $v['provider_id']; ?></td>
-                        <td class="align-center"><?php echo $v['amount']; ?></td>
-                        <td class="align-center"><?php echo $v['operation']; ?></td>
+                        <td class="align-right"><?php echo $v['amount']; ?></td>
+                        <td class="align-left"><?php echo $v['operation']; ?></td>
                         <td class="align-left"><?php echo $v['add_time'] ? date('Y-m-d H:i', $v['add_time']) : $lang['no_limit']; ?></td>
                     </tr>
                 <?php } ?>

+ 5 - 5
admin/templates/default/provider.index.php

@@ -114,8 +114,8 @@
                 <th>通道类型</th>
                 <th class="align-center">通道状态</th>
                 <th>调款操作</th>
-                <th>订单成功后余额</th>
-                <th>接口查询余额</th>
+                <th class="align-right">订单成功后余额</th>
+                <th class="align-right">接口查询余额</th>
                 <th class="align-center">操作</th>
             </tr>
             </thead>
@@ -142,11 +142,11 @@
                         <td>
                             <a href="index.php?act=provider&op=recharge_manual&type=edit&provider_id=<?php echo $v['provider_id'] ?>">调款</a>
                         </td>
-                        <td id="money">
+                        <td id="money" class="align-right">
                             <span><?php echo $v['available_predeposit'] ?? ''; ?></span>
                             <div id="money_w" style=" display: inline-block;margin-left: 7px"></div>
                         </td>
-                        <td id="balance">
+                        <td id="balance" class="align-right">
                            <span><?php echo $v['balance'] ?? ''; ?></span>
                             <div id="balanceall" style=" display: inline-block;margin-left: 7px"></div>
 
@@ -240,7 +240,7 @@
         }
         //为0判断输出
         function data_if(data, amount) {
-          if (data == 0) {
+          if (data === 0) {
             return '';
           } else {
             return data + amount;

+ 20 - 20
admin/templates/default/refill.order.monitor.notify.php

@@ -278,21 +278,21 @@
             <th class="align-center" id="selectAll"><input type="checkbox" name="chbox" value=""></th>
             <th class="align-center">编号</th>
             <th class="align-center">订单号</th>
-            <th class="align-center">机构编号</th>
-            <th class="align-center">机构名称</th>
-            <th class="align-center">充值卡号</th>
+            <th class="align-left">机构编号</th>
+            <th class="align-left">机构名称</th>
+            <th class="align-left">充值卡号</th>
             <th class="align-center">充值卡类型</th>
             <th class="align-center">充值额度</th>
-            <th class="align-right">下单日期</th>
-            <th class="align-right">当前耗时</th>
-            <th class="align-right">总耗时</th>
+            <th class="align-center">下单日期</th>
+            <th class="align-center">当前耗时</th>
+            <th class="align-center">总耗时</th>
             <th class="align-center">订单状态</th>
             <th class="align-center">通道质量</th>
-            <th class="align-center">失败原因</th>
-            <th class="align-center">商家单号</th>
-            <th class="align-center">扣款金额</th>
-            <th class="align-center">渠道单号</th>
-            <th class="align-center">渠道名称</th>
+            <th class="align-left">失败原因</th>
+            <th class="align-left">商家单号</th>
+            <th class="align-left">扣款金额</th>
+            <th class="align-left">渠道单号</th>
+            <th class="align-left">渠道名称</th>
             <th class="align-center"><?php echo $lang['nc_handle']; ?></th>
         </tr>
         </thead>
@@ -303,18 +303,18 @@
                 <tr class="hover trFlex" id="dataColor" data-timeout_State="<?php echo $order['time_out_state'];?>">
                     <td class="align-center"><input type="checkbox" id="checkBoxList" name="checkbox" value="<?php echo $order['order_id'];?>"></td>
                     <td class="align-center"><?php echo $key + 1; ?></td>
-                    <td class="align-left"><?php echo $order['order_sn']; ?></td>
-                    <td class="align-center"><?php echo $order['mchid']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_name']; ?></td>
+                    <td class="align-center"><?php echo $order['order_sn']; ?></td>
+                    <td class="align-left"><?php echo $order['mchid']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_name']; ?></td>
                     <td class="align-left"><?php echo $order['card_no']; ?></td>
                     <td class="align-center"><?php echo $order['card_type_text']; ?></td>
                     <td class="align-center"><?php echo $order['refill_amount']; ?></td>
-                    <td class="align-right">
+                    <td class="align-center">
                     <span class="doubleclick"  data-order="<?php echo $order['order_sn'];?>">
                             <?php echo date('Y-m-d H:i:s', $order['order_time']); ?>
                         </span>
                     </td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['diff_time'] > 180) {
                                 ?>
@@ -327,7 +327,7 @@
                             <?php echo $order['diff_time_text'] ?>
                         <?php } ?>
                     </td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['total_diff_time'] > 180) {
                                 ?>
@@ -341,12 +341,12 @@
                         <?php } ?>
                     </td>
                     <td class="align-center"><?php echo orderState($order); ?></td>
-                    <td class="align-left"><?php echo $order['quality_text']; ?></td>
+                    <td class="align-center"><?php echo $order['quality_text']; ?></td>
                     <td class="align-left"><?php echo $order['err_msg']; ?></td>
                     <td class="align-left"><?php echo $order['mch_order']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_amount']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_amount']; ?></td>
                     <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
-                    <td class="align-center"><?php echo $order['channel_name']; ?></td>
+                    <td class="align-left"><?php echo $order['channel_name']; ?></td>
                     <td class="w144 align-center">
                         <a href="index.php?act=merchant&op=notify_merchant&order_id=<?php echo $order['order_id']; ?>">
                             回调</a>

+ 19 - 19
admin/templates/default/refill.order.neterr.index.php

@@ -164,21 +164,21 @@
             <th class="align-center" id="selectAll"><input type="checkbox" name="chbox" value=""></th>
             <th class="align-center">编号</th>
             <th class="align-center">订单号</th>
-            <th class="align-center">机构编号</th>
-            <th class="align-center">机构名称</th>
-            <th class="align-center">充值卡号</th>
+            <th class="align-left">机构编号</th>
+            <th class="align-left">机构名称</th>
+            <th class="align-left">充值卡号</th>
             <th class="align-center">充值卡类型</th>
             <th class="align-center">充值额度</th>
-            <th class="align-right">下单日期</th>
-            <th class="align-right">耗时</th>
+            <th class="align-center">下单日期</th>
+            <th class="align-center">耗时</th>
             <th class="align-center">订单状态</th>
-            <th class="align-center">运营商流水号</th>
+            <th class="align-left">运营商流水号</th>
             <th class="align-center">通道质量</th>
-            <th class="align-center">失败原因</th>
-            <th class="align-center">商家单号</th>
-            <th class="align-center">扣款金额</th>
-            <th class="align-center">渠道单号</th>
-            <th class="align-center">渠道名称</th>
+            <th class="align-left">失败原因</th>
+            <th class="align-left">商家单号</th>
+            <th class="align-right">扣款金额</th>
+            <th class="align-left">渠道单号</th>
+            <th class="align-left">渠道名称</th>
             <th class="align-center"><?php echo $lang['nc_handle']; ?></th>
         </tr>
         </thead>
@@ -189,16 +189,16 @@
                 <tr class="hover trFlex">
                     <td class="align-center"><input type="checkbox" id="checkBoxList" name="checkbox" value="<?php echo $order['order_id'];?>"></td>
                     <td class="align-center"><?php echo $key + 1; ?></td>
-                    <td class="align-left"><?php echo $order['order_sn']; ?></td>
-                    <td class="align-center"><?php echo $order['mchid']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_name']; ?></td>
+                    <td class="align-center"><?php echo $order['order_sn']; ?></td>
+                    <td class="align-left"><?php echo $order['mchid']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_name']; ?></td>
                     <td class="align-left"><?php echo $order['card_no']; ?></td>
                     <td class="align-center"><?php echo $order['card_type_text']; ?></td>
                     <td class="align-center"><?php echo $order['refill_amount']; ?></td>
-                    <td class="align-right"> <span class="doubleclick"  data-order="<?php echo $order['order_sn'];?>">
+                    <td class="align-center"> <span class="doubleclick"  data-order="<?php echo $order['order_sn'];?>">
                             <?php echo date('Y-m-d H:i:s', $order['order_time']); ?>
                         </span></td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['diff_time'] >= 1800 && $order['diff_time'] <= 3600) {
                                 ?>
@@ -215,12 +215,12 @@
                     </td>
                     <td class="align-center"><?php echo orderState($order); ?></td>
                     <td class="align-left"><?php echo $order['official_sn']; ?></td>
-                    <td class="align-left"><?php echo $order['quality_text']; ?></td>
+                    <td class="align-center"><?php echo $order['quality_text']; ?></td>
                     <td class="align-left"><?php echo $order['err_msg']; ?></td>
                     <td class="align-left"><?php echo $order['mch_order']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_amount']; ?></td>
+                    <td class="align-right"><?php echo $order['mch_amount']; ?></td>
                     <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
-                    <td class="align-center"><?php echo $order['channel_name']; ?></td>
+                    <td class="align-left"><?php echo $order['channel_name']; ?></td>
                     <td class="align-center">
                         <!-- <a href="#">
                                 回调</a>

+ 15 - 15
admin/templates/default/refill.order.notify.err.index.php

@@ -136,20 +136,20 @@
         <tr class="thead">
             <th class="align-center">编号</th>
             <th class="align-center">订单号</th>
-            <th class="align-center">机构编号</th>
-            <th class="align-center">机构名称</th>
-            <th class="align-center">充值卡号</th>
+            <th class="align-left">机构编号</th>
+            <th class="align-left">机构名称</th>
+            <th class="align-left">充值卡号</th>
             <th class="align-center">充值卡类型</th>
             <th class="align-center">充值额度</th>
-            <th class="align-right">下单日期</th>
-            <th class="align-right">耗时</th>
+            <th class="align-center">下单日期</th>
+            <th class="align-center">耗时</th>
             <th class="align-center">订单状态</th>
             <th class="align-center">通道质量</th>
-            <th class="align-center">失败原因</th>
-            <th class="align-center">商家单号</th>
-            <th class="align-center">扣款金额</th>
-            <th class="align-center">渠道单号</th>
-            <th class="align-center">渠道名称</th>
+            <th class="align-left">失败原因</th>
+            <th class="align-left">商家单号</th>
+            <th class="align-right">扣款金额</th>
+            <th class="align-left">渠道单号</th>
+            <th class="align-left">渠道名称</th>
             <th class="align-center">回调状态</th>
             <th class="align-center">回调次数</th>
         </tr>
@@ -160,9 +160,9 @@
             foreach ($output['order_list'] as $key => $order) { ?>
                 <tr class="hover trFlex">
                     <td class="align-center"><?php echo $key + 1; ?></td>
-                    <td class="align-left"><?php echo $order['order_sn']; ?></td>
-                    <td class="align-center"><?php echo $order['mchid']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_name']; ?></td>
+                    <td class="align-center"><?php echo $order['order_sn']; ?></td>
+                    <td class="align-left"><?php echo $order['mchid']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_name']; ?></td>
                     <td class="align-left"><?php echo $order['card_no']; ?></td>
                     <td class="align-center"><?php echo $order['card_type_text']; ?></td>
                     <td class="align-center"><?php echo $order['refill_amount']; ?></td>
@@ -187,10 +187,10 @@
                         <?php } ?>
                     </td>
                     <td class="align-center"><?php echo orderState($order); ?></td>
-                    <td class="align-left"><?php echo $order['quality_text']; ?></td>
+                    <td class="align-center"><?php echo $order['quality_text']; ?></td>
                     <td class="align-left"><?php echo $order['err_msg']; ?></td>
                     <td class="align-left"><?php echo $order['mch_order']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_amount']; ?></td>
+                    <td class="align-right"><?php echo $order['mch_amount']; ?></td>
                     <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
                     <td class="align-center"><?php echo $order['channel_name']; ?></td>
                     <td class="align-center">

+ 22 - 22
admin/templates/default/refill.order.send.index.php

@@ -292,22 +292,22 @@
             <th class="align-center" id="selectAll"><input type="checkbox" name="chbox" value=""></th>
             <th class="align-center">编号</th>
             <th class="align-center">订单号</th>
-            <th class="align-center">机构编号</th>
-            <th class="align-center">机构名称</th>
-            <th class="align-center">充值卡号</th>
+            <th class="align-left">机构编号</th>
+            <th class="align-left">机构名称</th>
+            <th class="align-left">充值卡号</th>
             <th class="align-center">充值卡类型</th>
             <th class="align-center">充值额度</th>
-            <th class="align-right">下单日期</th>
-            <th class="align-right">超时</th>
-            <th class="align-right">当前耗时</th>
-            <th class="align-right">总耗时</th>
+            <th class="align-center">下单日期</th>
+            <th class="align-center">超时</th>
+            <th class="align-center">当前耗时</th>
+            <th class="align-center">总耗时</th>
             <th class="align-center">订单状态</th>
             <th class="align-center">通道质量</th>
-            <th class="align-center">失败原因</th>
-            <th class="align-center">商家单号</th>
-            <th class="align-center">扣款金额</th>
-            <th class="align-center">渠道单号</th>
-            <th class="align-center">渠道名称</th>
+            <th class="align-left">失败原因</th>
+            <th class="align-left">商家单号</th>
+            <th class="align-left">扣款金额</th>
+            <th class="align-left">渠道单号</th>
+            <th class="align-left">渠道名称</th>
             <th class="align-center"><?php echo $lang['nc_handle']; ?></th>
         </tr>
         </thead>
@@ -318,18 +318,18 @@
                 <tr class="hover trFlex" id="dataColor" data-timeout_State="<?php echo $order['time_out_state'];?>">
                     <td class="align-center"><input type="checkbox" id="checkBoxList" name="checkbox" value="<?php echo $order['order_id'];?>"></td>
                     <td class="align-center"><?php echo $key + 1; ?></td>
-                    <td class="align-left"><?php echo $order['order_sn']; ?></td>
-                    <td class="align-center"><?php echo $order['mchid']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_name']; ?></td>
+                    <td class="align-center"><?php echo $order['order_sn']; ?></td>
+                    <td class="align-left"><?php echo $order['mchid']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_name']; ?></td>
                     <td class="align-left"><?php echo $order['card_no']; ?></td>
                     <td class="align-center"><?php echo $order['card_type_text']; ?></td>
                     <td class="align-center"><?php echo $order['refill_amount']; ?></td>
-                    <td class="align-right">
+                    <td class="align-center">
                     <span class="doubleclick"  data-order="<?php echo $order['order_sn'];?>">
                             <?php echo date('Y-m-d H:i:s', $order['order_time']); ?>
                         </span>
                     </td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['mtime_out'] > 180) {
                                 ?>
@@ -342,7 +342,7 @@
                             <?php echo $order['mtime_out_text'] ?>
                         <?php } ?>
                     </td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['diff_time'] > 180) {
                                 ?>
@@ -355,7 +355,7 @@
                             <?php echo $order['diff_time_text'] ?>
                         <?php } ?>
                     </td>
-                    <td class="align-right">
+                    <td class="align-center">
                         <?php if (empty($order['notify_time'])) {
                             if ($order['total_diff_time'] > 180) {
                                 ?>
@@ -369,12 +369,12 @@
                         <?php } ?>
                     </td>
                     <td class="align-center"><?php echo orderState($order); ?></td>
-                    <td class="align-left"><?php echo $order['quality_text']; ?></td>
+                    <td class="align-center"><?php echo $order['quality_text']; ?></td>
                     <td class="align-left"><?php echo $order['err_msg']; ?></td>
                     <td class="align-left"><?php echo $order['mch_order']; ?></td>
-                    <td class="align-center"><?php echo $order['mch_amount']; ?></td>
+                    <td class="align-left"><?php echo $order['mch_amount']; ?></td>
                     <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
-                    <td class="align-center"><?php echo $order['channel_name']; ?></td>
+                    <td class="align-left"><?php echo $order['channel_name']; ?></td>
                     <td class="w144 align-center">
                         <a href="index.php?act=merchant&op=notify_merchant&order_id=<?php echo $order['order_id']; ?>">
                             回调</a>

+ 20 - 20
data/config/win/refill.ini.php

@@ -3215,25 +3215,25 @@ $yiqian_phone = ['name' => 'yiqian', 'store_id' => 158,'qualitys' => '2',
 
         100 => [
 //            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7337, 'price' => 99.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         200 => [
 //            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7338, 'price' => 199.5, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         300 => [
 //            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7339, 'price' => 299.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         500 => [
 //            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7340, 'price' => 498.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinatelecom']
         ]
     ],
@@ -3490,32 +3490,32 @@ $baixuan_phone = ['name' => 'baixuan', 'store_id' => 164,'qualitys' => '1',
 //            ['goods_id' => 7391, 'price' => 19.16, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7392, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7392, 'price' => 28.86, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7392, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7392, 'price' => 28.74, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7393, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7393, 'price' => 48.1, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7393, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7393, 'price' => 48.05, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7394, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7394, 'price' => 96.2, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7394, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7394, 'price' => 96.1, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7395, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7395, 'price' => 192.4, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7395, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7395, 'price' => 192.2, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         300 => [
-            ['goods_id' => 7396, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7396, 'price' => 288.6, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7396, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7396, 'price' => 288.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         500 => [
-            ['goods_id' => 7397, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7397, 'price' => 481, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7397, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7397, 'price' => 480.5, 'quality' => 1, 'card_type' => 'chinatelecom']
         ]
@@ -3535,35 +3535,35 @@ $baixuan_normal_phone = ['name' => 'baixuan_normal', 'store_id' => 165,'qualitys
 //            ['goods_id' => 7399, 'price' => 19.06, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7400, 'price' => 28.65, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7400, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7400, 'price' => 28.53, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7400, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7401, 'price' => 47.75, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7401, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7401, 'price' => 47.55, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7401, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7402, 'price' => 95.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7402, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7402, 'price' => 95.1, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7402, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7403, 'price' => 191, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7403, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7403, 'price' => 190.2, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7403, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
-//        300 => [
-//            ['goods_id' => 7404, 'price' => 286.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        300 => [
+            ['goods_id' => 7404, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7404, 'price' => 285.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7404, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 7405, 'price' => 477.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        ],
+        500 => [
+            ['goods_id' => 7405, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7405, 'price' => 475.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7405, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 20 - 20
data/config/xyz/refill.ini.php

@@ -3215,25 +3215,25 @@ $yiqian_phone = ['name' => 'yiqian', 'store_id' => 158,'qualitys' => '2',
 
         100 => [
 //            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7337, 'price' => 99.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         200 => [
 //            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7338, 'price' => 199.5, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         300 => [
 //            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7339, 'price' => 299.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         500 => [
 //            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7340, 'price' => 498.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinatelecom']
         ]
     ],
@@ -3490,32 +3490,32 @@ $baixuan_phone = ['name' => 'baixuan', 'store_id' => 164,'qualitys' => '1',
 //            ['goods_id' => 7391, 'price' => 19.16, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7392, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7392, 'price' => 28.86, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7392, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7392, 'price' => 28.74, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7393, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7393, 'price' => 48.1, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7393, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7393, 'price' => 48.05, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7394, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7394, 'price' => 96.2, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7394, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7394, 'price' => 96.1, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7395, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7395, 'price' => 192.4, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7395, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7395, 'price' => 192.2, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         300 => [
-            ['goods_id' => 7396, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7396, 'price' => 288.6, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7396, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7396, 'price' => 288.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         500 => [
-            ['goods_id' => 7397, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7397, 'price' => 481, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7397, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7397, 'price' => 480.5, 'quality' => 1, 'card_type' => 'chinatelecom']
         ]
@@ -3535,35 +3535,35 @@ $baixuan_normal_phone = ['name' => 'baixuan_normal', 'store_id' => 165,'qualitys
 //            ['goods_id' => 7399, 'price' => 19.06, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7400, 'price' => 28.65, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7400, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7400, 'price' => 28.53, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7400, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7401, 'price' => 47.75, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7401, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7401, 'price' => 47.55, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7401, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7402, 'price' => 95.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7402, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7402, 'price' => 95.1, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7402, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7403, 'price' => 191, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7403, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7403, 'price' => 190.2, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7403, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
-//        300 => [
-//            ['goods_id' => 7404, 'price' => 286.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        300 => [
+            ['goods_id' => 7404, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7404, 'price' => 285.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7404, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 7405, 'price' => 477.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        ],
+        500 => [
+            ['goods_id' => 7405, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7405, 'price' => 475.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7405, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 20 - 20
data/config/xyzadm/refill.ini.php

@@ -3215,25 +3215,25 @@ $yiqian_phone = ['name' => 'yiqian', 'store_id' => 158,'qualitys' => '2',
 
         100 => [
 //            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7337, 'price' => 99.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7337, 'price' => 99.85, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         200 => [
 //            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7338, 'price' => 199.5, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7338, 'price' => 199.7, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         300 => [
 //            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7339, 'price' => 299.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7339, 'price' => 299.55, 'quality' => 2, 'card_type' => 'chinatelecom']
         ],
 
         500 => [
 //            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinamobile'],
-            ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinaunicom'],
+            ['goods_id' => 7340, 'price' => 498.75, 'quality' => 2, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7340, 'price' => 499.25, 'quality' => 2, 'card_type' => 'chinatelecom']
         ]
     ],
@@ -3490,32 +3490,32 @@ $baixuan_phone = ['name' => 'baixuan', 'store_id' => 164,'qualitys' => '1',
 //            ['goods_id' => 7391, 'price' => 19.16, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7392, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7392, 'price' => 28.86, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7392, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7392, 'price' => 28.74, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7393, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7393, 'price' => 48.1, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7393, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7393, 'price' => 48.05, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7394, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7394, 'price' => 96.2, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7394, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7394, 'price' => 96.1, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7395, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7395, 'price' => 192.4, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7395, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7395, 'price' => 192.2, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         300 => [
-            ['goods_id' => 7396, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7396, 'price' => 288.6, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7396, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7396, 'price' => 288.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         500 => [
-            ['goods_id' => 7397, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7397, 'price' => 481, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7397, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7397, 'price' => 480.5, 'quality' => 1, 'card_type' => 'chinatelecom']
         ]
@@ -3535,35 +3535,35 @@ $baixuan_normal_phone = ['name' => 'baixuan_normal', 'store_id' => 165,'qualitys
 //            ['goods_id' => 7399, 'price' => 19.06, 'quality' => 1, 'card_type' => 'chinatelecom']
 //        ],
         30 => [
-            ['goods_id' => 7400, 'price' => 28.65, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7400, 'price' => 28.77, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7400, 'price' => 28.53, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7400, 'price' => 28.59, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         50 => [
-            ['goods_id' => 7401, 'price' => 47.75, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7401, 'price' => 47.95, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7401, 'price' => 47.55, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7401, 'price' => 47.65, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         100 => [
-            ['goods_id' => 7402, 'price' => 95.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7402, 'price' => 95.9, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7402, 'price' => 95.1, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7402, 'price' => 95.3, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
         200 => [
-            ['goods_id' => 7403, 'price' => 191, 'quality' => 1, 'card_type' => 'chinamobile'],
+            ['goods_id' => 7403, 'price' => 191.8, 'quality' => 1, 'card_type' => 'chinamobile'],
             ['goods_id' => 7403, 'price' => 190.2, 'quality' => 1, 'card_type' => 'chinaunicom'],
             ['goods_id' => 7403, 'price' => 190.6, 'quality' => 1, 'card_type' => 'chinatelecom']
         ],
-//        300 => [
-//            ['goods_id' => 7404, 'price' => 286.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        300 => [
+            ['goods_id' => 7404, 'price' => 287.7, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7404, 'price' => 285.3, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7404, 'price' => 285.9, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ],
-//        500 => [
-//            ['goods_id' => 7405, 'price' => 477.5, 'quality' => 1, 'card_type' => 'chinamobile'],
+        ],
+        500 => [
+            ['goods_id' => 7405, 'price' => 479.5, 'quality' => 1, 'card_type' => 'chinamobile'],
 //            ['goods_id' => 7405, 'price' => 475.5, 'quality' => 1, 'card_type' => 'chinaunicom'],
 //            ['goods_id' => 7405, 'price' => 476.5, 'quality' => 1, 'card_type' => 'chinatelecom']
-//        ]
+        ]
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 

+ 5 - 0
data/model/card_info.model.php

@@ -142,4 +142,9 @@ class card_infoModel extends Model
     {
         return $this->where($cond)->update(['black' => 0]);
     }
+
+    public function UpdateCardState($card_no, $card_state)
+    {
+        return $this->where(['card_no' => $card_no])->update(['card_state' => $card_state]);
+    }
 }

+ 6 - 4
helper/refill/api/xyz/baixuan_normal/config.php

@@ -15,10 +15,12 @@ class config
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_baixuan_normal.php";
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [
-            30  => 100007,
-            50  => 100008,
-            100 => 100009,
-            200 => 100010
+            30  => 100067,
+            50  => 100025,
+            100 => 100026,
+            200 => 100027,
+            300 => 100028,
+            500 => 100029
         ],
         mtopcard\ChinaUnicomCard => [
             30  => 100011,

+ 6 - 4
helper/refill/api/xyz/baixuan_normal/商品编码.txt

@@ -1,7 +1,9 @@
-移动30          100007
-移动50          100008
-移动100         100009
-移动200         100010
+高价移动30         100067
+高价移动50         100025
+高价移动100        100026
+高价移动200        100027
+高价移动300        100028
+高价移动500        100029
 
 联通30          100011
 联通50          100012

BIN
helper/refill/api/xyz/guochuang/20211216吉林移动调价函.png


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

@@ -73,7 +73,7 @@ class config
         "4-10-5" => 9.99, "4-20-5" => 19.98, "4-30-5" => 29.97, "4-50-5" => 49.95, "4-100-5" => 100.2, "4-200-5" => 200.4, "4-300-5" => 300.6, "4-500-5" => 501,//内蒙古 5
         "4-30-18" => 29.835, "4-50-18" => 49.725, "4-100-18" => 99.45, "4-200-18" => 198.3,//湖南 18
         "4-10-19" => 9.965, "4-20-19" => 19.93, "4-30-19" => 29.895, "4-50-19" => 49.825, "4-100-19" => 99.65, "4-200-19" => 199.3, "4-300-19" => 298.95, "4-500-19" => 498.25,//广东 19
-        "4-10-7" => 9.885, "4-20-7" => 19.77, "4-30-7" => 29.655, "4-50-7" => 49.425, "4-100-7" => 98.85, "4-200-7" => 197.7, "4-300-7" => 296.55, "4-500-7" => 494.25,//吉林 7
+        "4-10-7" => 9.82, "4-20-7" => 19.64, "4-30-7" => 29.46, "4-50-7" => 49.1, "4-100-7" => 98.2, "4-200-7" => 196.4, "4-300-7" => 294.6, "4-500-7" => 491,//吉林 7
         "4-10-1" => 10.31, "4-20-1" => 20.32, "4-30-1" => 30.33, "4-50-1" => 50.35, "4-100-1" => 100.4, "4-200-1" => 200.3, "4-300-1" => 300.45, "4-500-1" => 500.75,//北京 1
         "4-10-22" => 10.015, "4-20-22" => 20.03, "4-30-22" => 30.045, "4-50-22" => 50.075, "4-100-22" => 100.15, "4-200-22" => 200.3, "4-300-22" => 300.45, "4-500-22" => 500.75,//重庆 22
         "4-10-15" => 9.945, "4-20-15" => 19.89, "4-30-15" => 29.835, "4-50-15" => 49.725, "4-100-15" => 99.45, "4-200-15" => 198.9, "4-300-15" => 298.35, "4-500-15" => 497.25,//山东 15