瀏覽代碼

add cur_quality to find_quality

stanley-king 3 年之前
父節點
當前提交
9f6f096b55
共有 2 個文件被更改,包括 0 次插入3 次删除
  1. 0 1
      helper/mtopcard/mtopcard.php
  2. 0 2
      helper/refill/RefillBase.php

+ 0 - 1
helper/mtopcard/mtopcard.php

@@ -3,7 +3,6 @@
 namespace mtopcard;
 
 use Log;
-use PHPUnit\SebastianBergmann\Type\UnknownType;
 
 #用户卡的类型
 const UnknownCard = 0;

+ 0 - 2
helper/refill/RefillBase.php

@@ -170,12 +170,10 @@ class RefillBase
         $card_type = intval($refill_info['card_type']);
         $org_quality = intval($refill_info['org_quality']);
         $cur_quality = intval($refill_info['quality']); //从数据库中读取的字段。
-
         $used_time = time() - intval($refill_info['order_time']);
         $commit_times = intval($refill_info['commit_times']);
         $regin_no = $refill_info['regin_no'];
 
-
         //三方充值,不做重试
         if($card_type == mtopcard\ThirdRefillCard) {
             return [false,null];